summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-09-18 22:56:12 +0000
committerKarl Berry <karl@freefriends.org>2011-09-18 22:56:12 +0000
commit27d7d770b7ab6e657f699fbcac68c2d610d95153 (patch)
tree1499dc53079d59a97c7431218d428c0cc25071f5
parent0a0068c1fa567ef5e5fd09714e543d2a212369c4 (diff)
magyar
git-svn-id: svn://tug.org/texlive/trunk@24012 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/magyar/magyar.ldf10
1 files changed, 8 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/latex/magyar/magyar.ldf b/Master/texmf-dist/doc/latex/magyar/magyar.ldf
index ea04995017a..a112f2b12ef 100644
--- a/Master/texmf-dist/doc/latex/magyar/magyar.ldf
+++ b/Master/texmf-dist/doc/latex/magyar/magyar.ldf
@@ -1842,7 +1842,7 @@
\expandafter\addto\csname extras\CurrentOption\endcsname{%
\@@magyar@do@makecaption}
\def\@@magyar@do@makecaption@captiontwo@yes{%
- % Dat: package caption2 is loaded; assume \def\captionlabeldelim{.}
+ % Dat: caption2.sty or caption3.sty is loaded; do nothing.
}
\def\@@magyar@do@makecaption@captiontwo@no{%
%** @param #1 \fnum@table or \fnum@figure
@@ -1864,7 +1864,13 @@
% Dat: caption3.sty is loaded, and it has caption@lsep defined
% Dat: \show\caption@lsep@colon % \long\def\caption@lsep@colon{: }
% Dat: \show\caption@lsep %\def\caption@lsep{\caption@lsep@colon}
- \def\caption@lsep{\caption@lsep@period}% Imp: ability to override
+ \ifx\caption@lsep\caption@lsep@default
+ % There was no \captionsetup{labelsep=...} yet, so we set the
+ % default to period (dot).
+ %
+ % This sets \caption@lsep@default and \caption@lsep.
+ \caption@setdefaultlabelsep{period}%
+ \fi
\let\@@magyar@do@makecaption\@@magyar@do@makecaption@captiontwo@yes
\fi
\else