aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-03-30 09:59:54 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2016-03-30 09:59:54 -0700
commit676b800993fffcc0e2ba44c88cfb6d552a37a136 (patch)
tree529bb3e6bf9e02d6e1f91bc73cc7d0e576276575 /src/Text
parent32ecd195bda8af679464361f541a333d03656dc0 (diff)
parent0c37a7c4881fd5018fd5b60588c9899b11bbb86a (diff)
downloadpandoc-676b800993fffcc0e2ba44c88cfb6d552a37a136.tar.gz
Merge pull request #2828 from adunning/patch-1
Recognize `la-x-classic` as Classical Latin.
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Writers/LaTeX.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Writers/LaTeX.hs b/src/Text/Pandoc/Writers/LaTeX.hs
index 693de93fa..9526333c1 100644
--- a/src/Text/Pandoc/Writers/LaTeX.hs
+++ b/src/Text/Pandoc/Writers/LaTeX.hs
@@ -1153,6 +1153,7 @@ toPolyglossia ("en":"UK":_) = ("english", "variant=british")
toPolyglossia ("en":"US":_) = ("english", "variant=american")
toPolyglossia ("grc":_) = ("greek", "variant=ancient")
toPolyglossia ("hsb":_) = ("usorbian", "")
+toPolyglossia ("la":"x-classic":_) = ("latin", "variant=classic")
toPolyglossia ("sl":_) = ("slovenian", "")
toPolyglossia x = (commonFromBcp47 x, "")
@@ -1177,6 +1178,7 @@ toBabel ("fr":"CA":_) = "canadien"
toBabel ("fra":"aca":_) = "acadian"
toBabel ("grc":_) = "polutonikogreek"
toBabel ("hsb":_) = "uppersorbian"
+toBabel ("la":"x-classic":_) = "classiclatin"
toBabel ("sl":_) = "slovene"
toBabel x = commonFromBcp47 x