diff options
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/latex/magyar/magyar.ldf | 10 |
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 |