X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=src%2Fltjbook.cls;h=b3e5ea2ee6d4c5e9fb4bb50edda702cc89e58e01;hb=3fae82d64b193c794fdf2f1262d80bddc98ce5a8;hp=2f31972c132a9b4d769dc28a9d69f2a422f5356e;hpb=98ad9546b23cea30a4dd63645a929e999760b096;p=luatex-ja%2Fluatexja.git diff --git a/src/ltjbook.cls b/src/ltjbook.cls index 2f31972..b3e5ea2 100644 --- a/src/ltjbook.cls +++ b/src/ltjbook.cls @@ -773,12 +773,14 @@ \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}% \par}% \fi} +\providecommand*\protected@file@percent{} \def\addcontentsline#1#2#3{% \protected@write\@auxout {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble \@temptokena{\thepage}}% {\string\@writefile{#1}% - {\protect\contentsline{#2}{#3}{\the\@temptokena}}}% + {\protect\contentsline{#2}{#3}{\the\@temptokena}% +\protected@file@percent}}% } \newcommand{\tableofcontents}{% \if@twocolumn\@restonecoltrue\onecolumn