summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/xelatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-06-15 21:10:05 +0000
committerKarl Berry <karl@freefriends.org>2018-06-15 21:10:05 +0000
commitdf818138a81e60aa4f59b5558202aa5217062165 (patch)
tree03bc4ddd65e216b5ceef32aef0e61959aaa55627 /Master/texmf-dist/source/xelatex
parentec150fab314b03b05568f511abcf45e2249e1300 (diff)
bidi (15jun18)
git-svn-id: svn://tug.org/texlive/trunk@48021 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/xelatex')
-rw-r--r--Master/texmf-dist/source/xelatex/bidi/bidi-doc-intro.ltx4
-rw-r--r--Master/texmf-dist/source/xelatex/bidi/bidi-doc-title.ltx6
-rw-r--r--Master/texmf-dist/source/xelatex/bidi/bidi.dtx80
3 files changed, 66 insertions, 24 deletions
diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi-doc-intro.ltx b/Master/texmf-dist/source/xelatex/bidi/bidi-doc-intro.ltx
index 78cb4961ea7..9768e9ded75 100644
--- a/Master/texmf-dist/source/xelatex/bidi/bidi-doc-intro.ltx
+++ b/Master/texmf-dist/source/xelatex/bidi/bidi-doc-intro.ltx
@@ -19,14 +19,14 @@ If you use \textsf{bidi} package to write any input \TeX\ document, and then run
*
* Copyright (c) 2009--2018 Vafa Khalighi
*
-* v32.9, 2018/02/22
+* v33.0, 2018/06/15
*
* License: LaTeX Project Public License, version
* 1.3c or higher (your choice)
*
* Location on CTAN: /macros/xetex/latex/bidi
*
-* Issue tracker: https://github.com/tex-xet/bidi/issues
+* Issue tracker: https://gitlab.com/persian-tex/bidi/issues
*
* Support: persian-tex@tug.org
*
diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi-doc-title.ltx b/Master/texmf-dist/source/xelatex/bidi/bidi-doc-title.ltx
index 470d0b72023..bb2e1a21928 100644
--- a/Master/texmf-dist/source/xelatex/bidi/bidi-doc-title.ltx
+++ b/Master/texmf-dist/source/xelatex/bidi/bidi-doc-title.ltx
@@ -3,7 +3,7 @@
\begin{document}
\title{\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}}\\
\LARGE Bidirectional typesetting in plain \TeX{} and \LaTeX, using \XeTeX{} engine\\[5pt]
-\large User documentation for \textcolor{blue!65!black}{version 32.9}}
+\large User documentation for \textcolor{blue!65!black}{version 33.0}}
\author{Vafa Khalighi\\
\url{persian-tex@tug.org}}
\setcounter{page}{0}
@@ -14,7 +14,7 @@
\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}}
\Large
-User documentation for \textcolor{blue!65!black}{version 32.9}}
+User documentation for \textcolor{blue!65!black}{version 33.0}}
\vskip 0pt plus 3fill
\textit{\large to my Master, \textbf{Ferdowsi The Great}}
@@ -45,7 +45,7 @@ about the package, then please do not send any direct email to me; I will not
answer any direct email. Instead please use the issue tracker:
\medskip
- \centerline{\url{https://github.com/tex-xet/bidi/issues}}
+ \centerline{\url{https://gitlab.com/persian-tex/bidi/issues}}
\medskip
In doing so, please always explain your issue well enough, always include
diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi.dtx b/Master/texmf-dist/source/xelatex/bidi/bidi.dtx
index e31d9d76ddd..662ad996dca 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
-v32.9
+v33.0
This package provides a convenient interface for typesetting
bidirectional texts in Plain TeX and LaTeX, using XeTeX engine.
@@ -31,7 +31,7 @@ improvements, or ask any questions about the package, then
please do not send any direct email to me; I will not answer any
direct email. Instead please use the issue tracker:
- <https://github.com/tex-xet/bidi/issues>
+ <https://gitlab.com/persian-tex/bidi/issues>
In doing so, please always explain your issue well enough, always
include a minimal working example showing the issue, and always
@@ -39,7 +39,7 @@ choose the appropriate label for your query (i.e. if you are reporting
any bugs, choose `Bug' label).
-Current version release date: 2018/02/22
+Current version release date: 2018/06/15
___________________
Vafa Khalighi
@@ -236,7 +236,7 @@ by Vafa Khalighi.
\documentclass{ltxdoc}
\input{bidi-doc-preamble.ltx}
\hypersetup{%
- pdftitle={Source documentation for version 32.9 of the bidi
+ pdftitle={Source documentation for version 33.0 of the bidi
package}%
}
\EnableCrossrefs
@@ -255,7 +255,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 32.9}}
+%\large Source documentation for \textcolor{blue!65!black}{version 33.0}}
% \author{Vafa Khalighi\\
% \url{persian-tex@tug.org}}
%\setcounter{page}{0}
@@ -266,7 +266,7 @@ by Vafa Khalighi.
%\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}}
%
%\Large
-%Source documentation for \textcolor{blue!65!black}{version 32.9}}
+%Source documentation for \textcolor{blue!65!black}{version 33.0}}
%
%\vskip 0pt plus 3fill
%\textit{\large to my Master, \textbf{Ferdowsi The Great}}
@@ -297,7 +297,7 @@ by Vafa Khalighi.
%answer any direct email. Instead please use the issue tracker:
%
%\medskip
-% \centerline{\url{https://github.com/tex-xet/bidi/issues}}
+% \centerline{\url{https://gitlab.com/persian-tex/bidi/issues}}
%
%\medskip
%In doing so, please always explain your issue well enough, always include
@@ -322,7 +322,7 @@ by Vafa Khalighi.
%\iffalse
%<*table>
%\fi
-%% \CheckSum{49766}
+%% \CheckSum{49812}
%% \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
@@ -1945,8 +1945,8 @@ by Vafa Khalighi.
% \section{File \texttt{bidi.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\def\bididate{2018/02/22}
-\def\bidi@version{32.9}
+\def\bididate{2018/06/15}
+\def\bidi@version{33.0}
\ProvidesPackage{bidi}[\bididate\space v\bidi@version\space
Bidirectional typesetting in plain TeX and LaTeX]
\edef\@bidi@info{****************************************************^^J%
@@ -1968,7 +1968,7 @@ Bidirectional typesetting in plain TeX and LaTeX]
* ^^J%
* Location on CTAN: /macros/xetex/latex/bidi^^J%
* ^^J%
-* Issue tracker: https://github.com/tex-xet/bidi/issues^^J%
+* Issue tracker: https://gitlab.com/persian-tex/bidi/issues^^J%
* ^^J%
* Support: persian-tex@tug.org^^J%
* ^^J%
@@ -2046,7 +2046,7 @@ Bidirectional typesetting in plain TeX and LaTeX]
\newinsert\@bidi@copyins@
\skip\@bidi@copyins@=12\p@
\dimen\@bidi@copyins@=40pc
-\count\@bidi@copyins@=1000
+%\count\@bidi@copyins@=1000
\newcommand*{\@bidi@inslogo@}{\insert\@bidi@copyins@{\@bidi@logo@}}
\newcommand*{\@bidi@logo@hb@xt@}{%
\if@RTLmain
@@ -2055,7 +2055,23 @@ Bidirectional typesetting in plain TeX and LaTeX]
\hboxL to
\fi
}
-\newcommand*{\@bidi@logo@}{\@bidi@logo@hb@xt@\textwidth{\hss\LRE{\bfseries Typeset by the \textsf{bidi} package}}}
+\newcommand*{\@bidi@logo}[1]{%
+ \toks@{%
+ \setbox\z@\hbox{%
+ \special{%
+ pdf:image width 50pt height 50pt (#1)%
+ }
+ }%
+ \dp\z@\z@
+ \ht\z@=50pt
+ \wd\z@=50pt
+ \beginL
+ \lower20pt\box\z@
+ \endL
+ }%
+ \the\toks@
+}
+\newcommand*{\@bidi@logo@}{\@bidi@logo@hb@xt@\textwidth{\hss\LRE{\bfseries Typeset by the \textsf{bidi} package\quad\@bidi@logo{bidi-logo.pdf}}}}
\input{latex-xetex-bidi.def}
\input{loadingorder-xetex-bidi.def}
\define@choicekey{bidi.sty}{RTLdocument}[\bidi@tempa\bidi@tempb]{on,off}[on]{%
@@ -2183,9 +2199,9 @@ Bidirectional typesetting in plain TeX and LaTeX]
%\fi
% \section{File \texttt{bidi.tex}}
% \begin{macrocode}
-\def\bididate{2018/02/22}
+\def\bididate{2018/06/15}
\catcode`@=11
-\def\bidi@version{32.9}
+\def\bidi@version{33.0}
\let \protect \relax
\newlinechar`\^^J
\edef\@bidi@info{****************************************************^^J%
@@ -2207,7 +2223,7 @@ Bidirectional typesetting in plain TeX and LaTeX]
* ^^J%
* Location on CTAN: /macros/xetex/latex/bidi^^J%
* ^^J%
-* Issue tracker: https://github.com/tex-xet/bidi/issues^^J%
+* Issue tracker: https://gitlab.com/persian-tex/bidi/issues^^J%
* ^^J%
* Support: persian-tex@tug.org^^J%
* ^^J%
@@ -2258,7 +2274,23 @@ Bidirectional typesetting in plain TeX and LaTeX]
\hboxL to
\fi
}
-\def\@bidi@logo@{\@bidi@logo@hb@xt@\hsize{\hss\LRE{\bf Typeset by the bidi package}}}
+\def\@bidi@logo#1{%
+ \toks@{%
+ \setbox\z@\hbox{%
+ \special{%
+ pdf:image width 50pt height 50pt (#1)%
+ }
+ }%
+ \dp\z@\z@
+ \ht\z@=50pt
+ \wd\z@=50pt
+ \beginL
+ \lower20pt\box\z@
+ \endL
+ }%
+ \the\toks@
+}
+\def\@bidi@logo@{\@bidi@logo@hb@xt@\hsize{\hss\LRE{\bf Typeset by the bidi package\quad\@bidi@logo{bidi-logo.pdf}}}}
\def\nobidilogo{\let\@bidi@logo@\@empty \let\@bidi@inslogo@\@empty}
\def\@bidi@pdfcreator{%
The bidi package, v\bidi@version, \bididate
@@ -21687,8 +21719,18 @@ to\rtside{\box\bslice\hfil}}
\long\def\@iiiparbox#1#2[#3]#4#5{%
\leavevmode
\@pboxswfalse
- \if@hboxRconstruct\@bidi@list@minipage@parbox@not@nobtrue\fi
- \if@RTL\if#1t\@bidi@list@minipage@parboxtrue\else\if#1b\@bidi@list@minipage@parboxtrue\fi\fi\fi
+ \if@hboxRconstruct
+ \@bidi@list@minipage@parbox@not@nobtrue
+ \fi
+ \if@RTL
+ \ifx#1t%
+ \@bidi@list@minipage@parboxtrue
+ \else
+ \ifx#1b%
+ \@bidi@list@minipage@parboxtrue
+ \fi
+ \fi
+ \fi
\setlength\@tempdima{#4}%
\@begin@tempboxa\vbox{\hsize\@tempdima\@parboxrestore#5\@@par}%
\ifx\relax#2\else