diff options
| author | John MacFarlane <[email protected]> | 2022-11-25 08:59:33 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2022-11-25 08:59:33 -0700 |
| commit | f53ab3ca8c80dea5ea300d232bbc6bb4501a64a4 (patch) | |
| tree | 0b68fc398cc0a45c7bd8469ebbef548d3ea58285 | |
| parent | fb5da4a8c62930a7a3a3e4f4dd860a183cfed937 (diff) | |
LaTeX reader: Add `unnumbered` class for `\part*`.
Closes #8447.
| -rw-r--r-- | src/Text/Pandoc/Readers/LaTeX.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs index 1fbe9b3c8..72e018a3f 100644 --- a/src/Text/Pandoc/Readers/LaTeX.hs +++ b/src/Text/Pandoc/Readers/LaTeX.hs @@ -924,7 +924,7 @@ blockCommands = M.fromList , ("dedication", mempty <$ (skipopts *> tok >>= addMeta "dedication")) -- sectioning , ("part", section nullAttr (-1)) - , ("part*", section nullAttr (-1)) + , ("part*", section ("",["unnumbered"],[]) (-1)) , ("chapter", section nullAttr 0) , ("chapter*", section ("",["unnumbered"],[]) 0) , ("section", section nullAttr 1) |
