From 01b55acc2fbfc8390979a1676894df411f65c1af Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sun, 3 Mar 2019 22:15:37 +0000
Subject: bidi (3mar19)

git-svn-id: svn://tug.org/texlive/trunk@50218 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/source/xelatex/bidi/bidi.dtx | 81 ++++++++++++++------------
 1 file changed, 45 insertions(+), 36 deletions(-)

(limited to 'Master/texmf-dist/source/xelatex/bidi/bidi.dtx')

diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi.dtx b/Master/texmf-dist/source/xelatex/bidi/bidi.dtx
index b24a86b74fc..ea29a450206 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
-v35.5
+v35.7
 
 This package provides a convenient interface for typesetting
 bidirectional texts in Plain TeX and LaTeX, using XeTeX engine.
@@ -15,24 +15,24 @@ documentation, or ask for any new features, or suggest any
 improvements, or ask any questions about the package, then
 please use the issue tracker:
 
-  <https://github.com/bidi-tex/bidi/issues>
+  <https://github.com/vafa-ac/bidi/issues>
   
 In doing so, please always explain your issue well enough, 
 and always include a minimal working example showing the 
 issue.
   
-Current version release date: 2019/01/09
+Current version release date: 2019/03/03
 
 ___________________
-Vafa Khalighi Copyright (c) 2007--2018
-Vafa Khalighi and bidi-tex group Copyright (c) 2019
+Vafa Khalighi
 
+Copyright (c) 2007--2019
 It may be distributed and/or modified under the LaTeX Project Public License,
 version 1.3c or higher (your choice). The latest version of
 this license is at: http://www.latex-project.org/lppl.txt
 
-This work is “maintained” (as per LPPL maintenance status) 
-by Vafa Khalighi and bidi-tex github group
+This work is “author-maintained” (as per LPPL maintenance status) 
+by Vafa Khalighi.
 %</readme>
 %<*internal>
 \fi
@@ -44,14 +44,14 @@ by Vafa Khalighi and bidi-tex github group
 \preamble
 
   __________________________________________________
-  Copyright (c) 2009--2018  Vafa Khalighi 
+  Copyright (c) 2009--2019  Vafa Khalighi 
 
   It may be distributed and/or modified under the LaTeX Project Public License,
   version 1.3c or higher (your choice). The latest version of
   this license is at: http://www.latex-project.org/lppl.txt
 
-  This work is “maintained” (as per LPPL maintenance status) 
-  by Vafa Khalighi abd bidi-tex github group.
+  This work is “author-maintained” (as per LPPL maintenance status) 
+  by Vafa Khalighi.
 
 
 \endpreamble
@@ -218,7 +218,7 @@ by Vafa Khalighi and bidi-tex github group
 \documentclass{ltxdoc}
 \input{bidi-doc-preamble.ltx}
 \hypersetup{%
-  pdftitle={Source documentation for version 35.5 of the bidi
+  pdftitle={Source documentation for version 35.7 of the bidi
                 package}%
 }
 \EnableCrossrefs
@@ -237,7 +237,7 @@ by Vafa Khalighi and bidi-tex github group
 % \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 35.5}}
+%\large Source documentation for \textcolor{blue!65!black}{version 35.7}}
 % \author{Vafa Khalighi}
 %\setcounter{page}{0}
 %\thispagestyle{empty}
@@ -247,7 +247,7 @@ by Vafa Khalighi and bidi-tex github group
 %\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}}
 %
 %\Large
-%Source documentation for \textcolor{blue!65!black}{version 35.5}}
+%Source documentation for \textcolor{blue!65!black}{version 35.7}}
 %
 %\vskip 0pt plus 3fill
 %\textit{\large to my Master, \textbf{Ferdowsi The Great}}
@@ -258,7 +258,7 @@ by Vafa Khalighi and bidi-tex github group
 %or ask for any new features, or suggest any improvements, or ask any questions about the package, then please use the issue tracker:
 %
 %\medskip
-%  \centerline{\url{https://github.com/bidi-tex/bidi/issues}}
+%  \centerline{\url{https://github.com/vafa-ac/bidi/issues}}
 %
 %\medskip
 %In doing so, please always explain your issue well enough, and always include
@@ -268,7 +268,7 @@ by Vafa Khalighi and bidi-tex github group
 %
 %\vskip 0pt plus 3fill
 %
-%Copyright (c) 2007--2018 Vafa Khalighi
+%Copyright (c) 2007--2019 Vafa Khalighi
 %
 %\medskip
 %Permission is granted to distribute and/or modify \emph{both the documentation and the code} under the conditions of the \LaTeX{} Project Public License, either version 1.3c of this license or (at your option) any later version.
@@ -282,7 +282,7 @@ by Vafa Khalighi and bidi-tex github group
 %\iffalse
 %<*table>
 %\fi
-%% \CheckSum{50073}
+%% \CheckSum{50080}
 %% \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
@@ -1895,8 +1895,8 @@ by Vafa Khalighi and bidi-tex github group
 % \section{File \texttt{bidi.sty}}
 %    \begin{macrocode}
 \NeedsTeXFormat{LaTeX2e}
-\def\bididate{2019/01/19}
-\def\bidi@version{35.5}
+\def\bididate{2019/03/03}
+\def\bidi@version{35.7}
 \ProvidesPackage{bidi}[\bididate\space v\bidi@version\space
 Bidirectional typesetting in plain TeX and LaTeX]
 \edef\@bidi@info{****************************************************^^J%
@@ -1909,7 +1909,7 @@ Bidirectional typesetting in plain TeX and LaTeX]
 * and LaTeX.  The package includes adaptations^^J%
 * for use with many other commonly-used packages.^^J%
 * ^^J%
-* Copyright (c) 2009--2018 Vafa Khalighi^^J%
+* Copyright (c) 2009--2019 Vafa Khalighi^^J%
 * ^^J%
 * v\bidi@version, \bididate^^J%
 * ^^J%
@@ -1918,7 +1918,7 @@ Bidirectional typesetting in plain TeX and LaTeX]
 * ^^J%
 * Location on CTAN: /macros/xetex/latex/bidi^^J%
 * ^^J%
-* Issue tracker: https://github.com/bidi-tex/bidi/issues^^J%
+* Issue tracker: https://github.com/vafa-ac/bidi/issues^^J%
 * ^^J%
 ****************************************************}
 \typeout{\@bidi@info}
@@ -1979,7 +1979,7 @@ Bidirectional typesetting in plain TeX and LaTeX]
 }
 \newcommand*{\@bidi@pdfcustomproperties}{%
   This is the bidi package, Version \bidi@version,
-  Released December 11, 2018. 
+  Released March 3, 2019. 
 }
 \@RTLmainfalse
 \AtBeginDocument{%
@@ -2221,9 +2221,9 @@ Bidirectional typesetting in plain TeX and LaTeX]
 %\fi
 % \section{File \texttt{bidi.tex}}
 %    \begin{macrocode}
-\def\bididate{2019/01/19}
+\def\bididate{2019/03/03}
 \catcode`@=11
-\def\bidi@version{35.5}
+\def\bidi@version{35.7}
 \let \protect \relax
 \newlinechar`\^^J
 \edef\@bidi@info{****************************************************^^J%
@@ -2236,7 +2236,7 @@ Bidirectional typesetting in plain TeX and LaTeX]
 * and LaTeX.  The package includes adaptations^^J%
 * for use with many other commonly-used packages.^^J%
 * ^^J%
-* Copyright (c) 2009--2018 Vafa Khalighi^^J%
+* Copyright (c) 2009--2019 Vafa Khalighi^^J%
 * ^^J%
 * v\bidi@version, \bididate^^J%
 * ^^J%
@@ -2245,7 +2245,7 @@ Bidirectional typesetting in plain TeX and LaTeX]
 * ^^J%
 * Location on CTAN: /macros/xetex/latex/bidi^^J%
 * ^^J%
-* Issue tracker: https://github.com/bidi-tex/bidi/issues^^J%
+* Issue tracker: https://github.com/vafa-ac/bidi/issues^^J%
 * ^^J%
 ****************************************************}
 \message{\@bidi@info}
@@ -2320,7 +2320,7 @@ Bidirectional typesetting in plain TeX and LaTeX]
 }
 \def\@bidi@pdfcustomproperties{%
   This is the bidi package, Version \bidi@version,
-  Released December 11, 2018. 
+  Released March 3, 2019. 
 }
 \def\bidi@pdfm@mark{%
   \special{pdf:%
@@ -6549,7 +6549,7 @@ bidi implementation of tufte title]
 %    \begin{macrocode}
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{bidipoem}%
-[2014/04/27 v0.9 Environments for typesetting Persian traditional and modern poems]
+[2019/03/03 v1.0 Environments for typesetting Persian traditional and modern poems]
 
 % Usage:
 %
@@ -6756,19 +6756,12 @@ bidi implementation of tufte title]
 \par
 \vskip\baselineskip
 \poemskip
-  \if@noparlist \else
-    \ifdim\lastskip >\z@
-      \@tempskipa\lastskip \vskip -\lastskip
-      \advance\@tempskipa\parskip \advance\@tempskipa -\@outerparskip
-      \vskip\@tempskipa
-    \fi
-    \@endparenv
-  \fi
 \ifdim\new@poem@width<\poem@width
 \global\let\poem@needrun\relax
 \fi
         \poem@write@aux{poem@width@\romannumeral\c@poem@no}{\new@poem@width}%
 \ifx\AtEndDocument\undefined\poem@finish\fi
+\@endparenv
 }
 
 
@@ -21803,7 +21796,7 @@ to\rtside{\box\bslice\hfil}}
 %\fi
 % \section{File \texttt{latex-xetex-bidi.def}}
 %    \begin{macrocode}
-\ProvidesFile{latex-xetex-bidi.def}[2018/10/11 v1.3.6 bidi adaptations  for `latex.ltx' for XeTeX engine]
+\ProvidesFile{latex-xetex-bidi.def}[2019/03/03 v1.3.7 bidi adaptations  for `latex.ltx' for XeTeX engine]
 \newcommand{\TeXXeTOn}{\TeXXeTstate\@ne}
 \newcommand{\TeXXeTOff}{\TeXXeTstate\z@}
 \TeXXeTOn
@@ -21857,8 +21850,24 @@ to\rtside{\box\bslice\hfil}}
 \newcommand*{\bidi@rightskip}{\if@RTL\leftskip\else\rightskip\fi}
 \def\LTR{\par\@RTLfalse\@RTL@footnotefalse\@RTLtabfalse\hsize\linewidth\parshape\z@}
 \def\endLTR{\par}
+\newenvironment{LTR*}{\LTR
+  \everypar{%
+    {\setbox\z@\lastbox
+      \ifvoid\z@
+        \kern-\parindent
+    \fi}%
+  }%
+}{\endLTR\@endpetrue}
 \def\RTL{\par\@RTLtrue\@RTL@footnotetrue\@RTLtabtrue\hsize\linewidth\parshape\z@}
 \def\endRTL{\par}
+\newenvironment{RTL*}{\RTL
+  \everypar{%
+    {\setbox\z@\lastbox
+      \ifvoid\z@
+        \kern-\parindent
+    \fi}%
+  }%
+}{\endRTL\@endpetrue}
 \def\setRTL{\@RTLtrue\@RTL@footnotetrue\@RTLtabtrue}
 \def\setLTR{\@RTLfalse\@RTL@footnotefalse\@RTLtabfalse}
 \let\unsetRTL=\setLTR
-- 
cgit v1.2.3

