X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flanguages;h=1022f3cdbe77db226af5ca63373deecd8733587b;hb=4b95c7b2a35a9f52adefe0fd17da8d2fea38650a;hp=5d7cdd6a1fac2fcd950847e96b1a376fc3728f62;hpb=837869452ad8d917615aa4bca77402dc49ba094e;p=lyx.git diff --git a/lib/languages b/lib/languages index 5d7cdd6a1f..1022f3cdbe 100644 --- a/lib/languages +++ b/lib/languages @@ -10,7 +10,7 @@ # PolyglossiaName # PolyglossiaOpts "" # Encoding -# QuoteStyle +# QuoteStyle # InternalEncoding # RTL # AsBabelOptions @@ -26,10 +26,20 @@ # End # # -# NOTE: +# NOTES: # # * Omitted elements will be treated as empty (if string) or "false" # (if boolean). +# * The QuoteStyle arguments correspond to the following styles: +# - danish: >>text<< >text< (inward guillemets) +# - english: ``text'' `text' (66_99) +# - french: <> (outward guillemets) +# - german: ,,text`` ,text` (99/66) +# - polish: ,,text'' ,text' (99/99) +# - swedish: ''text'' 'text' (99_99) +# Note that the option names have been selected (rather arbitrarily) +# because the respective styles are common in the respective countries. +# Of course this does not imply any fixed relation to those countries. # * Encoding is not relevant for XeTeX (which is utf8 always), and if # Document > Settings > Language > Encoding is not set to "Language # Default" @@ -134,6 +144,7 @@ Language arabic_arabi QuoteStyle french Encoding cp1256 RTL true + AsBabelOptions true LangCode ar_SA End @@ -199,6 +210,9 @@ Language basque QuoteStyle french Encoding iso8859-15 LangCode eu_ES + PostBabelPreamble + \addto\extrasbasque{\bbl@deactivate{~}} + EndPostBabelPreamble End # not yet supported by polyglossia @@ -377,6 +391,9 @@ Language estonian QuoteStyle polish Encoding iso8859-15 LangCode et_EE + PostBabelPreamble + \addto\extrasestonian{\bbl@deactivate{~}} + EndPostBabelPreamble End # the preamble definitions are only used due to bugs in the @@ -426,6 +443,9 @@ Language galician QuoteStyle french Encoding iso8859-15 LangCode gl_ES + PostBabelPreamble + \addto\shorthandsgalician{\galiciandeactivate{~}} + EndPostBabelPreamble End # german does not use a country code (due to the variety)