aboutsummaryrefslogtreecommitdiff
path: root/test/Tests/Readers
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-03-13 22:11:10 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-03-13 22:11:10 +0100
commit6bf3f89d69f96f043f63600e199e53c8cfac680c (patch)
tree2a3e2d01afd2d1fb610c460680b799e66acaa274 /test/Tests/Readers
parentd5086e7bd77e62dbdb6256c7586c7aed0c614d38 (diff)
downloadpandoc-6bf3f89d69f96f043f63600e199e53c8cfac680c.tar.gz
Better handling of \part in LaTeX.
Closes #1905. Removed stateChapters from ParserState. Now we parse chapters as level 0 headers, and parts as level -1 headers. After parsing, we check for the lowest header level, and if it's less than 1 we bump everything up so that 1 is the lowest header level. So `\part` will always produce a header; no command-line options are needed.
Diffstat (limited to 'test/Tests/Readers')
0 files changed, 0 insertions, 0 deletions