LaTeX Reader: Add KOMA-Script metadata commands (#5910)

Add all titling commands to existing definition for `\dedication`.
This commit is contained in:
Andrew Dunning 2019-11-15 16:45:18 +00:00 committed by John MacFarlane
parent e8de53ce4a
commit 6c1692ea22

View file

@ -1798,7 +1798,14 @@ blockCommands = M.fromList
, ("address", mempty <$ (skipopts *> tok >>= addMeta "address"))
, ("signature", mempty <$ (skipopts *> authors))
, ("date", mempty <$ (skipopts *> tok >>= addMeta "date"))
-- Koma-script metadata commands
-- KOMA-Script metadata commands
, ("extratitle", mempty <$ (skipopts *> tok >>= addMeta "extratitle"))
, ("frontispiece", mempty <$ (skipopts *> tok >>= addMeta "frontispiece"))
, ("titlehead", mempty <$ (skipopts *> tok >>= addMeta "titlehead"))
, ("subject", mempty <$ (skipopts *> tok >>= addMeta "subject"))
, ("publishers", mempty <$ (skipopts *> tok >>= addMeta "publishers"))
, ("uppertitleback", mempty <$ (skipopts *> tok >>= addMeta "uppertitleback"))
, ("lowertitleback", mempty <$ (skipopts *> tok >>= addMeta "lowertitleback"))
, ("dedication", mempty <$ (skipopts *> tok >>= addMeta "dedication"))
-- sectioning
, ("part", section nullAttr (-1))