diff options
author | Andrew Dunning <adunning@users.noreply.github.com> | 2019-03-04 20:47:42 -0500 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-03-04 18:47:42 -0700 |
commit | 186b50e26383ad89132f0bf7630d1c8b924ca04e (patch) | |
tree | 41d3e9ce0ce1dd8fa03d96bc25f6f5c51099a531 /src/Text/Pandoc/Writers | |
parent | d7f56f818972d3dbe218343caa0222a8912877c3 (diff) | |
download | pandoc-186b50e26383ad89132f0bf7630d1c8b924ca04e.tar.gz |
LaTeX writer: Add classes for frontmatter support (#5353)
Remove frontmatter from scrreprt
The KOMA-Script `scrreprt` class follows the pattern of `report`, and does not support `\frontmatter`.
Use frontmatter for more classes
Diffstat (limited to 'src/Text/Pandoc/Writers')
-rw-r--r-- | src/Text/Pandoc/Writers/LaTeX.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Writers/LaTeX.hs b/src/Text/Pandoc/Writers/LaTeX.hs index 0c9f37dc7..87b161874 100644 --- a/src/Text/Pandoc/Writers/LaTeX.hs +++ b/src/Text/Pandoc/Writers/LaTeX.hs @@ -137,8 +137,8 @@ pandocToLaTeX options (Pandoc meta blocks) = do (fmap render' . blockListToLaTeX) (fmap render' . inlineListToLaTeX) meta - let chaptersClasses = ["memoir","book","report","scrreprt","scrbook"] - let frontmatterClasses = ["memoir","book","scrreprt","scrbook"] + let chaptersClasses = ["memoir","book","report","scrreprt","scrbook","extreport","extbook","tufte-book"] + let frontmatterClasses = ["memoir","book","scrbook","extbook","tufte-book"] -- these have \frontmatter etc. beamer <- gets stBeamer let documentClass = |