From 38f20f9dee77b2ecae7a74175684ebc75f813a5e Mon Sep 17 00:00:00 2001 From: YOKOTA Hiroshi Date: Fri, 20 Sep 2019 22:05:17 +0900 Subject: [PATCH 4/6] Update LuaTeX hack "comment" command is now unified to "c" command. Origin of this hack: https://ja.osdn.net/projects/luatex-ja/ticket/36096 --- doc/txi-ja.tex | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/doc/txi-ja.tex b/doc/txi-ja.tex index 0374efe1d..c80a2f0dc 100644 --- a/doc/txi-ja.tex +++ b/doc/txi-ja.tex @@ -191,21 +191,6 @@ #1% \parseargline\empty% Insert the \empty token, see \finishparsearg below. } - % Re-define texinfo.tex's \comment - \def\comment{\begingroup \catcode`\^^M=\active% - \ifx\ltjlineendcomment\thisisundefined - % Ignore U+FFFFF for LuaTeX-ja <= 20160208.0 - \catcode"FFFFF=9% - \else - % Ignore the character \ltjlineendcomment for LuaTeX-ja > 20160208.0 - \catcode\ltjlineendcomment=9% - \fi - \catcode`\@=\other \catcode`\{=\other \catcode`\}=\other\commentxxx}% - % Re-let \comment related macros - \let\setfilename=\comment - \let\dircategory=\comment - \let\definfoenclose=\comment - \let\footnotestyle=\comment % Re-define texinfo.tex's \c \def\c{\begingroup \catcode`\^^M=\active% \ifx\ltjlineendcomment\thisisundefined @@ -218,7 +203,12 @@ \catcode`\@=\other \catcode`\{=\other \catcode`\}=\other% \cxxx} % Re-let \c related macro - \let\texinfoc=\c + \let\comment=\c + % Re-let \comment related macros + \let\setfilename=\comment + \let\dircategory=\comment + \let\definfoenclose=\comment + \let\footnotestyle=\comment \fi % LuaTeX % -- 2.23.0