From: Hironori Kitagawa Date: Wed, 8 Nov 2017 15:33:43 +0000 (+0900) Subject: Fix #37643 X-Git-Tag: 20171112.0~6 X-Git-Url: http://git.osdn.net/view?p=luatex-ja%2Fluatexja.git;a=commitdiff_plain;h=2e584cf35e97d1e98d45688160d78700b5de4a30 Fix #37643 --- diff --git a/src/patches/lltjcore.sty b/src/patches/lltjcore.sty index 55c1537..c82b8de 100644 --- a/src/patches/lltjcore.sty +++ b/src/patches/lltjcore.sty @@ -183,8 +183,9 @@ \@latex@warning{Reference `#3' on page \thepage \space undefined}% \else - \expandafter#2#1\spacefactor\@m{}% change \null to \spacefactor\@m{} + \expandafter#2#1\protect\@setref@{}% change \null to \protect\@setref@{} \fi} +\def\@setref@{\ifhmode\spacefactor\@m\fi} \endgroup \if@compatibility\else \def\verb{\relax\ifmmode\hbox\else\leavevmode\vadjust{}\fi