[LyX/master] Amend 575e9d05c2d
Juergen Spitzmueller <[email protected]>
| Newsgroups | gmane.editors.lyx.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit c124bcecfc3c29202bbc6d68cd023fced0052451 Author: Juergen Spitzmueller <[email protected]> Date: Sun Mar 15 10:34:22 2026 +0100 Amend 575e9d05c2d LyX would nag on the unicode char in preamble --- lib/doc/Math.lyx | 8 ++++++-- lib/doc/de/Math.lyx | 8 ++++++-- lib/doc/es/Math.lyx | 8 ++++++-- lib/doc/fr/Math.lyx | 8 ++++++-- lib/doc/ru/Math.lyx | 8 ++++++-- 5 files changed, 30 insertions(+), 10 deletions(-) diff --git a/lib/doc/Math.lyx b/lib/doc/Math.lyx index 9557303e57..db6ca39eeb 100644 --- a/lib/doc/Math.lyx +++ b/lib/doc/Math.lyx @@ -141,9 +141,13 @@ \else\ooalign{\unhbox0\crcr\hidewidth\char184\hidewidth}\fi}} \fi \ifxetex - % latinmodern (with XeTeX) does not feature Å + % latinmodern (with XeTeX) does not feature \AA \usepackage{newunicodechar} - \newunicodechar{Å}{\AA} + \newcommand{\DeclareUnicodeCharacter}[2]{% + \begingroup\lccode`|=\string"#1\relax + \lowercase{\endgroup\newunicodechar{|}}{#2}% + } + \DeclareUnicodeCharacter{212B}{\AA} \fi \end_preamble \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading diff --git a/lib/doc/de/Math.lyx b/lib/doc/de/Math.lyx index 529087fb0d..dd1ef00862 100644 --- a/lib/doc/de/Math.lyx +++ b/lib/doc/de/Math.lyx @@ -153,9 +153,13 @@ \else\ooalign{\unhbox0\crcr\hidewidth\char184\hidewidth}\fi}} \fi \ifxetex - % latinmodern (mit XeTeX) unterstützt Å nicht + % latinmodern (mit XeTeX) unterstützt \AA nicht \usepackage{newunicodechar} - \newunicodechar{Å}{\AA} + \newcommand{\DeclareUnicodeCharacter}[2]{% + \begingroup\lccode`|=\string"#1\relax + \lowercase{\endgroup\newunicodechar{|}}{#2}% + } + \DeclareUnicodeCharacter{212B}{\AA} \fi \end_preamble \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading diff --git a/lib/doc/es/Math.lyx b/lib/doc/es/Math.lyx index 3718ffc869..cffe914080 100644 --- a/lib/doc/es/Math.lyx +++ b/lib/doc/es/Math.lyx @@ -140,9 +140,13 @@ \else\ooalign{\unhbox0\crcr\hidewidth\char184\hidewidth}\fi}} \fi \ifxetex - % latinmodern (with XeTeX) does not feature Å + % latinmodern (with XeTeX) does not feature \AA \usepackage{newunicodechar} - \newunicodechar{Å}{\AA} + \newcommand{\DeclareUnicodeCharacter}[2]{% + \begingroup\lccode`|=\string"#1\relax + \lowercase{\endgroup\newunicodechar{|}}{#2}% + } + \DeclareUnicodeCharacter{212B}{\AA} \fi \end_preamble \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading diff --git a/lib/doc/fr/Math.lyx b/lib/doc/fr/Math.lyx index aa23c8f2c7..6295435d48 100644 --- a/lib/doc/fr/Math.lyx +++ b/lib/doc/fr/Math.lyx @@ -140,9 +140,13 @@ \else\ooalign{\unhbox0\crcr\hidewidth\char184\hidewidth}\fi}} \fi \ifxetex - % latinmodern (with XeTeX) does not feature Å + % latinmodern (with XeTeX) does not feature \AA \usepackage{newunicodechar} - \newunicodechar{Å}{\AA} + \newcommand{\DeclareUnicodeCharacter}[2]{% + \begingroup\lccode`|=\string"#1\relax + \lowercase{\endgroup\newunicodechar{|}}{#2}% + } + \DeclareUnicodeCharacter{212B}{\AA} \fi \end_preamble \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading diff --git a/lib/doc/ru/Math.lyx b/lib/doc/ru/Math.lyx index 4a484b4afe..7e87986007 100644 --- a/lib/doc/ru/Math.lyx +++ b/lib/doc/ru/Math.lyx @@ -144,9 +144,13 @@ \else\ooalign{\unhbox0\crcr\hidewidth\char184\hidewidth}\fi}} \fi \ifxetex - % latinmodern (with XeTeX) does not feature Å + % latinmodern (with XeTeX) does not feature \AA \usepackage{newunicodechar} - \newunicodechar{Å}{\AA} + \newcommand{\DeclareUnicodeCharacter}[2]{% + \begingroup\lccode`|=\string"#1\relax + \lowercase{\endgroup\newunicodechar{|}}{#2}% + } + \DeclareUnicodeCharacter{212B}{\AA} \fi \end_preamble \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading -- lyx-cvs mailing list [email protected] https://lists.lyx.org/mailman/listinfo/lyx-cvs