From 97c14ca8cd93d2f8215db410213e09060116073c Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 5 Sep 2019 15:05:06 +0200 Subject: [PATCH] ox-latex: Fix Brazilian entry in Polyglossia languages * lisp/ox-latex.el (org-latex-polyglossia-language-alist): Fix Brazilian entry. Sort lines. --- lisp/ox-latex.el | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el index 4582ab9ea..75e6d1ecb 100644 --- a/lisp/ox-latex.el +++ b/lisp/ox-latex.el @@ -211,13 +211,12 @@ (defconst org-latex-polyglossia-language-alist '(("am" "amharic") - ("ast" "asturian") ("ar" "arabic") - ("bo" "tibetan") - ("bn" "bengali") + ("ast" "asturian") ("bg" "bulgarian") + ("bn" "bengali") + ("bo" "tibetan") ("br" "breton") - ("bt-br" "brazilian") ("ca" "catalan") ("cop" "coptic") ("cs" "czech") @@ -226,6 +225,7 @@ ("de" "german" "german") ("de-at" "german" "austrian") ("de-de" "german" "german") + ("dsb" "lsorbian") ("dv" "divehi") ("el" "greek") ("en" "english" "usmax") @@ -247,40 +247,40 @@ ("he" "hebrew") ("hi" "hindi") ("hr" "croatian") + ("hsb" "usorbian") ("hu" "magyar") ("hy" "armenian") - ("id" "bahasai") ("ia" "interlingua") + ("id" "bahasai") ("is" "icelandic") ("it" "italian") ("kn" "kannada") ("la" "latin" "modern") - ("la-modern" "latin" "modern") ("la-classic" "latin" "classic") ("la-medieval" "latin" "medieval") + ("la-modern" "latin" "modern") ("lo" "lao") ("lt" "lithuanian") ("lv" "latvian") - ("mr" "maranthi") ("ml" "malayalam") - ("nl" "dutch") + ("mr" "maranthi") ("nb" "norsk") - ("nn" "nynorsk") ("nko" "nko") + ("nl" "dutch") + ("nn" "nynorsk") ("no" "norsk") ("oc" "occitan") ("pl" "polish") ("pms" "piedmontese") ("pt" "portuges") + ("pt-br" "brazilian") ("rm" "romansh") ("ro" "romanian") ("ru" "russian") ("sa" "sanskrit") - ("hsb" "usorbian") - ("dsb" "lsorbian") + ("se" "samin") ("sk" "slovak") ("sl" "slovenian") - ("se" "samin") ("sq" "albanian") ("sr" "serbian") ("sv" "swedish") @@ -295,8 +295,6 @@ ("vi" "vietnamese")) "Alist between language code and corresponding Polyglossia option") - - (defconst org-latex-table-matrix-macros '(("bordermatrix" . "\\cr") ("qbordermatrix" . "\\cr") ("kbordermatrix" . "\\\\"))