summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-04-04 23:51:46 +0000
committerKarl Berry <karl@freefriends.org>2009-04-04 23:51:46 +0000
commit0372b9ce4a51f0478b0d524214e153a5f60cb31c (patch)
tree7702db868070dc452d44f3569fc571963a97a114 /Master/texmf-dist
parent1244fbb7a511da8cc6d24c76c0e11f91592e7fc4 (diff)
magyar.ldf update (4apr09)
git-svn-id: svn://tug.org/texlive/trunk@12627 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/magyar/magyar.ldf28
1 files changed, 19 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/latex/magyar/magyar.ldf b/Master/texmf-dist/doc/latex/magyar/magyar.ldf
index 6970bdadf58..f1bd40024e4 100644
--- a/Master/texmf-dist/doc/latex/magyar/magyar.ldf
+++ b/Master/texmf-dist/doc/latex/magyar/magyar.ldf
@@ -2736,7 +2736,7 @@
\ifnum#1=-1 m\'nusz egyedik\else
\ifnum#1=-2 m\'nusz kettedik\else
\ifnum#1<0 m\'inusz \expandafter\@huordinal\expandafter{\number-#1 }\else
- \ifcase#1 nulladik\or els\H o\or m\'asodik\or harmadik\or negyedik\or
+ \ifcase\number#1 nulladik\or els\H o\or m\'asodik\or harmadik\or negyedik\or
\"ot\"odik\or hatodik\or hetedik\or nyolcadik\or kilencedik\else
\ifnum#1>999 \expandafter\@@magyar@ezresedik\number#1.\else
\ifnum#1>99 \expandafter\@@magyar@szazasodik\number#1\else
@@ -4778,19 +4778,29 @@
%** Convert \@currentlabel to lowercase \@huordinal if \thechapter is a
%** huordinal or a Huordinal.
\def\@@magyar@lowercase@currentlabel@toc@thechapter{%
- \ifx\vfuzz\magyar@@toc@thechapter\vfuzz\else
- % Convert to lower case.
- \protected@edef\@currentlabel{\@huordinal\c@chapter}%
- \fi
+ \begingroup
+ \csname c@chapter\endcsname0
+ \edef\reserved@a{\csname thechapter\endcsname}%
+ \edef\reserved@a{\expandafter\@gobble\reserved@a0}%
+ \ifx\reserved@a\magyar@ulladik
+ \endgroup\expandafter\@firstofone\else
+ \endgroup\expandafter\@gobble\fi
+ {% Convert to lower case.
+ \protected@edef\@currentlabel{\@huordinal\c@chapter}}%
}
%** Convert \@currentlabel to lowercase \@huordinal if \thepart is a
%** huordinal or a Huordinal.
\def\@@magyar@lowercase@currentlabel@toc@thepart{%
- \ifx\vfuzz\magyar@@toc@thepart\vfuzz\else
- % Convert to lower case.
- \protected@edef\@currentlabel{\@huordinal\c@part}%
- \fi
+ \begingroup
+ \csname c@part\endcsname0
+ \edef\reserved@a{\csname thepart\endcsname}%
+ \edef\reserved@a{\expandafter\@gobble\reserved@a0}%
+ \ifx\reserved@a\magyar@ulladik
+ \endgroup\expandafter\@firstofone\else
+ \endgroup\expandafter\@gobble\fi
+ {% Convert to lower case.
+ \protected@edef\@currentlabel{\@huordinal\c@part}}%
}
%** Emits the rule to the running head. Must put something of zero width