diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-10-16 22:03:57 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-10-16 22:05:34 -0700 |
commit | c40857b38905b9ea298a777354eb4cb0da2213c6 (patch) | |
tree | cb5c453d2fcb5cfada4fa7c8aeb94205080afc74 /data/templates | |
parent | 9cf9a64923c672fafd1458bda6f643ada83e2b1e (diff) | |
download | pandoc-c40857b38905b9ea298a777354eb4cb0da2213c6.tar.gz |
Improved handling of include files in LaTeX reader.
Previously `\include` wouldn't work if the included file
contained, e.g., a begin without a matching end.
We've changed the Tok type so that it stores a full SourcePos,
rather than just a line and column. So tokens keeep track
of the file they came from. This allows us to use a simpler
method for includes, which doesn't require parsing the included
document as a whole.
Closes #3971.
Diffstat (limited to 'data/templates')
0 files changed, 0 insertions, 0 deletions