Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Improved handling of include files in LaTeX reader. | John MacFarlane | 2017-10-16 |
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. |