[LyX/master] Work around LuaTeX/TeX fonts issue in two documents
Juergen Spitzmueller <[email protected]>
| Newsgroups | gmane.editors.lyx.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit 8516dbac95201c9985e905980cfe39eaa1b47a94 Author: Juergen Spitzmueller <[email protected]> Date: Sat Mar 21 12:24:46 2026 +0100 Work around LuaTeX/TeX fonts issue in two documents --- .../lyxbugs-resolved/6373-hebrew-enumerate-in-algorithm.lyx | 9 +++++---- lib/doc/el/Intro.lyx | 11 +++++++++-- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/autotests/export/latex/lyxbugs-resolved/6373-hebrew-enumerate-in-algorithm.lyx b/autotests/export/latex/lyxbugs-resolved/6373-hebrew-enumerate-in-algorithm.lyx index 0d34d8aecf..8f8bb97c05 100644 --- a/autotests/export/latex/lyxbugs-resolved/6373-hebrew-enumerate-in-algorithm.lyx +++ b/autotests/export/latex/lyxbugs-resolved/6373-hebrew-enumerate-in-algorithm.lyx @@ -7,6 +7,11 @@ \textclass book \begin_preamble \floatname{algorithm}{אלגוריתם} + +% With LuaTeX/TeX fonts, the font encoding is not properly switched +\@ifpackageloaded{luainputenc}{ + \AddToHook{package/babel/after}{\addto\extrashebrew{\fontencoding{HE8}}} +}{} \end_preamble \use_default_options false \maintain_unincluded_children no @@ -130,10 +135,6 @@ Two \end_inset -\end_layout - -\begin_layout Plain Layout - \end_layout \end_inset diff --git a/lib/doc/el/Intro.lyx b/lib/doc/el/Intro.lyx index e3efbc844e..1f0fee6996 100644 --- a/lib/doc/el/Intro.lyx +++ b/lib/doc/el/Intro.lyx @@ -1,5 +1,5 @@ -#LyX 2.5 created this file. For more info see https://www.lyx.org/ -\lyxformat 643 +#LyX 2.6 created this file. For more info see https://www.lyx.org/ +\lyxformat 649 \begin_document \begin_header \save_transient_properties true @@ -24,6 +24,11 @@ \myTOC \cleardoublepage \pagenumbering{arabic} } + +% With LuaTeX/TeX fonts, the font encoding is not properly switched +\@ifpackageloaded{luainputenc}{ + \AddToHook{package/babel/after}{\addto\extrasgreek{\greektext}} +}{} \end_preamble \use_default_options false \maintain_unincluded_children no @@ -50,6 +55,8 @@ \output_sync 0 \bibtex_command default \index_command default +\float_placement class +\float_alignment class \paperfontsize 12 \spacing single \use_hyperref true -- lyx-cvs mailing list [email protected] https://lists.lyx.org/mailman/listinfo/lyx-cvs