OSDN Git Service

Fix #37643
authorHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Wed, 8 Nov 2017 15:33:43 +0000 (00:33 +0900)
committerHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Wed, 8 Nov 2017 15:33:43 +0000 (00:33 +0900)
src/patches/lltjcore.sty

index 55c1537..c82b8de 100644 (file)
     \@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