]> git.lyx.org Git - features.git/commitdiff
Fix babel quoting for Spanish
authorScott Kostyshak <skostysh@lyx.org>
Fri, 29 Sep 2023 14:25:46 +0000 (10:25 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Fri, 29 Sep 2023 14:30:34 +0000 (10:30 -0400)
The problem, described by Udi, was the following:

  See section 1.10 of babel's manual, on page 12 under
  "TROUBLESHOOTING". There cannot be
  a closing curly brace after a shorthand, and in babel-spanish
  ">" is a shorthand.

Thanks to Udi and Jürgen for the patch.

This is a more general fix than the (now reverted) fix at fa67f709.

For ML discussion, see here:

  https://www.mail-archive.com/search?l=mid&q=rwwvyyvwmx5wwvwhqdaioil32hblkzi7ghokzgekksrf66ww3f%40u6nj3guoayay

lib/languages

index 315707742b49b8750faa4a7e269497cd369f052a..a027a430b8bdf36264ae086acabf68244695edde 100644 (file)
@@ -1438,6 +1438,7 @@ Language spanish
        LangCode         es_ES
        PostBabelPreamble
        \addto\shorthandsspanish{\spanishdeactivate{~<>}}
+       \deactivatequoting
        EndPostBabelPreamble
 End
 
@@ -1454,6 +1455,7 @@ Language spanish-mexico
        LangCode         es_MX
        PostBabelPreamble
        \addto\shorthandsspanish{\spanishdeactivate{~<>.}}
+       \deactivatequoting
        EndPostBabelPreamble
 End