diff options
author | Karl Berry <karl@freefriends.org> | 2010-07-17 23:23:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-07-17 23:23:18 +0000 |
commit | 306b4622046e852e3a6d1a44b180adc65d5b2bdf (patch) | |
tree | 5629332acdda731ff35d5d94593e737b0f95cc20 /Master/texmf-dist/tex/xelatex/polyglossia/gloss-hebrew.ldf | |
parent | 59346cd52c590f5aea686f78841e398040656feb (diff) |
polyglossia update (17jul10)
git-svn-id: svn://tug.org/texlive/trunk@19504 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/polyglossia/gloss-hebrew.ldf')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/polyglossia/gloss-hebrew.ldf | 67 |
1 files changed, 9 insertions, 58 deletions
diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-hebrew.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-hebrew.ldf index bcf860ad2ee..b5766d59060 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-hebrew.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-hebrew.ldf @@ -3,12 +3,15 @@ \RequirePackage{hebrewcal} \makeatletter -\ifx\l@hebrew\@undefined - %\xpg@nopatterns{Hebrew}% - \adddialect\l@hebrew\l@nohyphenation -\fi - -\def\hebrew@RL{\relax} +\PolyglossiaSetup{hebrew}{ + script=Hebrew, + direction=RL, + scripttag=hebr, + hyphennames={nohyphenation}, + fontsetup=true, + %TODO localalph={hebrewnumeral,Hebrewnumeral} + %digits = hebrewnumber +} \newif\if@calendar@hebrew \def\tmp@hebrew{hebrew} @@ -82,7 +85,6 @@ \if@hebrew@numerals \protect\hebrewnumeral{#1}% \else - %%\RL{\protect\reset@font\protect\number#1}% \number#1% \fi } @@ -108,57 +110,6 @@ \renewcommand\thefootnote{\protect\number{\c@footnote}}% } -\def\hebrew@language{\language=\l@hebrew} - -\def\hebrew@font{% - \@ifundefined{hebrewfont}{% - \normalfontlatin% - \font\zf@basefont="\csname zf@family@fontdef\f@family\endcsname" at \f@size pt - \zf@check@ot@script{hebr}% - \if@tempswa - \addfontfeature{Script=Hebrew}% - \else - \PackageError{polyglossia}{^^J - The current font does not contain the Hebrew script!^^J - Please define \string\hebrewfont\space with \string\newfontfamily}% - \fi}% - {\hebrewfont}% -} - -% TODO add setup to define Sans and Mono Hebrew fonts if desired -\def\hebrew@font@sf{% - \@ifundefined{hebrewfontsf}{% -% \sffamilylatin% FIXME -% \font\zf@basefont="\csname zf@family@fontdef\f@family\endcsname" at \f@size pt -% \zf@check@ot@script{arab}% -% \if@tempswa% -% \addfontfeature{Script=Hebrew}% -% \else% - \hebrew@font% -% \fi% - }% - {\hebrewfontsf}% -} -\def\hebrew@font@tt{% - \@ifundefined{hebrewfonttt}{% -% \ttfamilylatin% FIXME -% \font\zf@basefont="\csname zf@family@fontdef\f@family\endcsname" at \f@size pt -% \zf@check@ot@script{arab}% -% \if@tempswa% -% \addfontfeature{Script=Hebrew}% -% \else% - \hebrew@font% -% \fi% - }% - {\hebrewfonttt}% -} -\def\selectnormalfonthebrew{% - \let\normalfont=\hebrew@font% - \let\rmfamily=\hebrew@font% - \let\sffamily=\hebrew@font@sf% - \let\ttfamily=\hebrew@font@tt% - \def\reset@font{\normalfont}} - \def\blockextras@hebrew{% \let\@@MakeUppercase\MakeUppercase% \def\MakeUppercase##1{##1}% |