summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/magyar/magyar.ldf
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-03-31 22:39:39 +0000
committerKarl Berry <karl@freefriends.org>2012-03-31 22:39:39 +0000
commit6f44e8e442870f87409834435a1ec90dd016b422 (patch)
treea987b21247a0c9d5c7f1c50be2f6fe56564fc04b /Master/texmf-dist/doc/latex/magyar/magyar.ldf
parent8a59aa6a525449e470ad9a75ecc5f5dc5f004d01 (diff)
magyar (23mar12)
git-svn-id: svn://tug.org/texlive/trunk@25806 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/magyar/magyar.ldf')
-rw-r--r--Master/texmf-dist/doc/latex/magyar/magyar.ldf26
1 files changed, 15 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/latex/magyar/magyar.ldf b/Master/texmf-dist/doc/latex/magyar/magyar.ldf
index a112f2b12ef..a9a9cd15789 100644
--- a/Master/texmf-dist/doc/latex/magyar/magyar.ldf
+++ b/Master/texmf-dist/doc/latex/magyar/magyar.ldf
@@ -1138,18 +1138,20 @@
\ifcase\magyar@textqq@level
\def\magyar@textqq@level{1}%
% Dat: \hskip instead of \kern to allow hyphenation
- \quotedblbase\nobreak\hskip-.06em\nobreak#1\kern\z@\textquotedblright% skip OK for the CM and EC fonts
+ % \nobreak\hskip-.06em adds a non-breakable skip and allows hyphenation
+ % of the following word.
+ \quotedblbase\nobreak\hskip-.06em\relax#1\kern\z@\textquotedblright% skip OK for the CM and EC fonts
\def\magyar@textqq@level{0}%
\or
\def\magyar@textqq@level{2}%
- \guillemotright\nobreak\hskip-.07em\nobreak#1\kern-0.05em\guillemotleft% skip OK for CM and EC fonts
+ \guillemotright\nobreak\hskip-.07em\relax#1\kern-0.05em\guillemotleft% skip OK for CM and EC fonts
\def\magyar@textqq@level{1}%
\or
\def\magyar@textqq@level{3}%
- \textquoteright\nobreak#1\kern\z@\textquoteright
+ \textquoteright\nobreak\hskip\z@\relax#1\kern\z@\textquoteright
\def\magyar@textqq@level{2}%
\else
- \quotedblbase\nobreak\hskip-.06em#1\kern\z@\textquotedblright% skip OK for the CM and EC fonts
+ \quotedblbase\nobreak\hskip-.06em\relax#1\kern\z@\textquotedblright% skip OK for the CM and EC fonts
\fi
}}%
@@ -2481,26 +2483,26 @@
% value. It should also accept an optional argument (default `l')
% to denote whether or not the string should be lowercase or
% uppercase.}}}%
- \def\@@magyar@ignorehbox@pree#1\hbox$#2{}%
+ \def\@@magyar@ignorehbox@pree#1\hbox$#2{}%$
%\def\@@magyar@grep@reftextcurrent#1\def\reftextcurrent#2\hbox$
- \def\@@magyar@grep@reftextbegin#1\def\reftextfaceafter#2\hfuzz\hfuzz\hfuzz#3\hbox$#4{%
+ \def\@@magyar@grep@reftextbegin#1\def\reftextfaceafter#2\hfuzz\hfuzz\hfuzz#3\hbox$#4{%$
\toks@={#1#3}% Dat: # -> ## conversion for \def
\expandafter\global\expandafter\edef\csname extras#4\endcsname
{\the\toks@}%
}
\def\@@magyar@grep@reftextcurrent#1\def\reftextlabelrange#2#3#4#5#6%
- \AtBeginDocument#7#8\hbox$#9{% Dat: no need for \long\def
+ \AtBeginDocument#7#8\hbox$#9{%$ Dat: no need for \long\def
% ^^^ Dat: Don't use `#21', because then #2 would match multiple tokens
\ifx#31% found real data, not sentinel
\PackageWarningNoLine{#9.ldf}{Do not load buggy \string\usepackage[magyar]{varioref},\MessageBreak load simply \string\usepackage{varioref}}%
% vvv remove code inserted by varioref.sty
- \@@magyar@grep@reftextbegin#1\hfuzz\hfuzz\hfuzz#8\hbox${#9}%
+ \@@magyar@grep@reftextbegin#1\hfuzz\hfuzz\hfuzz#8\hbox${#9}%$
\fi
}
\def\magyar@sugg@vr#1{%
\expandafter\expandafter\expandafter\@@magyar@grep@reftextcurrent
- \csname extras#1\endcsname\hbox${#1}\@@magyar@ignorehbox@pree
- \def\reftextlabelrange23456\AtBeginDocument78\hbox${#1}%
+ \csname extras#1\endcsname\hbox${#1}\@@magyar@ignorehbox@pree%$
+ \def\reftextlabelrange23456\AtBeginDocument78\hbox${#1}%$
}
\def\magyar@sugg@to#1{%
\def\reserved@a{T1}
@@ -2713,6 +2715,8 @@
%
% Dat: active=safe isn't safe unless other .ldf files used don't call
% \initiate@active@char{`}.
+%
+% `` `' `= `_ `-- `- `| `< `> `" `~ etc.
\ifnum\magyar@opt@@active=0
\ifnum\magyar@opt@@openqq>0 \@@magyar@error{active=none implies openqq=unchanged}\fi
@@ -2724,7 +2728,7 @@
%
\ifnum\magyar@opt@@openqq>1 % =down
% Same as in in ukraineb.ldf
- \@@magyar@declare@shorthandx`{\glqq}% down 99
+ \@@magyar@declare@shorthandx`{\glqq}% down 99 \glqq is Babel's macro containing \quotedblbase
\@@magyar@declare@shorthandx'{\grqq}% up 66
\else\ifnum\magyar@opt@@openqq>0 % =up
\@@magyar@declare@shorthandx`{\grqq}% up 66