]> git.lyx.org Git - lyx.git/commitdiff
Fix most math problems with Xe/LuaTeX
authorJuergen Spitzmueller <spitz@lyx.org>
Mon, 16 Sep 2024 12:30:16 +0000 (14:30 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Mon, 16 Sep 2024 12:30:16 +0000 (14:30 +0200)
One NULL character issue left

lib/doc/ja/Math.lyx

index 1eb90420a509914b742881d7971f5817cc5f9d30..2943cdda28d0f562f089929a0de129a6b2db17f7 100644 (file)
 % 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
 \begin_inset Text
 
 \begin_layout Plain Layout
+
+\lang english
 \begin_inset Formula $\textrm{ı}$
 \end_inset
 
 \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
 
 \begin_inset Text
 
 \begin_layout Plain Layout
+
+\lang english
 \begin_inset ERT
 status collapsed