[LyX/master] Work around LuaTeX/TeX fonts issue in another document

Juergen Spitzmueller <[email protected]>
Newsgroups gmane.editors.lyx.cvs
Message-ID <[email protected]>
commit ef5d313ed21bd7866239370ceecc1da742cdd791
Author: Juergen Spitzmueller <[email protected]>
Date:   Sun Mar 22 11:38:39 2026 +0100

    Work around LuaTeX/TeX fonts issue in another document
---
 lib/examples/el/Welcome.lyx | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/lib/examples/el/Welcome.lyx b/lib/examples/el/Welcome.lyx
index db017d9df6..a5249807fa 100644
--- a/lib/examples/el/Welcome.lyx
+++ b/lib/examples/el/Welcome.lyx
@@ -1,10 +1,16 @@
-#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
 \origin /systemlyxdir/examples/el/
 \textclass article
+\begin_preamble
+% 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
 \language greek
@@ -30,6 +36,8 @@
 \output_sync 0
 \bibtex_command default
 \index_command default
+\float_placement class
+\float_alignment class
 \paperfontsize default
 \spacing single
 \use_hyperref false
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.