summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/magyar
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/magyar')
-rw-r--r--Master/texmf-dist/doc/latex/magyar/magyar.ldf12
1 files changed, 7 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/latex/magyar/magyar.ldf b/Master/texmf-dist/doc/latex/magyar/magyar.ldf
index 471e5642380..cb98bb93b86 100644
--- a/Master/texmf-dist/doc/latex/magyar/magyar.ldf
+++ b/Master/texmf-dist/doc/latex/magyar/magyar.ldf
@@ -3983,7 +3983,9 @@
% --- titleskip=
-\ifx\magyar@opt@@titleskip\magyar@@unchanged \@@magyar@skiplong\fi
+\ifx\magyar@opt@@titleskip\magyar@@unchanged
+ \def\magyar@opt@@titleskip{\enspace}% for the appendix with appendixdot=no
+\@@magyar@skiplong\fi
\expandafter\addto\csname extras\CurrentOption\endcsname{\magyar@@seccntfix}%
\let\magyar@@seccntfix\@empty
\let\magyar@@default@seccntformat\@seccntformat
@@ -4840,7 +4842,7 @@
%** \thechapter (possibly with huordinal), dot, space.
\def\magyar@huordinal@chapterheaddot{%
- \ifx\@chapapp\@@magyar@appendixname \thechapter\enspace % appendixdot=no
+ \ifx\@chapapp\@@magyar@appendixname \thechapter\hbox{\magyar@opt@@titleskip}% appendixdot=no
\else\ifx\@chapapp\@@magyar@macro@appendixname \thechapter.~%
\else\ifnum\magyar@opt@@chapternumber=1 \@huordinal\c@chapter~%
\else\ifnum\magyar@opt@@chapternumber=2 \@Huordinal\c@chapter~%
@@ -4880,12 +4882,12 @@
\def\centerline##1{%
\@@magyar@orig@centerline{%
\normalsize\mdseries
- \ifx\chaptername\appendixname
+ \ifx\chaptername\appendixname % We're in the appendix.
\ifx\@@magyar@appendixname\@empty
% print a dot in the appendix only if appendixdot=yes
- \thechapter.~
+ \thechapter.~%
\else
- \thechapter\enspace
+ \thechapter\hbox{\magyar@opt@@titleskip}%
\fi
\else\ifnum\magyar@opt@@chapternumber=1
\uppercase\@xp{\@huordinal\c@chapter}~%