[LyX/master] Fix babel quoting for Spanish

Scott Kostyshak skostysh at lyx.org
Fri Sep 29 13:13:45 UTC 2023


commit d937afba8aaf846deaa0ef3bb67b9622359bfe18
Author: Scott Kostyshak <skostysh at lyx.org>
Date:   Fri Sep 29 10:25:46 2023 -0400

    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
---
 lib/languages |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/lib/languages b/lib/languages
index 3157077..a027a43 100644
--- a/lib/languages
+++ b/lib/languages
@@ -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
 


More information about the lyx-cvs mailing list