diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/bidi')
-rw-r--r-- | Master/texmf-dist/source/latex/bidi/bidi.dtx | 213 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/bidi/bidi.ins | 4 |
2 files changed, 185 insertions, 32 deletions
diff --git a/Master/texmf-dist/source/latex/bidi/bidi.dtx b/Master/texmf-dist/source/latex/bidi/bidi.dtx index 04462df6698..cdeeb0fd89c 100644 --- a/Master/texmf-dist/source/latex/bidi/bidi.dtx +++ b/Master/texmf-dist/source/latex/bidi/bidi.dtx @@ -5,16 +5,16 @@ %<*readme> ___________________ The bidi package -v1.2.5 +v1.2.6 This package provides a convenient interface for typesetting bidirectional texts in Plain TeX and LaTeX. -This version fixes all the bugs that were present in v1.2.4. +This version fixes all the bugs that were present in v1.2.5. ___________________ Vafa Khalighi -vafa018@gmail.com +vafaklg@gmail.com Copyright © 2007–2011 It may be distributed and/or modified under the LaTeX Project Public License, @@ -42,7 +42,7 @@ by Vafa Khalighi. \endpreamble \postamble -Copyright © 2009–2011 Vafa Khalighi <vafa018@gmail.com> +Copyright © 2009–2011 Vafa Khalighi <vafaklg@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 @@ -186,7 +186,7 @@ by Vafa Khalighi. \usepackage{bbding} \usepackage{bidicode} \usepackage[numbered]{hypdoc} -\hypersetup{pdftitle={The \textsf{bidi} Package (Support for bidirectional typesetting in plain \TeX{} and \LaTeXe)},pdfauthor={Vafa Khalighi <vafa018@gmail.com>}} +\hypersetup{pdftitle={The \textsf{bidi} Package (Support for bidirectional typesetting in plain \TeX{} and \LaTeXe)},pdfauthor={Vafa Khalighi <vafaklg@gmail.com>}} \setlength\columnseprule{.4pt} \newcommand\XeTeX{Xe\TeX} \newcommand\XeLaTeX{Xe\LaTeX} @@ -227,8 +227,8 @@ by Vafa Khalighi. % \title{The \textsf{bidi} Package\\ \url{https://bitbucket.org/vafa/bidi}\\[5pt] % Support for bidirectional typesetting in plain \TeX{} and \LaTeXe} % \author{Vafa Khalighi\\ -% \url{vafa018@gmail.com}} -% \date{\today\qquad Version 1.2.5} +% \url{vafaklg@gmail.com}} +% \date{\today\qquad Version 1.2.6} % \maketitle % \tableofcontents %\section{Introduction} @@ -243,7 +243,7 @@ by Vafa Khalighi. %in plain TeX and LaTeX. The package includes adaptations for use %with many other commonly-used packages. %Copyright (c) 2009-2011 Vafa Khalighi -%v1.2.5, 2011/08/13 +%v1.2.6, 2011/08/26 %License: LaTeX Project Public License, version 1.3c or higher (your choice) %Home: https://bitbucket.org/vafa/bidi %Location on CTAN: /macros/latex/contrib/bidi @@ -854,7 +854,7 @@ by Vafa Khalighi. % % % \begin{macrocode} -\ProvidesFile{amsart-xetex-bidi.def}[2010/07/25 v0.5 bidi adaptations for amsart class for XeTeX engine] +\ProvidesFile{amsart-xetex-bidi.def}[2011/08/26 v0.6 bidi adaptations for amsart class for XeTeX engine] \def\@tocline#1#2#3#4#5#6#7{\relax \ifnum #1>\c@tocdepth % then omit \else @@ -941,6 +941,15 @@ by Vafa Khalighi. \def\@noitemerr{\@latex@warning{Empty `thebibliography' environment}}% \endlist } +\def\theindex{\@restonecoltrue\if@twocolumn\@restonecolfalse\fi + \columnseprule\z@ \columnsep 35\p@ + \@indextitlestyle + \thispagestyle{plain}% + \let\item\@idxitem + \parindent\z@ \parskip\z@\@plus.3\p@\relax + \if@RTL\raggedleft\else\raggedright\fi + \hyphenpenalty\@M + \footnotesize} % \end{macrocode} % %\iffalse @@ -1338,6 +1347,21 @@ by Vafa Khalighi. {\def\@noitemerr {\@latex@warning{Empty `thebibliography' environment}}% \endlist} +\renewenvironment{theindex} + {\if@twocolumn + \@restonecolfalse + \else + \@restonecoltrue + \fi + \columnseprule \z@ + \columnsep 35\p@ + \twocolumn[\section*{\indexname}]% + \@mkboth{\MakeUppercase\indexname}% + {\MakeUppercase\indexname}% + \thispagestyle{plain}\parindent\z@ + \parskip\z@ \@plus .3\p@\relax + \let\item\@idxitem} + {\if@restonecol\onecolumn\else\clearpage\fi} % \end{macrocode} % \iffalse %</article-xetex-bidi.def> @@ -1345,7 +1369,22 @@ by Vafa Khalighi. %\fi % \subsection{\textsf{artikel1-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{artikel1-xetex-bidi.def}[2010/07/25 v0.1 bidi adaptations for artikel1 class for XeTeX engine] +\ProvidesFile{artikel1-xetex-bidi.def}[2011/08/26 v0.2 bidi adaptations for artikel1 class for XeTeX engine] +\renewenvironment{theindex}{% + \if@twocolumn + \@restonecolfalse + \else + \@restonecoltrue + \fi + \columnseprule \z@ + \columnsep 35\p@ + \twocolumn[\section*{\indexname}]% + \@mkboth{\MakeUppercase{\indexname}}{\MakeUppercase{\indexname}}% + \thispagestyle{plain}\parindent\z@ + \parskip\z@ \@plus .3\p@\relax + \let\item\@idxitem + }{% + \if@restonecol\onecolumn\else\clearpage\fi} \renewcommand*\head@style{% \interlinepenalty \@M \hyphenpenalty=\@M \exhyphenpenalty=\@M @@ -1588,7 +1627,22 @@ by Vafa Khalighi. %\fi % \subsection{\textsf{artikel2-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{artikel2-xetex-bidi.def}[2010/07/25 v0.1 bidi adaptations for artikel2 class for XeTeX engine] +\ProvidesFile{artikel2-xetex-bidi.def}[2011/08/26 v0.2 bidi adaptations for artikel2 class for XeTeX engine] +\renewenvironment{theindex}{% + \if@twocolumn + \@restonecolfalse + \else + \@restonecoltrue + \fi + \columnseprule \z@ + \columnsep 35\p@ + \twocolumn[\section*{\indexname}]% + \@mkboth{\MakeUppercase{\indexname}}{\MakeUppercase{\indexname}}% + \thispagestyle{plain}\parindent\z@ + \parskip\z@ \@plus .3\p@\relax + \let\item\@idxitem + }{% + \if@restonecol\onecolumn\else\clearpage\fi} \renewcommand*\@regtocline[3]{% \ifnum #1>\c@tocdepth \else @@ -1834,7 +1888,22 @@ by Vafa Khalighi. %\fi % \subsection{\textsf{artikel3-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{artikel3-xetex-bidi.def}[2010/07/25 v0.2 bidi adaptations for artikel3 class for XeTeX engine] +\ProvidesFile{artikel3-xetex-bidi.def}[2011/08/26 v0.3 bidi adaptations for artikel3 class for XeTeX engine] +\renewenvironment{theindex}{% + \if@twocolumn + \@restonecolfalse + \else + \@restonecoltrue + \fi + \columnseprule \z@ + \columnsep 35\p@ + \twocolumn[\section*{\indexname}]% + \@mkboth{\MakeUppercase{\indexname}}{\MakeUppercase{\indexname}}% + \thispagestyle{plain}\parindent\z@ + \parskip\z@ \@plus .3\p@\relax + \let\item\@idxitem + }{% + \if@restonecol\onecolumn\else\clearpage\fi} \renewcommand*\head@style{% \interlinepenalty \@M \hyphenpenalty=\@M \exhyphenpenalty=\@M @@ -2231,8 +2300,8 @@ by Vafa Khalighi. % \subsection{\textsf{bidi.sty}} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\def\bididate{2011/08/13} -\def\bidiversion{v1.2.5} +\def\bididate{2011/08/26} +\def\bidiversion{v1.2.6} \ProvidesPackage{bidi}[\bididate\space \bidiversion\space Bidirectional typesetting in plain TeX and LaTeX] \edef\bidiinfo{% @@ -4894,7 +4963,22 @@ bidi implementation of tufte title] %\fi % \subsection{\textsf{boek3-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{boek3-xetex-bidi.def}[2010/07/25 v0.1 bidi adaptations for boek3 class for XeTeX engine] +\ProvidesFile{boek3-xetex-bidi.def}[2011/08/26 v0.2 bidi adaptations for boek3 class for XeTeX engine] +\renewenvironment{theindex}{% + \if@twocolumn + \@restonecolfalse + \else + \@restonecoltrue + \fi + \columnseprule \z@ + \columnsep 35\p@ + \twocolumn[\@makeschapterhead{\indexname}]% + \@mkboth{\MakeUppercase{\indexname}}{\MakeUppercase{\indexname}}% + \thispagestyle{plain}\parindent\z@ + \parskip\z@ \@plus .3\p@\relax + \let\item\@idxitem + }{% + \if@restonecol\onecolumn\else\clearpage\fi} \renewcommand*\head@style{% \interlinepenalty \@M \hyphenpenalty=\@M \exhyphenpenalty=\@M @@ -5065,7 +5149,22 @@ bidi implementation of tufte title] %\fi % \subsection{\textsf{boek-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{boek-xetex-bidi.def}[2010/07/25 v0.1 bidi adaptations for boek class for XeTeX engine] +\ProvidesFile{boek-xetex-bidi.def}[2011/08/26 v0.2 bidi adaptations for boek class for XeTeX engine] +\renewenvironment{theindex}{% + \if@twocolumn + \@restonecolfalse + \else + \@restonecoltrue + \fi + \columnseprule \z@ + \columnsep 35\p@ + \twocolumn[\@makeschapterhead{\indexname}]% + \@mkboth{\MakeUppercase{\indexname}}{\MakeUppercase{\indexname}}% + \thispagestyle{plain}\parindent\z@ + \parskip\z@ \@plus .3\p@\relax + \let\item\@idxitem + }{% + \if@restonecol\onecolumn\else\clearpage\fi} \renewcommand*\head@style{% \interlinepenalty \@M \hyphenpenalty=\@M \exhyphenpenalty=\@M @@ -5276,7 +5375,22 @@ bidi implementation of tufte title] %\fi % \subsection{\textsf{book-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{book-xetex-bidi.def}[2010/07/25 v0.7 bidi adaptations for standard book class for XeTeX engine] +\ProvidesFile{book-xetex-bidi.def}[2011/08/26 v0.8 bidi adaptations for standard book class for XeTeX engine] +\renewenvironment{theindex} + {\if@twocolumn + \@restonecolfalse + \else + \@restonecoltrue + \fi + \columnseprule \z@ + \columnsep 35\p@ + \twocolumn[\@makeschapterhead{\indexname}]% + \@mkboth{\MakeUppercase\indexname}% + {\MakeUppercase\indexname}% + \thispagestyle{plain}\parindent\z@ + \parskip\z@ \@plus .3\p@\relax + \let\item\@idxitem} + {\if@restonecol\onecolumn\else\clearpage\fi} \@ifclassloaded{bookest}{}{% \if@titlepage \renewcommand\maketitle{\begin{titlepage}% @@ -10740,7 +10854,22 @@ bidi implementation of tufte title] %\fi % \subsection{\textsf{rapport1-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{rapport1-xetex-bidi.def}[2010/07/25 v0.1 bidi adaptations for rapport1 class for XeTeX engine] +\ProvidesFile{rapport1-xetex-bidi.def}[2011/08/26 v0.2 bidi adaptations for rapport1 class for XeTeX engine] +\renewenvironment{theindex}{% + \if@twocolumn + \@restonecolfalse + \else + \@restonecoltrue + \fi + \columnseprule \z@ + \columnsep 35\p@ + \twocolumn[\@makeschapterhead{\indexname}]% + \@mkboth{\MakeUppercase{\indexname}}{\MakeUppercase{\indexname}}% + \thispagestyle{plain}\parindent\z@ + \parskip\z@ \@plus .3\p@\relax + \let\item\@idxitem + }{% + \if@restonecol\onecolumn\else\clearpage\fi} \renewcommand*\head@style{% \interlinepenalty \@M \hyphenpenalty=\@M \exhyphenpenalty=\@M @@ -10989,7 +11118,22 @@ bidi implementation of tufte title] %\fi % \subsection{\textsf{rapport3-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{rapport3-xetex-bidi.def}[2010/07/25 v0.3 bidi adaptations for rapport3 class for XeTeX engine] +\ProvidesFile{rapport3-xetex-bidi.def}[2011/08/26 v0.4 bidi adaptations for rapport3 class for XeTeX engine] +\renewenvironment{theindex}{% + \if@twocolumn + \@restonecolfalse + \else + \@restonecoltrue + \fi + \columnseprule \z@ + \columnsep 35\p@ + \twocolumn[\@makeschapterhead{\indexname}]% + \@mkboth{\MakeUppercase{\indexname}}{\MakeUppercase{\indexname}}% + \thispagestyle{plain}\parindent\z@ + \parskip\z@ \@plus .3\p@\relax + \let\item\@idxitem + }{% + \if@restonecol\onecolumn\else\clearpage\fi} \if@titlepage \renewcommand*\TitleFont{\rmfamily} \renewcommand*\maketitle{% @@ -11450,7 +11594,22 @@ bidi implementation of tufte title] %\fi % \subsection{\textsf{report-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{report-xetex-bidi.def}[2010/07/25 v0.5 bidi adaptations for standard report class for XeTeX engine] +\ProvidesFile{report-xetex-bidi.def}[2011/08/26 v0.6 bidi adaptations for standard report class for XeTeX engine] +\renewenvironment{theindex} + {\if@twocolumn + \@restonecolfalse + \else + \@restonecoltrue + \fi + \columnseprule \z@ + \columnsep 35\p@ + \twocolumn[\@makeschapterhead{\indexname}]% + \@mkboth{\MakeUppercase\indexname}% + {\MakeUppercase\indexname}% + \thispagestyle{plain}\parindent\z@ + \parskip\z@ \@plus .3\p@\relax + \let\item\@idxitem} + {\if@restonecol\onecolumn\else\clearpage\fi} \if@titlepage \renewcommand\maketitle{\begin{titlepage}% \let\footnotesize\small @@ -11646,7 +11805,7 @@ bidi implementation of tufte title] %\fi % \subsection{\textsf{scrartcl-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{scrartcl-xetex-bidi.def}[2011/08/13 v0.4 bidi adaptations for scrartcl class for XeTeX engine] +\ProvidesFile{scrartcl-xetex-bidi.def}[2011/08/26 v0.4 bidi adaptations for scrartcl class for XeTeX engine] \renewcommand*\maketitle[1][1]{% \if@titlepage \begin{titlepage} @@ -12604,7 +12763,7 @@ bidi implementation of tufte title] %\fi % \subsection{\textsf{scrreprt-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{scrreprt-xetex-bidi.def}[2011/08/13 v0.4 bidi adaptations for scrreprt class for XeTeX engine] +\ProvidesFile{scrreprt-xetex-bidi.def}[2011/08/26 v0.4 bidi adaptations for scrreprt class for XeTeX engine] \renewcommand*\maketitle[1][1]{% \if@titlepage \begin{titlepage} @@ -14362,12 +14521,6 @@ $\@@underline{\hbox{#1}}\m@th$\relax\fi\fi} \renewcommand{\@outputdblcol}{\if@RTLmain\RTL@outputdblcol\else\LTR@outputdblcol\fi} \newcommand{\RTLdblcol}{\renewcommand{\@outputdblcol}{\RTL@outputdblcol}} \newcommand{\LTRdblcol}{\renewcommand{\@outputdblcol}{\LTR@outputdblcol}} -\long\def\@imakebox[#1][#2]#3{% - \leavevmode% - \@begin@tempboxa\hbox{#3}% - \setlength\@tempdima{#1}% support calc - \hb@xt@\@tempdima{\csname bm@#2\endcsname}% - \@end@tempboxa} \def\LTRmarginpar{% \ifhmode \@bsphack @@ -15661,7 +15814,7 @@ dynamic frame when using one of the \cmdname{Ncolumntop} type of commands. \mobile{۰۹۱۸۹۶۹۴۹۶} \phone{۹۸۹۰۸۳۴۱} \fax{۹۸۹۰۸۳۴۲} -\email{vafakh84@gmail.com} +\email{vafaklg@gmail.com} \extrainfo{اطلاعات اضافی} \photo[64pt]{picture} \quote{نقل قول} @@ -15734,7 +15887,7 @@ dynamic frame when using one of the \cmdname{Ncolumntop} type of commands. \mobile{۰۹۱۸۹۶۹۴۹۶} \phone{۹۸۹۰۸۳۴۱} \fax{۹۸۹۰۸۳۴۲} -\email{vafakh84@gmail.com} +\email{vafaklg@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 301b5256d2d..4b0ba21ce12 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–2011 Vafa Khalighi <vafa018@gmail.com> +Copyright © 2009–2011 Vafa Khalighi <vafaklg@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 @@ -131,7 +131,7 @@ by Vafa Khalighi. \generate{\file{xltxtra-xetex-bidi.def}{\from{\jobname.dtx}{xltxtra-xetex-bidi.def}}} \endbatchfile %% -%% Copyright © 2009–2011 Vafa Khalighi <vafa018@gmail.com> +%% Copyright © 2009–2011 Vafa Khalighi <vafaklg@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 |