diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-03-13 22:11:10 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-03-13 22:11:10 +0100 |
commit | 6bf3f89d69f96f043f63600e199e53c8cfac680c (patch) | |
tree | 2a3e2d01afd2d1fb610c460680b799e66acaa274 /test/writer.fb2 | |
parent | d5086e7bd77e62dbdb6256c7586c7aed0c614d38 (diff) | |
download | pandoc-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/writer.fb2')
0 files changed, 0 insertions, 0 deletions