diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2019-03-04 11:28:24 -0800 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2019-03-04 11:29:41 -0800 |
| commit | ebdcf752760aeb9c8f207fd17a28ae1a2fd945cf (patch) | |
| tree | 1d8d4b953eb9646a36a57c1a73fa1477e2cdf2ec /test/tables.asciidoc | |
| parent | 1de644783c6ae8c73c08ab428400caeb307ef90a (diff) | |
| download | pandoc-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/tables.asciidoc')
0 files changed, 0 insertions, 0 deletions
