From c40857b38905b9ea298a777354eb4cb0da2213c6 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 16 Oct 2017 22:03:57 -0700 Subject: 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. --- pandoc.cabal | 1 + 1 file changed, 1 insertion(+) (limited to 'pandoc.cabal') diff --git a/pandoc.cabal b/pandoc.cabal index 481e5d076..31cabd52e 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -148,6 +148,7 @@ extra-source-files: test/command/3510-subdoc.org test/command/3510-export.latex test/command/3510-src.hs + test/command/3971b.tex test/docbook-reader.docbook test/docbook-xref.docbook test/html-reader.html -- cgit v1.2.3