summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-03-15 21:45:22 +0000
committerKarl Berry <karl@freefriends.org>2014-03-15 21:45:22 +0000
commitcf43dfcdd77a7d15418368470b7a497e036302c6 (patch)
tree3718fc65772d6e0f9fcf4f846ef66ff5eb3595ae /Master
parent8e5ab981d91aef2241b916de6d4b5a60a7d757ba (diff)
babel-hungarian (15mar14)
git-svn-id: svn://tug.org/texlive/trunk@33184 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/tex/latex/babel-hungarian/magyar.ldf10
1 files changed, 8 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/babel-hungarian/magyar.ldf b/Master/texmf-dist/tex/latex/babel-hungarian/magyar.ldf
index 8ac16341d8f..3d2d7df0674 100644
--- a/Master/texmf-dist/tex/latex/babel-hungarian/magyar.ldf
+++ b/Master/texmf-dist/tex/latex/babel-hungarian/magyar.ldf
@@ -927,8 +927,9 @@
\fi
\def\magyar@hunumbers@noclassmod{%
\@@magyar@error{unsupported \string\documentclass,\MessageBreak
- hunumbers=yes,chapternumber=,partnumber= disabled}%
+ hunumbers=yes,chapternumber=...,partnumber=... disabled}%
}%
+ % This may get redefined to \@empty later.
\def\magyar@hunumbers@errmsg{\magyar@hunumbers@noclassmod}%
\AtBeginDocument\magyar@hunumbers@errmsg
\fi
@@ -4833,6 +4834,7 @@
%
\def\magyar@gobbleopt[##1]{}%
% Dat: \newcommand etc. are not \global. Good.
+ \let\@onlypreamble\@gobble % In letter.cls .
\let\newdimen\@gobble
\let\newif\@gobble
\let\newskip\@gobble
@@ -5286,6 +5288,7 @@
}{}
\@@magyar@ifclassloaded{article}{%
+ % article.cls has no \chapter. We'll hook \part below though.
\let\magyar@hunumbers@errmsg\@empty
% Headings: inserting dots
% In order for this to take effect, \pagestyle{plain} should be put below
@@ -5346,7 +5349,10 @@
}{}
\@@magyar@ifclassloaded{letter}{%
- % Dat: no: \let\magyar@hunumbers@errmsg\@empty here
+ % letter.cls has no \part or \chapter. No need to hook anything here, but
+ % we make \magyar@hunumbers@errmsg just to pacify
+ % `\PassOptionsToPackage{defaults=prettiest}{magyar.ldf}'.
+ \let\magyar@hunumbers@errmsg\@empty
% Headings: inserting dots
% In order for this to take effect, \pagestyle{plain} should be put below
% \begin{document}.