summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bidi
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-10-23 22:24:49 +0000
committerKarl Berry <karl@freefriends.org>2011-10-23 22:24:49 +0000
commit6cbc7ea970ec21c86eccb8568e3845847ecaeb26 (patch)
treec374ae8d1d5fef32858ce3c9f2171b8155511382 /Master/texmf-dist/tex/latex/bidi
parent67f2443141b95dbcc9238477a4e27d495f516209 (diff)
bidi (23oct11)
git-svn-id: svn://tug.org/texlive/trunk@24368 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bidi')
-rw-r--r--Master/texmf-dist/tex/latex/bidi/bidi.sty25
-rw-r--r--Master/texmf-dist/tex/latex/bidi/xetex-bidi.def2
2 files changed, 25 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/bidi/bidi.sty b/Master/texmf-dist/tex/latex/bidi/bidi.sty
index 324998277fd..66dc5318296 100644
--- a/Master/texmf-dist/tex/latex/bidi/bidi.sty
+++ b/Master/texmf-dist/tex/latex/bidi/bidi.sty
@@ -14,9 +14,32 @@
%%
\NeedsTeXFormat{LaTeX2e}
\def\bididate{2012/01/01}
-\def\bidiversion{v1.4.2}
+\def\bidiversion{v1.4.3}
\ProvidesPackage{bidi}[\bididate\space \bidiversion\space
Bidirectional typesetting in plain TeX and LaTeX]
+\def\bidi@reserved@a#1/#2/#3\@nil{%
+ \count@\year
+ \advance\count@-#1\relax
+ \multiply\count@ by 12\relax
+ \advance\count@\month
+ \advance\count@-#2\relax}
+\expandafter\bidi@reserved@a\bididate\@nil
+\ifnum\count@>3
+ \typeout{^^J%
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!^^J%
+! You are attempting to use a version of bidi package^^J%
+! That is more than three months old.^^J%
+!^^J%
+! If you enter <return> to scroll past this message then the output^^J%
+! may be written on \jobname.pdf without any further errors^^J%
+! but please consider obtaining newer bidi package^^J%
+! before continuing to use bidi package.^^J%
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!^^J%
+}
+ \errhelp{To avoid this error message, obtain new bidi package.}
+ \errmessage{bidi package more than three months old!}
+\fi
+\let\bidi@reserved@a\relax
\edef\bidiinfo{%
bidi package (Support for bidirectional typesetting in plain TeX and LaTeX)^^J
Description: A convenient interface for typesetting bidirectional^^J
diff --git a/Master/texmf-dist/tex/latex/bidi/xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/xetex-bidi.def
index e4ab6afe454..35e987ebb1a 100644
--- a/Master/texmf-dist/tex/latex/bidi/xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/xetex-bidi.def
@@ -113,7 +113,7 @@
\def\setRTLbibitems{\@RTLbibitemstrue\@LTRbibitemsfalse}
\def\setLTRbibitems{\@LTRbibitemstrue\@RTLbibitemsfalse}
\def\setdefaultbibitems{\@RTLbibitemsfalse\@LTRbibitemsfalse}
-\def\list#1#2{\noindent%
+\def\list#1#2{%
\ifnum \@listdepth >5\relax
\@toodeep
\else