commit 61a7e970d13351470b3cd471fe79debbd478d529
Author: Juergen Spitzmueller <sp...@lyx.org>
Date:   Mon Sep 16 14:30:16 2024 +0200

    Fix most math problems with Xe/LuaTeX
    
    One NULL character issue left
---
 lib/doc/ja/Math.lyx | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/lib/doc/ja/Math.lyx b/lib/doc/ja/Math.lyx
index 1eb90420a5..2943cdda28 100644
--- a/lib/doc/ja/Math.lyx
+++ b/lib/doc/ja/Math.lyx
@@ -143,6 +143,12 @@
 % Added by lyx2lyx
 \setlength{\parskip}{\medskipamount}
 \setlength{\parindent}{0pt}
+
+% Needed for XeTeX
+\AddToHook{package/fontspec/after}{%
+\newfontfamily\englishfont{FreeSerif}
+\newfontfamily\englishfontsf{FreeSans}
+}
 \end_preamble
 \options 
bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading,samesize,bookmarkpackage=false
 \use_default_options true
@@ -31531,6 +31537,8 @@ i
 \begin_inset Text
 
 \begin_layout Plain Layout
+
+\lang english
 \begin_inset Formula $\textrm{ı}$
 \end_inset
 
@@ -31769,6 +31777,8 @@ j
 \begin_inset Text
 
 \begin_layout Plain Layout
+
+\lang english
 \begin_inset Formula $\textrm{ȷ}$
 \end_inset
 
@@ -32361,6 +32371,8 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Plain Layout
+
+\lang english
 \begin_inset ERT
 status collapsed
 
@@ -32437,6 +32449,8 @@ e
 \begin_inset Text
 
 \begin_layout Plain Layout
+
+\lang english
 \begin_inset ERT
 status collapsed
 
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to