Fix babel quoting for Spanish

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
This commit is contained in:
Scott Kostyshak 2023-09-29 10:25:46 -04:00
parent cc66c75593
commit d937afba8a

View 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