From 1725ec56df31c4ae4132da3b5cdfbaabfc21eaf8 Mon Sep 17 00:00:00 2001 From: Kazuki Maeda Date: Mon, 5 Sep 2011 03:04:25 +0900 Subject: [PATCH] \printglossary is defined only in LaTeX. --- src/luatexja-compat.sty | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/luatexja-compat.sty b/src/luatexja-compat.sty index 79768a8..e066ad3 100644 --- a/src/luatexja-compat.sty +++ b/src/luatexja-compat.sty @@ -147,7 +147,9 @@ \ltjsetparameter{kansujichar={8,`八}} \ltjsetparameter{kansujichar={9,`九}} -\newcommand\printglossary{\@input@{\jobname.gls}} +\ifltj@in@latex + \newcommand\printglossary{\@input@{\jobname.gls}} +\fi \newcount\hour \newcount\minute -- 2.11.0