commit a2d75bb9d74ca7eafde77abfcbb4db84342d7dcc
Author: Juergen Spitzmueller <sp...@lyx.org>
Date:   Mon Sep 16 13:36:48 2024 +0200

    Fixup ja/Additional for Xe/LuaTeX
---
 lib/doc/ja/Additional.lyx | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/lib/doc/ja/Additional.lyx b/lib/doc/ja/Additional.lyx
index 114ec35cf6..d62f9db285 100644
--- a/lib/doc/ja/Additional.lyx
+++ b/lib/doc/ja/Additional.lyx
@@ -34,11 +34,16 @@
 \emergencystretch 1.5em
 \hfuzz 0.3pt
 
-% additional setting for Japanese manual
-\IfFileExists{pxjahyper.sty}
-{\usepackage{pxjahyper}}
-
-\usepackage{t1enc}
+\usepackage{iftex}
+\iftutex\else
+  % Not Xe/LuaTeX:
+  % additional setting for Japanese manual
+  \IfFileExists{pxjahyper.sty}{\usepackage{pxjahyper}}
+  \usepackage{t1enc}
+\fi
+
+% need to increase this
+\AtBeginDocument{\premulticols = 70pt}
 \end_preamble
 \options 
bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading,bookmarkpackage=false
 \use_default_options false
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to