[LyX/master] Amend ddc5fed0ad00a3

2023-12-05 Thread Juergen Spitzmueller
commit 4723f8e7549723bafb03c6d60999d4c03f046391
Author: Juergen Spitzmueller 
Date:   Tue Dec 5 18:36:04 2023 +0100

Amend ddc5fed0ad00a3

*facepalm*
---
 lib/layouts/hanging.module |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/layouts/hanging.module b/lib/layouts/hanging.module
index c1bb258..1654166 100644
--- a/lib/layouts/hanging.module
+++ b/lib/layouts/hanging.module
@@ -27,7 +27,7 @@ Style Hanging
 \IfFileExists{hanging.sty}{
   % Disable all character activation, as this interferes
   % with other packages and some languages
-  \PassOptionsToPackage{hanging}{%
+  \PassOptionsToPackage{%
   notcomma,
   notperiod,
   notquote,
@@ -35,7 +35,7 @@ Style Hanging
   notexcl,
   notcolon,
   notscolon
-  }
+  }{hanging}
   \usepackage{hanging}
   \newenvironment{hangparagraphs}
 {%
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs


[LyX/master] Fix pt_BR.po escapes

2023-12-05 Thread Scott Kostyshak
commit ea37ee23d3e8ad6614d21ffc417bef63f656aabf
Author: Scott Kostyshak 
Date:   Tue Dec 5 11:24:00 2023 -0500

Fix pt_BR.po escapes

We need to use two backslashes for "\\arabic".

This fixes instances of the following warning:

  warning: internationalized messages should not contain the '\a'
  escape sequence

Amends a82ea09a.
---
 po/pt_BR.po |   34 +-
 1 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/po/pt_BR.po b/po/pt_BR.po
index 1e534bf..44feff9 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -12080,7 +12080,7 @@ msgstr "Definição \\arabic{theorem}"
 
 #: lib/layouts/elsart.layout:463 lib/layouts/theorems-counters-bytype.inc:26
 msgid "Conjecture \\arabic{theorem}"
-msgstr "Conjetura \arabic{theorem}"
+msgstr "Conjetura \\arabic{theorem}"
 
 #: lib/layouts/elsart.layout:475 lib/layouts/theorems-counters-bytype.inc:39
 msgid "Example \\arabic{theorem}"
@@ -15830,7 +15830,7 @@ msgstr "Seção ##"
 
 #: lib/layouts/numreport.inc:46
 msgid "footnote \\arabic{footnote}"
-msgstr "nota de rodapé \arabic{footnote}"
+msgstr "nota de rodapé \\arabic{footnote}"
 
 #: lib/layouts/numrevtex.inc:9
 msgid "\\Roman{section}."
@@ -16794,7 +16794,7 @@ msgstr "\\thesection.\\arabic{equation}"
 
 #: lib/layouts/scrbook.layout:33
 msgid "equation \\thechapter.\\arabic{equation}"
-msgstr "equação \\thechapter.\arabic{equation}"
+msgstr "equação \\thechapter.\\arabic{equation}"
 
 #: lib/layouts/scrclass.inc:49
 msgid "\\alph{enumii})"
@@ -17531,7 +17531,7 @@ msgstr "Equação ##"
 
 #: lib/layouts/stdcounters.inc:91 lib/layouts/stdcounters.inc:96
 msgid "Footnote \\arabic{footnote}"
-msgstr "Nota de rodapé \arabic{footnote}"
+msgstr "Nota de rodapé \\arabic{footnote}"
 
 #: lib/layouts/stdcounters.inc:97
 msgid "\\fnsymbol{thanks}"
@@ -18538,7 +18538,7 @@ msgstr "Caso (Nível 1)"
 
 #: lib/layouts/theorems-case.inc:13
 msgid "Case \\arabic{casei}"
-msgstr "Caso \arabic{casei}"
+msgstr "Caso \\arabic{casei}"
 
 #: lib/layouts/theorems-case.inc:14
 msgid "Case \\arabic{casei}."
@@ -18566,7 +18566,7 @@ msgstr "Caso \\alph{caseiii}."
 
 #: lib/layouts/theorems-case.inc:26
 msgid "Case \\alph{caseiii}"
-msgstr "Caso \alph{caseiii}"
+msgstr "Caso \\alph{caseiii}"
 
 #: lib/layouts/theorems-case.inc:29
 msgid "Case (Level 4)"
@@ -18574,7 +18574,7 @@ msgstr "Caso (Nível 4)"
 
 #: lib/layouts/theorems-case.inc:31
 msgid "Case \\arabic{caseiv}"
-msgstr "Caso \arabic{caseiv}"
+msgstr "Caso \\arabic{caseiv}"
 
 #: lib/layouts/theorems-case.inc:32
 msgid "Case \\arabic{caseiv}."
@@ -18615,43 +18615,43 @@ msgstr ""
 
 #: lib/layouts/theorems-counters-bytype.inc:30
 msgid "Fact \\arabic{theorem}"
-msgstr "Fato \arabic{theorem}"
+msgstr "Fato \\arabic{theorem}"
 
 #: lib/layouts/theorems-counters-bytype.inc:48
 msgid "Exercise \\arabic{theorem}"
-msgstr "Exercício \arabic{theorem}"
+msgstr "Exercício \\arabic{theorem}"
 
 #: lib/layouts/theorems-counters-bytype.inc:53
 msgid "Solution \\arabic{theorem}"
-msgstr "Solução \arabic{theorem}"
+msgstr "Solução \\arabic{theorem}"
 
 #: lib/layouts/theorems-counters-extended-bytype.inc:16
 msgid "Axiom \\arabic{theorem}"
-msgstr "Axioma \arabic{theorem}"
+msgstr "Axioma \\arabic{theorem}"
 
 #: lib/layouts/theorems-counters-extended-bytype.inc:20
 msgid "Condition \\arabic{theorem}"
-msgstr "Condição \arabic{theorem}"
+msgstr "Condição \\arabic{theorem}"
 
 #: lib/layouts/theorems-counters-extended-bytype.inc:28
 msgid "Notation \\arabic{theorem}"
-msgstr "Notação \arabic{theorem}"
+msgstr "Notação \\arabic{theorem}"
 
 #: lib/layouts/theorems-counters-extended-bytype.inc:32
 msgid "Summary \\arabic{theorem}"
-msgstr "Resumo \arabic{theorem}"
+msgstr "Resumo \\arabic{theorem}"
 
 #: lib/layouts/theorems-counters-extended-bytype.inc:36
 msgid "Conclusion \\arabic{theorem}"
-msgstr "Afirmação \arabic{theorem}"
+msgstr "Afirmação \\arabic{theorem}"
 
 #: lib/layouts/theorems-counters-extended-bytype.inc:40
 msgid "Assumption \\arabic{theorem}"
-msgstr "Suposição \arabic{theorem}"
+msgstr "Suposição \\arabic{theorem}"
 
 #: lib/layouts/theorems-counters-extended-bytype.inc:44
 msgid "Question \\arabic{theorem}"
-msgstr "Pergunta \arabic{theorem}"
+msgstr "Pergunta \\arabic{theorem}"
 
 #: lib/layouts/theorems-named.module:3
 msgid "Standard Theorems (Nameable)"
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs


[LyX/master] Omit character activation with hanging package

2023-12-05 Thread Juergen Spitzmueller
commit ddc5fed0ad00a31d6a6df93c0def3e0da22d74eb
Author: Juergen Spitzmueller 
Date:   Tue Dec 5 17:07:10 2023 +0100

Omit character activation with hanging package

We do not use this feature anyway, and it breaks with other packages/
languages that activate characters
---
 lib/layouts/hanging.module |   11 +++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/lib/layouts/hanging.module b/lib/layouts/hanging.module
index 55c1a2e..c1bb258 100644
--- a/lib/layouts/hanging.module
+++ b/lib/layouts/hanging.module
@@ -25,6 +25,17 @@ Style Hanging
   Preamble
 \newlength{\lyxhang}
 \IfFileExists{hanging.sty}{
+  % Disable all character activation, as this interferes
+  % with other packages and some languages
+  \PassOptionsToPackage{hanging}{%
+  notcomma,
+  notperiod,
+  notquote,
+  notquery,
+  notexcl,
+  notcolon,
+  notscolon
+  }
   \usepackage{hanging}
   \newenvironment{hangparagraphs}
 {%
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs