Support "pagetotal" in converting BibLaTeX.

This commit is contained in:
John MacFarlane
2024-02-07 08:15:47 -08:00
parent 5fb0244fa3
commit e81a60fdf2
+3
View File
@@ -147,6 +147,7 @@ writeBibtexString opts variant mblang ref =
, "volumes"
, "number"
, "pages"
, "pagetotal"
, "version"
, "date"
, "eventdate"
@@ -327,6 +328,8 @@ writeBibtexString opts variant mblang ref =
getContentsFor "year" = getVariable "issued" >>= getYear
getContentsFor "month" = getVariable "issued" >>= getMonth
getContentsFor "pages" = getVariable "page" >>= toLaTeX . valToInlines
getContentsFor "pagetotal" = getVariable "number-of-pages"
>>= toLaTeX . valToInlines
getContentsFor "langid" = getVariable "language" >>= toLaTeX . valToInlines
getContentsFor "number" = (getVariable "number"
<|> getVariable "collection-number"