summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/luatex/luatexja/ltjsclasses.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-09-06 23:21:08 +0000
committerKarl Berry <karl@freefriends.org>2015-09-06 23:21:08 +0000
commit63418fbbd680a1772e0c63b5043ae52de45e6e47 (patch)
treeed8310b4c6c06617ff889f6d1ca6312e4c967337 /Master/texmf-dist/source/luatex/luatexja/ltjsclasses.dtx
parent1d472d214213c24b5cd6fc136a8834c121ebf922 (diff)
luatexja (6sep15)
git-svn-id: svn://tug.org/texlive/trunk@38309 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/luatex/luatexja/ltjsclasses.dtx')
-rw-r--r--Master/texmf-dist/source/luatex/luatexja/ltjsclasses.dtx18
1 files changed, 12 insertions, 6 deletions
diff --git a/Master/texmf-dist/source/luatex/luatexja/ltjsclasses.dtx b/Master/texmf-dist/source/luatex/luatexja/ltjsclasses.dtx
index d0ce6836b9d..1327cf0d355 100644
--- a/Master/texmf-dist/source/luatex/luatexja/ltjsclasses.dtx
+++ b/Master/texmf-dist/source/luatex/luatexja/ltjsclasses.dtx
@@ -22,7 +22,7 @@
% -----------------------------------------
%
% \fi
-% \CheckSum{5223}
+% \CheckSum{5219}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -50,7 +50,7 @@
%<*driver>
\ProvidesFile{ltjsclasses.dtx}
%</driver>
- [2015/01/07 ]
+ [2015/05/26 ]
%<*driver>
\documentclass{ltjsarticle}
\usepackage{doc}
@@ -3886,15 +3886,21 @@
%
% [2003-11-05] ロジックを少し変えてみました。
%
+% [2015-05-26] |listings| パッケージを使うときに|title| を指定すると次のエラーが出るのを修正.
+% \begin{verbatim}
+% ! Missing number, treated as zero.
+% \end{verbatim}
+%
+%
% \begin{macrocode}
%<*!jspf>
% \long\def\@makecaption#1#2{{\small
% \advance\leftskip1cm
% \advance\rightskip1cm
% \vskip\abovecaptionskip
-% \sbox\@tempboxa{#1\hskip1\zw\relax #2}%
+% \sbox\@tempboxa{#1{\hskip1\zw}#2}%
% \ifdim \wd\@tempboxa >\hsize
-% #1\hskip1\zw\relax #2\par
+% #1{\hskip1\zw}#2\par
% \else
% \global \@minipagefalse
% \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
@@ -3904,9 +3910,9 @@
\advance\leftskip .0628\linewidth
\advance\rightskip .0628\linewidth
\vskip\abovecaptionskip
- \sbox\@tempboxa{#1\hskip1\zw\relax #2}%
+ \sbox\@tempboxa{#1{\hskip1\zw}#2}%
\ifdim \wd\@tempboxa <\hsize \centering \fi
- #1\hskip1\zw\relax #2\par
+ #1{\hskip1\zw}#2\par
\vskip\belowcaptionskip}}
%</!jspf>
%<*jspf>