aboutsummaryrefslogtreecommitdiff
path: root/test/writers-lang-and-dir.latex
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-03-04 11:28:24 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2019-03-04 11:29:41 -0800
commitebdcf752760aeb9c8f207fd17a28ae1a2fd945cf (patch)
tree1d8d4b953eb9646a36a57c1a73fa1477e2cdf2ec /test/writers-lang-and-dir.latex
parent1de644783c6ae8c73c08ab428400caeb307ef90a (diff)
downloadpandoc-ebdcf752760aeb9c8f207fd17a28ae1a2fd945cf.tar.gz
LaTeX writer/template: better handling of front/main/backmatter.
In pandoc 2.7 we assumed that every class with chapters would accept `\frontmatter`, `\mainmatter`, and `\backmatter`. This is not so (e.g. report does not). So pandoc 2.7 breaks on report class by including an unsupported command. So we replace the book-class variable in the template with two variables, has-chapters and has-frontmatter, and set these intelligently in the writer. Closes #5348.
Diffstat (limited to 'test/writers-lang-and-dir.latex')
0 files changed, 0 insertions, 0 deletions