aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/TeXMath.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-05-03 15:15:04 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-05-03 17:37:54 -0700
commit743dac493fab08abdec59feb7bd57030a3ba5c90 (patch)
tree7a073508d05708050151a133deeda63c8831d2d1 /src/Text/Pandoc/Readers/TeXMath.hs
parent4c4382420356928d73026395d4ab2f0f9957df08 (diff)
downloadpandoc-743dac493fab08abdec59feb7bd57030a3ba5c90.tar.gz
LaTeX reader: Better error messages with include files.
Closes #1274. Rewrote handleIncludes. We now report the actual source file and position where the error occurs, even if it is included. We do this by inserting special commands, `\PandocStartInclude` and `\PandocEndInclude`, that encode this information in the preprocessing phase. Also generalized the types of a couple functions from `Text.Pandoc.Parsing`.
Diffstat (limited to 'src/Text/Pandoc/Readers/TeXMath.hs')
0 files changed, 0 insertions, 0 deletions