diff options
author | Karl Berry <karl@freefriends.org> | 2018-01-26 22:44:50 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-01-26 22:44:50 +0000 |
commit | db529d53f555181f511d84209964103b16fb7965 (patch) | |
tree | b43b8d7af1c1b6a905bb9b50b6bf770986b2943c /Master/texmf-dist/source/xelatex/bidi | |
parent | 7499db0323a2fe21176e38ec98931d97641075ce (diff) |
bidi (26jan18)
git-svn-id: svn://tug.org/texlive/trunk@46448 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/xelatex/bidi')
5 files changed, 67 insertions, 14 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 e96ee4e60ea..2ea9bc07cd6 100644 --- a/Master/texmf-dist/source/xelatex/bidi/bidi-doc-intro.ltx +++ b/Master/texmf-dist/source/xelatex/bidi/bidi-doc-intro.ltx @@ -19,7 +19,7 @@ If you use \textsf{bidi} package to write any input \TeX\ document, and then run * * Copyright (c) 2009--2018 Vafa Khalighi * -* v32.4, 2018/01/23 +* v32.5, 2018/01/27 * * License: LaTeX Project Public License, version * 1.3c or higher (your choice) 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 0e5fcfacf98..2b10420fa2f 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.4}} +\large User documentation for \textcolor{blue!65!black}{version 32.5}} \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.4}} +User documentation for \textcolor{blue!65!black}{version 32.5}} \vskip 0pt plus 3fill \textit{\large to my Master, \textbf{Ferdowsi The Great}} diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi-doc.ltx b/Master/texmf-dist/source/xelatex/bidi/bidi-doc.ltx index 0fa8474d812..3d65f88e6f8 100644 --- a/Master/texmf-dist/source/xelatex/bidi/bidi-doc.ltx +++ b/Master/texmf-dist/source/xelatex/bidi/bidi-doc.ltx @@ -1,7 +1,7 @@ \documentclass{ltxdoc} \input{bidi-doc-preamble.ltx} \hypersetup{% - pdftitle={User documentation for version 32.4 of the bidi + pdftitle={User documentation for version 32.5 of the bidi package}% } \begin{document} diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi.dtx b/Master/texmf-dist/source/xelatex/bidi/bidi.dtx index 189dd101021..778c5459cf6 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.4 +v32.5 This package provides a convenient interface for typesetting bidirectional texts in Plain TeX and LaTeX, using XeTeX engine. @@ -25,7 +25,7 @@ a minimal working example showing the issue, and always choose the appropriate label for your query (i.e. if you are reporting any bugs, choose `Bug' label). -Current version release date: 2018/01/23 +Current version release date: 2018/01/27 ___________________ Vafa Khalighi @@ -134,6 +134,7 @@ by Vafa Khalighi. \generate{\file{leqno-xetex-bidi.def}{\from{\jobname.dtx}{table,leqno-xetex-bidi.def}}} \generate{\file{letter-xetex-bidi.def}{\from{\jobname.dtx}{table,letter-xetex-bidi.def}}} \generate{\file{lettrine-xetex-bidi.def}{\from{\jobname.dtx}{table,lettrine-xetex-bidi.def}}} +\generate{\file{lineno-xetex-bidi.def}{\from{\jobname.dtx}{table,lineno-xetex-bidi.def}}} \generate{\file{listings-xetex-bidi.def}{\from{\jobname.dtx}{table,listings-xetex-bidi.def}}} \generate{\file{loadingorder-xetex-bidi.def}{\from{\jobname.dtx}{table,loadingorder-xetex-bidi.def}}} \generate{\file{longtable-xetex-bidi.def}{\from{\jobname.dtx}{table,longtable-xetex-bidi.def}}} @@ -221,7 +222,7 @@ by Vafa Khalighi. \documentclass{ltxdoc} \input{bidi-doc-preamble.ltx} \hypersetup{% - pdftitle={Source documentation for version 32.4 of the bidi + pdftitle={Source documentation for version 32.5 of the bidi package}% } \EnableCrossrefs @@ -240,7 +241,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.4}} +%\large Source documentation for \textcolor{blue!65!black}{version 32.5}} % \author{Vafa Khalighi\\ % \url{persian-tex@tug.org}} %\setcounter{page}{0} @@ -251,7 +252,7 @@ by Vafa Khalighi. %\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}} % %\Large -%Source documentation for \textcolor{blue!65!black}{version 32.4}} +%Source documentation for \textcolor{blue!65!black}{version 32.5}} % %\vskip 0pt plus 3fill %\textit{\large to my Master, \textbf{Ferdowsi The Great}} @@ -289,7 +290,7 @@ by Vafa Khalighi. %\iffalse %<*table> %\fi -%% \CheckSum{49572} +%% \CheckSum{49624} %% \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 @@ -1912,8 +1913,8 @@ by Vafa Khalighi. % \section{File \texttt{bidi.sty}} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\def\bididate{2018/01/23} -\def\bidi@version{32.4} +\def\bididate{2018/01/27} +\def\bidi@version{32.5} \ProvidesPackage{bidi}[\bididate\space v\bidi@version\space Bidirectional typesetting in plain TeX and LaTeX] \edef\@bidi@info{****************************************************^^J% @@ -2152,9 +2153,9 @@ Bidirectional typesetting in plain TeX and LaTeX] %\fi % \section{File \texttt{bidi.tex}} % \begin{macrocode} -\def\bididate{2018/01/23} +\def\bididate{2018/01/27} \catcode`@=11 -\def\bidi@version{32.4} +\def\bidi@version{32.5} \let \protect \relax \newlinechar`\^^J \edef\@bidi@info{****************************************************^^J% @@ -13720,6 +13721,52 @@ bidi implementation of tufte title] % \end{macrocode} % \iffalse %</lettrine-xetex-bidi.def> +%<*lineno-xetex-bidi.def> +%\fi +% \section{File \texttt{lineno-xetex-bidi.def}} +% \begin{macrocode} +\ProvidesFile{lineno-xetex-bidi.def}[2018/01/27 v0.1 bidi adaptations for lineno package for XeTeX engine] +\bidi@patchcmd{\MakeLineNo}{% + \hb@xt@\z@{\makeLineNumber}% +}{% + \hboxL to \z@{\makeLineNumber}% +}{}{} + +\bidi@patchcmd{\makeLineNumberLeft}{\LineNumber}{% + \if@RTL + \hb@xt@\linenumberwidth{\LineNumber\hss} + \else + \LineNumber + \fi +}{}{} + +\bidi@patchcmd{\makeLineNumberRight}{% + \hb@xt@\linenumberwidth{\hss\LineNumber}% +}{% + \if@RTL + \LineNumber + \else + \hb@xt@\linenumberwidth{\hss\LineNumber}% + \fi +}{}{} + +\bidi@AfterPreamble{% + \if@RTLmain + \rightlinenumbers* + \else + \leftlinenumbers* + \fi + \@ifpackagewith{lineno}{left}{% + \leftlinenumbers* + }{} + \@ifpackagewith{lineno}{right}{% + \rightlinenumbers* + }{} +} + +% \end{macrocode} +% \iffalse +%</lineno-xetex-bidi.def> %<*listings-xetex-bidi.def> %\fi % \section{File \texttt{listings-xetex-bidi.def}} @@ -13876,6 +13923,7 @@ bidi implementation of tufte title] \bidi@isloaded{pdfpages} \bidi@isloaded{listings} \bidi@isloaded{lettrine} +\bidi@isloaded{lineno} \bidi@isloaded{media9} \bidi@isloaded{pstricks} \bidi@isloaded{pgf} @@ -14022,6 +14070,9 @@ bidi implementation of tufte title] \if@bidi@lettrineloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package lettrine after bidi package. Please load package lettrine before bidi package, and then try to run xelatex on your document again}{}]{lettrine} \fi% + \if@bidi@linenoloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package lineno after bidi package. Please load package lineno before bidi package, and then try to run xelatex on your document again}{}]{lineno} + \fi% \if@bidi@listingsloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package listings after bidi package. Please load package listings before bidi package, and then try to run xelatex on your document again}{}]{listings} \fi% @@ -22192,6 +22243,7 @@ $\@@underline{\hbox{#1}}\m@th$\relax\fi\fi} \@ifpackageloaded{pdfbase}{\input{pdfbase-xetex-bidi.def}}{} \@ifpackageloaded{pdfpages}{\input{pdfpages-xetex-bidi.def}}{} \@ifpackageloaded{lettrine}{\input{lettrine-xetex-bidi.def}}{} +\@ifpackageloaded{lineno}{\input{lineno-xetex-bidi.def}}{} \@ifpackageloaded{listings}{\input{listings-xetex-bidi.def}}{} \@ifpackageloaded{media9}{\RequirePackage{bidi-media9}}{} \@iftexfileloaded{pstricks}{\input{pstricks-xetex-bidi.def}}{} diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi.ins b/Master/texmf-dist/source/xelatex/bidi/bidi.ins index 2ba18a2f366..f2c7526d59e 100644 --- a/Master/texmf-dist/source/xelatex/bidi/bidi.ins +++ b/Master/texmf-dist/source/xelatex/bidi/bidi.ins @@ -106,6 +106,7 @@ \generate{\file{leqno-xetex-bidi.def}{\from{\jobname.dtx}{table,leqno-xetex-bidi.def}}} \generate{\file{letter-xetex-bidi.def}{\from{\jobname.dtx}{table,letter-xetex-bidi.def}}} \generate{\file{lettrine-xetex-bidi.def}{\from{\jobname.dtx}{table,lettrine-xetex-bidi.def}}} +\generate{\file{lineno-xetex-bidi.def}{\from{\jobname.dtx}{table,lineno-xetex-bidi.def}}} \generate{\file{listings-xetex-bidi.def}{\from{\jobname.dtx}{table,listings-xetex-bidi.def}}} \generate{\file{loadingorder-xetex-bidi.def}{\from{\jobname.dtx}{table,loadingorder-xetex-bidi.def}}} \generate{\file{longtable-xetex-bidi.def}{\from{\jobname.dtx}{table,longtable-xetex-bidi.def}}} |