mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-25 17:56:32 +00:00
LaTeX reader: support \chaptername, \partname, \abstractname, etc.
See #3559. Obsoletes #3560.
This commit is contained in:
@@ -1251,6 +1251,26 @@ inlineCommands = M.fromList $
|
||||
mkImage options src)
|
||||
, ("enquote", enquote)
|
||||
, ("figurename", doTerm Translations.Figure)
|
||||
, ("prefacename", doTerm Translations.Preface)
|
||||
, ("refname", doTerm Translations.References)
|
||||
, ("bibname", doTerm Translations.Bibliography)
|
||||
, ("chaptername", doTerm Translations.Chapter)
|
||||
, ("partname", doTerm Translations.Part)
|
||||
, ("contentsname", doTerm Translations.Contents)
|
||||
, ("listfigurename", doTerm Translations.ListOfFigures)
|
||||
, ("listtablename", doTerm Translations.ListOfTables)
|
||||
, ("indexname", doTerm Translations.Index)
|
||||
, ("abstractname", doTerm Translations.Abstract)
|
||||
, ("tablename", doTerm Translations.Table)
|
||||
, ("enclname", doTerm Translations.Encl)
|
||||
, ("ccname", doTerm Translations.Cc)
|
||||
, ("headtoname", doTerm Translations.To)
|
||||
, ("pagename", doTerm Translations.Page)
|
||||
, ("seename", doTerm Translations.See)
|
||||
, ("seealsoname", doTerm Translations.SeeAlso)
|
||||
, ("proofname", doTerm Translations.Proof)
|
||||
, ("glossaryname", doTerm Translations.Glossary)
|
||||
, ("lstlistingname", doTerm Translations.Listing)
|
||||
, ("cite", citation "cite" NormalCitation False)
|
||||
, ("Cite", citation "Cite" NormalCitation False)
|
||||
, ("citep", citation "citep" NormalCitation False)
|
||||
|
||||
Reference in New Issue
Block a user