diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-02-12 17:45:05 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-02-12 19:04:14 -0800 |
commit | d9322629a36ad50035912ee56df876c345039225 (patch) | |
tree | ae812c21c13405cbf81fa71870004aee7ae9db6b /Makefile | |
parent | 3be066b7d308ca7f103c7fabd80238b350bf4f94 (diff) | |
download | pandoc-d9322629a36ad50035912ee56df876c345039225.tar.gz |
LaTeX reader improvements.
* Rewrote `withRaw` so it doesn't rely on fragile assumptions
about token positions (which break when macros are expanded).
This requires the addition of `sEnableWithRaw` and `sRawTokens`
in `LaTeXState`, and a new combinator `disablingWithRaw` to
disable collecting of raw tokens in certain contexts.
* Add `parseFromToks` to T.P.Readers.LaTeX.Parsing.
* Fix parsing of single character tokens so it doesn't mess
up the new raw token collecting.
* These changes slightly increase allocations and have a small
performance impact, but it's minor.
Closes #7092.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions