summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/platex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-12-11 22:22:48 +0000
committerKarl Berry <karl@freefriends.org>2018-12-11 22:22:48 +0000
commit2eb74c5db54a3af69d1f30b83084ddb3503941a2 (patch)
tree81b66378327be9bae2f31da64eeb7407cd98c3b0 /Master/texmf-dist/source/platex
parent61964850e31f2ce6c97f6115fc73bec3ead475e2 (diff)
jsclasses (11dec18)
git-svn-id: svn://tug.org/texlive/trunk@49387 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/platex')
-rw-r--r--Master/texmf-dist/source/platex/jsclasses/jsclasses.dtx8
1 files changed, 6 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/platex/jsclasses/jsclasses.dtx b/Master/texmf-dist/source/platex/jsclasses/jsclasses.dtx
index 5dda52bd76f..4ca5f419219 100644
--- a/Master/texmf-dist/source/platex/jsclasses/jsclasses.dtx
+++ b/Master/texmf-dist/source/platex/jsclasses/jsclasses.dtx
@@ -31,7 +31,7 @@
%<*driver>
\ProvidesFile{jsclasses.dtx}
%</driver>
- [2018/06/23 jsclasses (okumura, texjporg)]
+ [2018/12/11 jsclasses (okumura, texjporg)]
%<*driver>
\documentclass{jsarticle}
\usepackage{doc}
@@ -4641,6 +4641,10 @@
%
% [2003-11-05] ロジックを少し変えてみました。
%
+% [2018-12-11] 遅くなりましたが,|listings| パッケージを使うときに
+% |title| を指定すると ``1zw'' が出力されてしまう
+% 問題 (forum:1543,Issue \#71) に対処しました。
+%
% \begin{macrocode}
%<*!jspf>
% \long\def\@makecaption#1#2{{\small
@@ -4661,7 +4665,7 @@
\vskip\abovecaptionskip
\sbox\@tempboxa{#1\hskip1zw\relax #2}%
\ifdim \wd\@tempboxa <\hsize \centering \fi
- #1\hskip1zw\relax #2\par
+ #1{\hskip1zw\relax}#2\par
\vskip\belowcaptionskip}}
%</!jspf>
%<*jspf>