From cc66c755938a19e124e4352f3623639de2497e1a Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Fri, 29 Sep 2023 10:23:26 -0400 Subject: [PATCH 1/2] Revert "Fix compilation of es/Letter standard class" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fix hardcoded a language package and was specific to this document. The next commit will introduce a better fix, thanks to Udi and Jürgen. This reverts commit fa67f70992da5f7c6cb0958d557993d6c0750534. --- lib/templates/es/Letters/Letter_%28Standard_Class%29.lyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/templates/es/Letters/Letter_%28Standard_Class%29.lyx b/lib/templates/es/Letters/Letter_%28Standard_Class%29.lyx index 2af7c2d450..24767f8b0d 100644 --- a/lib/templates/es/Letters/Letter_%28Standard_Class%29.lyx +++ b/lib/templates/es/Letters/Letter_%28Standard_Class%29.lyx @@ -8,7 +8,7 @@ \use_default_options false \maintain_unincluded_children no \language spanish -\language_package \usepackage[spanish,es-noquoting]{babel} +\language_package default \inputencoding utf8 \fontencoding auto \font_roman "default" "default" From d937afba8aaf846deaa0ef3bb67b9622359bfe18 Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Fri, 29 Sep 2023 10:25:46 -0400 Subject: [PATCH 2/2] Fix babel quoting for Spanish MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 file changed, 2 insertions(+) diff --git a/lib/languages b/lib/languages index 315707742b..a027a430b8 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