summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/xelatex/bidi/bidi.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-10-03 22:47:47 +0000
committerKarl Berry <karl@freefriends.org>2018-10-03 22:47:47 +0000
commitccd0f62241fae9302f2a28a14ade77c3c3d873f8 (patch)
tree21a2fb3bd382980f6c67207b290f736809bec196 /Master/texmf-dist/source/xelatex/bidi/bidi.dtx
parent6b428e6cd33a420b0df0915e9ac45f66786c3099 (diff)
bidi (3oct18)
git-svn-id: svn://tug.org/texlive/trunk@48826 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/xelatex/bidi/bidi.dtx')
-rw-r--r--Master/texmf-dist/source/xelatex/bidi/bidi.dtx46
1 files changed, 34 insertions, 12 deletions
diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi.dtx b/Master/texmf-dist/source/xelatex/bidi/bidi.dtx
index d01f5455df7..33b5734e3cd 100644
--- a/Master/texmf-dist/source/xelatex/bidi/bidi.dtx
+++ b/Master/texmf-dist/source/xelatex/bidi/bidi.dtx
@@ -5,7 +5,7 @@
%<*readme>
___________________
The bidi package
-v34.1
+v34.2
This package provides a convenient interface for typesetting
bidirectional texts in Plain TeX and LaTeX, using XeTeX engine.
@@ -44,7 +44,7 @@ mailing list whenever I have time. You can subscribe to the mailing list at
<http://tug.org/mailman/listinfo/persiantex>
-Current version release date: 2018/10/01
+Current version release date: 2018/10/03
___________________
Vafa Khalighi
@@ -242,7 +242,7 @@ by Vafa Khalighi.
\documentclass{ltxdoc}
\input{bidi-doc-preamble.ltx}
\hypersetup{%
- pdftitle={Source documentation for version 34.1 of the bidi
+ pdftitle={Source documentation for version 34.2 of the bidi
package}%
}
\EnableCrossrefs
@@ -261,7 +261,7 @@ by Vafa Khalighi.
% \GetFileInfo{\jobname.dtx}
% \title{\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}}\\
%\LARGE Bidirectional typesetting in plain \TeX{} and \LaTeX, using \XeTeX{} engine\\[5pt]
-%\large Source documentation for \textcolor{blue!65!black}{version 34.1}}
+%\large Source documentation for \textcolor{blue!65!black}{version 34.2}}
% \author{Vafa Khalighi\\
% \url{persian-tex@tug.org}}
%\setcounter{page}{0}
@@ -272,7 +272,7 @@ by Vafa Khalighi.
%\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}}
%
%\Large
-%Source documentation for \textcolor{blue!65!black}{version 34.1}}
+%Source documentation for \textcolor{blue!65!black}{version 34.2}}
%
%\vskip 0pt plus 3fill
%\textit{\large to my Master, \textbf{Ferdowsi The Great}}
@@ -338,7 +338,7 @@ by Vafa Khalighi.
%\iffalse
%<*table>
%\fi
-%% \CheckSum{50625}
+%% \CheckSum{50654}
%% \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
@@ -1951,8 +1951,8 @@ by Vafa Khalighi.
% \section{File \texttt{bidi.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\def\bididate{2018/10/01}
-\def\bidi@version{34.1}
+\def\bididate{2018/10/03}
+\def\bidi@version{34.2}
\ProvidesPackage{bidi}[\bididate\space v\bidi@version\space
Bidirectional typesetting in plain TeX and LaTeX]
\edef\@bidi@info{****************************************************^^J%
@@ -2264,9 +2264,9 @@ Bidirectional typesetting in plain TeX and LaTeX]
%\fi
% \section{File \texttt{bidi.tex}}
% \begin{macrocode}
-\def\bididate{2018/10/01}
+\def\bididate{2018/10/03}
\catcode`@=11
-\def\bidi@version{34.1}
+\def\bidi@version{34.2}
\let \protect \relax
\newlinechar`\^^J
\edef\@bidi@info{****************************************************^^J%
@@ -3051,7 +3051,8 @@ Bidirectional typesetting in plain TeX and LaTeX]
% \section{File \texttt{bidi-perpagefootnote.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{bidi-perpagefootnote}[2018/10/01 v0.1 Reset bidi footnotes counter on each page]
+\ProvidesPackage{bidi-perpagefootnote}[2018/10/03 v0.2 Reset bidi footnotes counter on each page]
+\newif\if@bidi@reset@footnote@rerun
\newcount\bidi@footnote@count
\bidi@footnote@count\z@
\newcount\bidi@page@count
@@ -3113,7 +3114,9 @@ Bidirectional typesetting in plain TeX and LaTeX]
\expandafter\ifx\csname bidi@footnote@@\number
\bidi@footnote@count\endcsname\relax
\global\c@footnote\z@
+ \global\@bidi@reset@footnote@reruntrue
\else
+ \global\@bidi@reset@footnote@rerunfalse
\expandafter\@tempcnta\csname bidi@footnote@@\number
\bidi@footnote@count\endcsname\relax
\ifnum\@tempcnta=\bidi@previous@page@count
@@ -3127,6 +3130,14 @@ Bidirectional typesetting in plain TeX and LaTeX]
\bidi@AtEndOutputPage{%
\global\advance\bidi@page@count\@ne
}
+\bidi@AfterEndDocumentCheckLabelsRerun{%
+ \if@bidi@reset@footnote@rerun
+ \PackageWarningNoLine{bidi-perpagefootnote}{%
+ Footnote(s) number(s) may be wrong.
+ Rerun to get footnote(s) number(s) right%
+ }%
+ \fi
+}
% \end{macrocode}
% \iffalse
%</bidi-perpagefootnote.sty>
@@ -3135,7 +3146,7 @@ Bidirectional typesetting in plain TeX and LaTeX]
% \section{File \texttt{biditools.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{biditools}[2018/02/22 v1.4 Programming tools for bidi package]
+\ProvidesPackage{biditools}[2018/10/03 v1.5 Programming tools for bidi package]
\providecommand{\@bidi@saveprimitive}[2]{\begingroup\escapechar`\\\relax
\edef\@tempa{\string#1}\edef\@tempb{\meaning#1}%
\ifx\@tempa\@tempb \global\let#2#1%
@@ -3814,6 +3825,17 @@ ill-advised in the old versions of bidi package.%
\protected\def\bidi@AfterEndPreamble{\@notprerr\@gobble}%
\bidi@undef\bidi@afterendpreamblehook
\ignorespaces}
+
+\bidi@newrobustcmd*{\bidi@AfterEndDocumentCheckLabelsRerun}{\bidi@gappto\bidi@afterenddocumentchecklabelsrerunhook}
+\newcommand*{\bidi@afterenddocumentchecklabelsrerunhook}{}
+
+\bidi@patchcmd\enddocument
+ {\fi\endgroup}
+ {\let\bidi@AfterEndDocumentCheckLabelsRerun\@firstofone
+ \bidi@afterenddocumentchecklabelsrerunhook
+ \fi\endgroup}
+ {}
+ {\PackageWarning{biditools}{Patching `\string\enddocument' failed}}
\AtEndDocument{\let\bidi@AfterEndPreamble\@gobble}