summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/magyar
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-04-29 16:15:14 +0000
committerKarl Berry <karl@freefriends.org>2009-04-29 16:15:14 +0000
commit5d18b87a1a00f88ffd9a77b53cedba8f6d798d3c (patch)
tree2ebea29780abb0efb66f12e7b2e96520d8f00c80 /Master/texmf-dist/doc/latex/magyar
parent6be9f4dc7c015da2a94183970394935fd6ae72a2 (diff)
magyar update (28apr09)
git-svn-id: svn://tug.org/texlive/trunk@12860 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/magyar')
-rw-r--r--Master/texmf-dist/doc/latex/magyar/magyar.ldf12
1 files changed, 8 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/magyar/magyar.ldf b/Master/texmf-dist/doc/latex/magyar/magyar.ldf
index f84f624a9f8..51ebb8843f6 100644
--- a/Master/texmf-dist/doc/latex/magyar/magyar.ldf
+++ b/Master/texmf-dist/doc/latex/magyar/magyar.ldf
@@ -4821,11 +4821,13 @@
\if@mainmatter
\refstepcounter{chapter}%
\typeout{\thechapter\ifx\@chapapp\@@magyar@appendixname\else.\fi\space\@chapapp.}%
- \ifx\@chapapp\@@magyar@appendix@chapapp
+ \ifx\@chapapp\@@magyar@appendixname
% \@gobble gobbles the dot emitted by \numberline.
\addcontentsline{toc}{chapter}{\protect\numberline{\thechapter\protect\@gobble}#1}%
\else
- \addcontentsline{toc}{chapter}{\protect\numberline{\thechapter}#1}
+ \addcontentsline{toc}{chapter}{\protect\numberline{\thechapter}#1}%
+ \fi
+ \ifx\@chapapp\@@magyar@appendix@chapapp
\ifnum\magyar@opt@@chapternumber>0 \protected@edef\@currentlabel{\@huordinal\c@chapter}\fi
\fi
\else
@@ -4913,11 +4915,13 @@
\ifnum \c@secnumdepth >\m@ne
\refstepcounter{chapter}%
\typeout{\thechapter\ifx\@chapapp\@@magyar@appendixname\else.\fi\space\@chapapp.}%
- \ifx\@chapapp\@@magyar@appendix@chapapp
+ \ifx\@chapapp\@@magyar@appendixname
% \@gobble gobbles the dot emitted by \numberline.
\addcontentsline{toc}{chapter}{\protect\numberline{\thechapter\protect\@gobble}#1}%
\else
- \addcontentsline{toc}{chapter}{\protect\numberline{\thechapter}#1}\fi
+ \addcontentsline{toc}{chapter}{\protect\numberline{\thechapter}#1}%
+ \fi
+ \ifx\@chapapp\@@magyar@appendix@chapapp
\ifnum\magyar@opt@@chapternumber>0 \protected@edef\@currentlabel{\@huordinal\c@chapter}\fi
\fi
\else