diff options
author | Karl Berry <karl@freefriends.org> | 2018-01-21 00:45:04 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-01-21 00:45:04 +0000 |
commit | 8ba9e668ca694aacae8643834362d77694eab959 (patch) | |
tree | 3a0c14b1ef8fc90b2dbbe5fb25f5a363355fe369 /Master/texmf-dist/tex/xelatex/bidi/bidi.tex | |
parent | 5e0fb3573b2538b136d1b71b724482f55ebe44e9 (diff) |
bidi (20jan18)
git-svn-id: svn://tug.org/texlive/trunk@46395 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/bidi/bidi.tex')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/bidi/bidi.tex | 30 |
1 files changed, 26 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/xelatex/bidi/bidi.tex b/Master/texmf-dist/tex/xelatex/bidi/bidi.tex index e9f0bea479e..45e299a68da 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/bidi.tex +++ b/Master/texmf-dist/tex/xelatex/bidi/bidi.tex @@ -17,7 +17,7 @@ %% by Vafa Khalighi. %% %% -%% \CheckSum{49370} +%% \CheckSum{49514} %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z @@ -34,9 +34,9 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} %% -\def\bididate{2018/01/17} -\def\bidi@version{0.3} +\def\bididate{2018/01/21} \catcode`@=11 +\def\bidi@version{0.4} \let \protect \relax \newlinechar`\^^J \edef\@bidi@info{****************************************************^^J% @@ -66,7 +66,14 @@ \message{\@bidi@info} \edef\bidi@everyjob{\the\everyjob} \everyjob{\bidi@everyjob\message{\@bidi@info}} -\def\bidiversion{$\bidi@version$} +\def\bidiversion{% + \relax + \ifmmode + \bidi@version + \else + $\bidi@version$ + \fi +} \input iftex.sty \RequireXeTeX \newif\if@RTLmain @@ -89,7 +96,22 @@ \def\pRLE{\protect\afterassignment\moreRLE \let\n@xt= } \def\bracetext{\ifcat\n@xt{\else\ifcat\n@xt}\fi \errmessage{Missing left brace has been substituted}\fi \bgroup} +\newinsert\@bidi@copyins@ +\skip\@bidi@copyins@=12\p@ +\dimen\@bidi@copyins@=40pc +\count\@bidi@copyins@=1000 +\def\@bidi@inslogo@{\insert\@bidi@copyins@{\@bidi@logo@}} +\def\@bidi@logo@hb@xt@{% + \if@RTLmain + \hboxR to + \else + \hboxL to + \fi +} +\def\@bidi@logo@{\@bidi@logo@hb@xt@\hsize{\hss\LRE{\bf Typeset by the bidi package}}} +\def\nobidilogo{\let\@bidi@logo@\@empty \let\@bidi@inslogo@\@empty} \input plain-xetex-bidi.def +\@bidi@inslogo@ \catcode`@=12 \endinput %% |