diff options
author | Karl Berry <karl@freefriends.org> | 2012-07-28 00:44:08 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-07-28 00:44:08 +0000 |
commit | ed70b99725d5fe977a74585de2d89d8f89381382 (patch) | |
tree | cc04e443858e52bbea9e9c4e417bd6b1f21a7776 /Master/texmf-dist/source/latex/bidi | |
parent | 1db3067f398ba5bcbbb16575dc8779dc597db2c1 (diff) |
bidi (8jul12)
git-svn-id: svn://tug.org/texlive/trunk@27207 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/bidi')
-rw-r--r-- | Master/texmf-dist/source/latex/bidi/bidi.dtx | 93 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/bidi/bidi.ins | 5 |
2 files changed, 49 insertions, 49 deletions
diff --git a/Master/texmf-dist/source/latex/bidi/bidi.dtx b/Master/texmf-dist/source/latex/bidi/bidi.dtx index e6ee667595f..630f4181a1c 100644 --- a/Master/texmf-dist/source/latex/bidi/bidi.dtx +++ b/Master/texmf-dist/source/latex/bidi/bidi.dtx @@ -5,14 +5,22 @@ %<*readme> ___________________ The bidi package -v11.157 +v11.161 This package provides a convenient interface for typesetting bidirectional texts in Plain TeX and LaTeX. +__________________________________________________ +How to file bug reports and follow development of bidi package + +The bidi package is developed on <https://github.com/vafa/bidi>. + +Users are encouraged to offer suggestions and file bug reports on +the github issue tracker: <https://github.com/vafa/bidi/issues>. + ___________________ Vafa Khalighi -vkhalighi@me.com +vafakhlg@gmail.com Copyright © 2007–2012 It may be distributed and/or modified under the LaTeX Project Public License, @@ -40,7 +48,7 @@ by Vafa Khalighi. \endpreamble \postamble -Copyright © 2009–2012 Vafa Khalighi <vkhalighi@me.com> +Copyright © 2009–2012 Vafa Khalighi <vafakhlg@gmail.com> It may be distributed and/or modified under the LaTeX Project Public License, version 1.3c or higher (your choice). The latest version of @@ -146,7 +154,6 @@ by Vafa Khalighi. \generate{\file{subfigure-xetex-bidi.def}{\from{\jobname.dtx}{subfigure-xetex-bidi.def}}} \generate{\file{tabls-xetex-bidi.def}{\from{\jobname.dtx}{tabls-xetex-bidi.def}}} \generate{\file{tabulary-xetex-bidi.def}{\from{\jobname.dtx}{tabulary-xetex-bidi.def}}} -\generate{\file{tikz-xetex-bidi.def}{\from{\jobname.dtx}{tikz-xetex-bidi.def}}} \generate{\file{titlesec-xetex-bidi.def}{\from{\jobname.dtx}{titlesec-xetex-bidi.def}}} \generate{\file{titletoc-xetex-bidi.def}{\from{\jobname.dtx}{titletoc-xetex-bidi.def}}} \generate{\file{tocbibind-xetex-bidi.def}{\from{\jobname.dtx}{tocbibind-xetex-bidi.def}}} @@ -189,13 +196,20 @@ by Vafa Khalighi. % %<*driver> \documentclass{ltxdoc} -\usepackage{calc} +\usepackage{calc,framed} \usepackage{pifont} \usepackage{bbding} \usepackage{bidicode} \usepackage{graphicx} +\usepackage{fontspec} +\setmainfont[Mapping=tex-text,Numbers=OldStyle]{Minion Pro} +\setsansfont[Mapping=tex-text,Numbers=OldStyle]{Myriad Pro} +\setmonofont{Andale Mono} +\definecolor{bidiblue}{rgb}{0.1,0.2,0.8} +\definecolor{TFFrameColor}{rgb}{0.1,0.2,0.8} +\definecolor{TFTitleColor}{rgb}{1,1,1} \usepackage[numbered]{hypdoc} -\hypersetup{pdftitle={The \textsf{bidi} Package (Support for bidirectional typesetting in plain \TeX{} and \LaTeXe)},pdfauthor={Vafa Khalighi <vkhalighi@me.com>}} +\hypersetup{pdftitle={The \textsf{bidi} Package (Support for bidirectional typesetting in plain \TeX{} and \LaTeXe)},pdfauthor={Vafa Khalighi <vafakhlg@gmail.com>},linkcolor=bidiblue,urlcolor=bidiblue,citecolor=bidiblue} \setlength\columnseprule{.4pt} \newcommand\XeTeX{Xe\TeX} \newcommand\XeLaTeX{Xe\LaTeX} @@ -236,11 +250,17 @@ by Vafa Khalighi. % \makeatletter % \title{The \textsf{bidi} Package\\[10pt] % \includegraphics[width=0.5\textwidth]{bidi-logo}\\[10pt] -% Support for bidirectional typesetting in plain \TeX{} and \LaTeXe} +% Support for bidirectional typesetting in plain \TeX{} and \LaTeXe\\ +%\url{https://github.com/vafa/bidi}} % \author{Vafa Khalighi\\ -% \url{vkhalighi@me.com}} -% \date{\today\qquad Version 11.157} +% \url{vafakhlg@gmail.com}} +% \date{\today\qquad Version 11.161} %\maketitle +%\begin{titled-frame}{How to file bug reports and follow development of \textsf{bidi} package} +%The \textsf{bidi} package is developed on \url{https://github.com/vafa/bidi}. Users are encouraged to offer suggestions and file bug reports on the github issue tracker: +%\url{https://github.com/vafa/bidi/issues}. +%\end{titled-frame} +%\newpage % \tableofcontents %\section*{Introduction} %\textsf{bidi} provides a convenient interface for typesetting bidirectional texts in plain \TeX\ and \LaTeX. @@ -254,7 +274,7 @@ by Vafa Khalighi. %in plain TeX and LaTeX. The package includes adaptations for use %with many other commonly-used packages. %Copyright (c) 2009-2012 Vafa Khalighi -%v11.157, 2012/06/05 +%v11.161, 2012/07/25 %License: LaTeX Project Public License, version 1.3c or higher (your choice) %Location on CTAN: /macros/latex/contrib/bidi %\end{lstlisting} @@ -2530,8 +2550,8 @@ by Vafa Khalighi. % \subsection{\textsf{bidi.sty}} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\def\bididate{2012/06/05} -\def\bidiversion{v11.157} +\def\bididate{2012/07/25} +\def\bidiversion{v11.161} \ProvidesPackage{bidi}[\bididate\space \bidiversion\space Bidirectional typesetting in plain TeX and LaTeX] \edef\bidiinfo{% @@ -2572,9 +2592,9 @@ Location on CTAN: /macros/latex/contrib/bidi} \fi% } \let\n@xt=\ -\def\LRE{\protect\pLRE}% +\bidi@newrobustcmd*{\LRE}{\protect\pLRE}% \def\pLRE{\protect\afterassignment\moreLRE \let\n@xt= } -\def\RLE{\protect\pRLE} +\bidi@newrobustcmd*{\RLE}{\protect\pRLE} \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} @@ -2596,7 +2616,7 @@ Location on CTAN: /macros/latex/contrib/bidi} %\fi % \subsection{\textsf{bidi.tex}} % \begin{macrocode} -\def\bididate{2012/06/05} +\def\bididate{2012/07/25} \def\bidiversion{v0.1} \catcode`@=11 \let \protect \relax @@ -2627,9 +2647,9 @@ Location on CTAN: /macros/latex/contrib/bidi} \fi% } \let\n@xt=\ -\def\LRE{\protect\pLRE}% +\protected\def\LRE{\protect\pLRE}% \def\pLRE{\protect\afterassignment\moreLRE \let\n@xt= } -\def\RLE{\protect\pRLE} +\protected\def\RLE{\protect\pRLE} \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} @@ -6437,7 +6457,7 @@ bidi implementation of tufte title] %\fi % \subsection{\textsf{colortbl-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{colortbl-xetex-bidi.def}[2010/07/25 v0.1 bidi adaptations for colortbl package for XeTeX engine] +\ProvidesFile{colortbl-xetex-bidi.def}[2012/06/10 v0.2 bidi adaptations for colortbl package for XeTeX engine] \def\CT@setup{% \@tempdimb\col@sep \@tempdimc\col@sep @@ -6448,8 +6468,8 @@ bidi implementation of tufte title] \@tempcnta \count@ \prepnext@tok \expandafter\CT@extract\the\toks\@tempcnta\columncolor!\@nil - \@addtopreamble{\if@RTL\beginL\fi% - \setbox\z@\hbox\bgroup\bgroup\if@RTL\beginR\fi + \@addtopreamble{\if@RTLtab\beginL\fi% + \setbox\z@\hbox\bgroup\bgroup\if@RTLtab\beginR\fi \ifcase \@chnum \hskip\stretch{.5}\kern\z@ \d@llarbegin @@ -6462,7 +6482,7 @@ bidi implementation of tufte title] \vtop \@startpbox{\@nextchar}\insert@column \@endpbox \or \vbox \@startpbox{\@nextchar}\insert@column \@endpbox \fi - \if@RTL\endR\fi\egroup\egroup + \if@RTLtab\endR\fi\egroup\egroup \begingroup \CT@setup \CT@column@color @@ -6473,7 +6493,7 @@ bidi implementation of tufte title] \@tempdima\ht\z@ \advance\@tempdima\minrowclearance \vrule\@height\@tempdima\@width\z@ - \unhbox\z@\if@RTL\endL\fi}% + \unhbox\z@\if@RTLtab\endL\fi}% \prepnext@tok} % \end{macrocode} % \iffalse @@ -12000,15 +12020,11 @@ bidi implementation of tufte title] %\fi % \subsection{\textsf{pgf-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{pgf-xetex-bidi.def}[2010/07/25 v0.3 bidi adaptations for pgf package for XeTeX engine] -\AtBeginDocument{% -\@ifdefinitionfileloaded{tikz-xetex-bidi}{}{% +\ProvidesFile{pgf-xetex-bidi.def}[2012/07/08 v0.4 bidi adaptations for pgf package for XeTeX engine] \let\origin@pgfpicture=\pgfpicture \let\origin@endpgfpicture=\endpgfpicture \def\pgfpicture{\ifmmode\else\LTR\beginL\fi\origin@pgfpicture} \def\endpgfpicture{\origin@endpgfpicture\ifmmode\else\endL\endLTR\fi}% -}% -} % \end{macrocode} % \iffalse %</pgf-xetex-bidi.def> @@ -12042,7 +12058,7 @@ bidi implementation of tufte title] \def\TeXXeTOn{\TeXXeTstate=1 } \def\TeXXeTOff{\TeXXeTstate=0 } \TeXXeTOn -\def\bidi@RTL@everypar{\if@RTL{\setbox\z@\lastbox\beginR\ifvoid\z@\else\box\z@\fi}\fi} +\def\bidi@RTL@everypar{\if@RTL{\setbox\z@\lastbox\beginR\ifvoid\z@\else\usebox\z@\fi}\fi} \let\bidi@o@everypar=\everypar \newtoks\bidi@n@everypar \bidi@n@everypar\expandafter{\the\bidi@o@everypar} @@ -14954,20 +14970,6 @@ bidi implementation of tufte title] % \end{macrocode} % \iffalse %</tabulary-xetex-bidi.def> -%<*tikz-xetex-bidi.def> -%\fi -% \subsection{\textsf{tikz-xetex-bidi.def}} -% \begin{macrocode} -\ProvidesFile{tikz-xetex-bidi.def}[2010/07/25 v0.4 bidi adaptations for tikz package for XeTeX engine] -\let\origin@tikzpicture=\tikzpicture -\let\origin@endtikzpicture=\endtikzpicture -\let\pgfutil@minipage=\minipage -\let\pgfutil@endminipage=\endminipage -\def\tikzpicture{\ifmmode\else\LTR\beginL\fi\origin@tikzpicture} -\def\endtikzpicture{\origin@endtikzpicture\ifmmode\else\endL\endLTR\fi} -% \end{macrocode} -% \iffalse -%</tikz-xetex-bidi.def> %<*titlesec-xetex-bidi.def> %\fi % \subsection{\textsf{titlesec-xetex-bidi.def}} @@ -15859,7 +15861,7 @@ bidi implementation of tufte title] %\fi % \subsection{\textsf{xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{xetex-bidi.def}[2012/05/01 v1.0.3 bidi adaptations for XeTeX engine] +\ProvidesFile{xetex-bidi.def}[2012/07/25 v1.0.4 bidi adaptations for XeTeX engine] \newcommand{\TeXXeTOn}{\TeXXeTstate=1 } \newcommand{\TeXXeTOff}{\TeXXeTstate=0 } \TeXXeTOn @@ -16556,7 +16558,6 @@ $\@@underline{\hbox{#1}}\m@th$\relax\fi\fi} \@ifpackageloaded{listings}{\input{listings-xetex-bidi.def}}{} \@ifpackageloaded{pstricks}{\input{pstricks-xetex-bidi.def}}{} \@ifpackageloaded{pgf}{\input{pgf-xetex-bidi.def}}{} -\@ifpackageloaded{tikz}{\input{tikz-xetex-bidi.def}}{} \@ifpackageloaded{titlesec}{\input{titlesec-xetex-bidi.def}}{} \@ifpackageloaded{titletoc}{\input{titletoc-xetex-bidi.def}}{} \@ifpackageloaded{array}{\input{array-xetex-bidi.def}}{} @@ -18292,7 +18293,7 @@ dynamic frame when using one of the \cmdname{Ncolumntop} type of commands. \mobile{۰۹۱۸۹۶۹۴۹۶} \phone{۹۸۹۰۸۳۴۱} \fax{۹۸۹۰۸۳۴۲} -\email{vkhalighi@me.com} +\email{vafakhlg@gmail.com} \extrainfo{اطلاعات اضافی} \photo[64pt]{picture} \quote{نقل قول} @@ -18365,7 +18366,7 @@ dynamic frame when using one of the \cmdname{Ncolumntop} type of commands. \mobile{۰۹۱۸۹۶۹۴۹۶} \phone{۹۸۹۰۸۳۴۱} \fax{۹۸۹۰۸۳۴۲} -\email{vkhalighi@me.com} +\email{vafakhlg@gmail.com} \extrainfo{اطلاعات اضافی} \photo[64pt]{picture} \quote{نقل قول} diff --git a/Master/texmf-dist/source/latex/bidi/bidi.ins b/Master/texmf-dist/source/latex/bidi/bidi.ins index d320e4ba03e..e947517b85c 100644 --- a/Master/texmf-dist/source/latex/bidi/bidi.ins +++ b/Master/texmf-dist/source/latex/bidi/bidi.ins @@ -24,7 +24,7 @@ \endpreamble \postamble -Copyright © 2009–2012 Vafa Khalighi <vkhalighi@me.com> +Copyright © 2009–2012 Vafa Khalighi <vafakhlg@gmail.com> It may be distributed and/or modified under the LaTeX Project Public License, version 1.3c or higher (your choice). The latest version of @@ -128,7 +128,6 @@ by Vafa Khalighi. \generate{\file{subfigure-xetex-bidi.def}{\from{\jobname.dtx}{subfigure-xetex-bidi.def}}} \generate{\file{tabls-xetex-bidi.def}{\from{\jobname.dtx}{tabls-xetex-bidi.def}}} \generate{\file{tabulary-xetex-bidi.def}{\from{\jobname.dtx}{tabulary-xetex-bidi.def}}} -\generate{\file{tikz-xetex-bidi.def}{\from{\jobname.dtx}{tikz-xetex-bidi.def}}} \generate{\file{titlesec-xetex-bidi.def}{\from{\jobname.dtx}{titlesec-xetex-bidi.def}}} \generate{\file{titletoc-xetex-bidi.def}{\from{\jobname.dtx}{titletoc-xetex-bidi.def}}} \generate{\file{tocbibind-xetex-bidi.def}{\from{\jobname.dtx}{tocbibind-xetex-bidi.def}}} @@ -140,7 +139,7 @@ by Vafa Khalighi. \generate{\file{xltxtra-xetex-bidi.def}{\from{\jobname.dtx}{xltxtra-xetex-bidi.def}}} \endbatchfile %% -%% Copyright © 2009–2012 Vafa Khalighi <vkhalighi@me.com> +%% Copyright © 2009–2012 Vafa Khalighi <vafakhlg@gmail.com> %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of |