diff options
-rw-r--r-- | Master/texmf-dist/doc/latex/magyar/magyar.ldf | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/latex/magyar/magyar.ldf b/Master/texmf-dist/doc/latex/magyar/magyar.ldf index c467229fbe4..471e5642380 100644 --- a/Master/texmf-dist/doc/latex/magyar/magyar.ldf +++ b/Master/texmf-dist/doc/latex/magyar/magyar.ldf @@ -625,12 +625,12 @@ \def\magyar@opt@hunnewlabel@@yes{\def\magyar@opt@@hunnewlabel{2}} \let\magyar@opt@hunnewlabel\magyar@enumarg \def\magyar@opt@partnumber@@unchanged{\def\magyar@opt@@partnumber{0}} -\def\magyar@opt@partnumber@@huordinal{\def\magyar@opt@@partnumber{1}\let\magyar@needopt@hunumbers\@empty \def\magyar@hunumbers@errmsg{\magyar@hunumbers@noclassmod}} -\def\magyar@opt@partnumber@@Huordinal{\def\magyar@opt@@partnumber{2}\let\magyar@needopt@hunumbers\@empty \def\magyar@hunumbers@errmsg{\magyar@hunumbers@noclassmod}} +\def\magyar@opt@partnumber@@huordinal{\def\magyar@opt@@partnumber{1}} +\def\magyar@opt@partnumber@@Huordinal{\def\magyar@opt@@partnumber{2}} \let\magyar@opt@partnumber\magyar@enumarg \def\magyar@opt@chapternumber@@unchanged{\def\magyar@opt@@chapternumber{0}} -\def\magyar@opt@chapternumber@@huordinal{\def\magyar@opt@@chapternumber{1}\let\magyar@needopt@hunumbers\@empty \def\magyar@hunumbers@errmsg{\magyar@hunumbers@noclassmod}} -\def\magyar@opt@chapternumber@@Huordinal{\def\magyar@opt@@chapternumber{2}\let\magyar@needopt@hunumbers\@empty \def\magyar@hunumbers@errmsg{\magyar@hunumbers@noclassmod}} +\def\magyar@opt@chapternumber@@huordinal{\def\magyar@opt@@chapternumber{1}} +\def\magyar@opt@chapternumber@@Huordinal{\def\magyar@opt@@chapternumber{2}} \let\magyar@opt@chapternumber\magyar@enumarg \def\magyar@opt@accents@@high{\def\magyar@opt@@umlaut{\umlauthigh}} \def\magyar@opt@accents@@low{\def\magyar@opt@@umlaut{\umlautlow\umlautelow}} @@ -840,14 +840,18 @@ \def\magyar@opt@@openqq{2}% =down \fi \fi +\ifnum\magyar@opt@@partnumber >0 \let\magyar@needopt@hunumbers\@empty \fi +\ifnum\magyar@opt@@chapternumber>0 \let\magyar@needopt@hunumbers\@empty \fi \expandafter\ifx\csname magyar@needopt@hunumbers\endcsname\relax\else \ifnum\magyar@opt@@hunumbers=0 \@@magyar@error{(chapter|part)number=... needs hunumbers=yes}% \magyar@opt@@hunumbers1 \fi \def\magyar@hunumbers@noclassmod{% - \@@magyar@error{unsupported \string\documentclass,\MessageBreak (chapter|part)number=... disabled}% + \@@magyar@error{unsupported \string\documentclass,\MessageBreak + hunumbers=yes,chapternumber=,partnumber= disabled}% }% + \def\magyar@hunumbers@errmsg{\magyar@hunumbers@noclassmod}% \AtBeginDocument\magyar@hunumbers@errmsg \fi \if0\magyar@opt@@shorthandcs\else |