git.iko.soy/typeable/pandoc
on master help sign in
LaTeX Reader: Add KOMA-Script metadata commands (#5910)

Add all titling commands to existing definition for `\dedication`.

commit6c1692ea2271446caba6e95d43aeee6db805e3ce authorAndrew Dunning <adunning@users.noreply.github.com> dateFri 15 Nov 2019, 16:45 (7 years ago) parente8de53c
1 file changed+8−1
src/Text/Pandoc/Readers/LaTeX.hs+8−1
src/Text/Pandoc/Readers/LaTeX.hs+8−1
@@ -1798,7 +1798,14 @@ blockCommands = M.fromList
17981798 , ("address", mempty <$ (skipopts *> tok >>= addMeta "address"))
17991799 , ("signature", mempty <$ (skipopts *> authors))
18001800 , ("date", mempty <$ (skipopts *> tok >>= addMeta "date"))
1801− -- Koma-script metadata commands
1801+ -- KOMA-Script metadata commands
1802+ , ("extratitle", mempty <$ (skipopts *> tok >>= addMeta "extratitle"))
1803+ , ("frontispiece", mempty <$ (skipopts *> tok >>= addMeta "frontispiece"))
1804+ , ("titlehead", mempty <$ (skipopts *> tok >>= addMeta "titlehead"))
1805+ , ("subject", mempty <$ (skipopts *> tok >>= addMeta "subject"))
1806+ , ("publishers", mempty <$ (skipopts *> tok >>= addMeta "publishers"))
1807+ , ("uppertitleback", mempty <$ (skipopts *> tok >>= addMeta "uppertitleback"))
1808+ , ("lowertitleback", mempty <$ (skipopts *> tok >>= addMeta "lowertitleback"))
18021809 , ("dedication", mempty <$ (skipopts *> tok >>= addMeta "dedication"))
18031810 -- sectioning
18041811 , ("part", section nullAttr (-1))