diff options
Diffstat (limited to 'Master/texmf-dist/doc')
22 files changed, 82 insertions, 25 deletions
diff --git a/Master/texmf-dist/doc/latex/bidi/README b/Master/texmf-dist/doc/latex/bidi/README index 495d53ba8c5..b141a8d2f67 100644 --- a/Master/texmf-dist/doc/latex/bidi/README +++ b/Master/texmf-dist/doc/latex/bidi/README @@ -1,11 +1,12 @@ _________________ The bidi package -v1.0.7 +v1.0.8 This package provides a convenient interface for typesetting bidirectional texts with XeLaTeX and LuaLaTeX. -This version fixes all the bugs that were present in v1.0.6. +This version adds partial support for Plain TeX too and +in addition fixes all the bugs that were present in v1.0.7. ______________ Vafa Khalighi diff --git a/Master/texmf-dist/doc/latex/bidi/bidi-doc.pdf b/Master/texmf-dist/doc/latex/bidi/bidi-doc.pdf Binary files differindex 7bd6a801915..039d0cb11e5 100644 --- a/Master/texmf-dist/doc/latex/bidi/bidi-doc.pdf +++ b/Master/texmf-dist/doc/latex/bidi/bidi-doc.pdf diff --git a/Master/texmf-dist/doc/latex/bidi/bidi-doc.tex b/Master/texmf-dist/doc/latex/bidi/bidi-doc.tex index b3eefba7cf8..06cf929404d 100644 --- a/Master/texmf-dist/doc/latex/bidi/bidi-doc.tex +++ b/Master/texmf-dist/doc/latex/bidi/bidi-doc.tex @@ -21,7 +21,7 @@ \newcommand\LuaLaTeX{Lua\LaTeX} \title{The \textsf{bidi} Package\\ \href{http://bitbucket.org/vafa/bidi}{\texttt{http://bitbucket.org/vafa/bidi}}} \author{Vafa Khalighi\\ \href{mailto:vafakh84@gmail.com}{\texttt{vafakh84@gmail.com}}} -\date{Version 1.0.7} +\date{Version 1.0.8} \begin{document} \maketitle \tableofcontents @@ -37,7 +37,7 @@ Description: A convenient interface for typesetting bidirectional texts with XeLaTeX and LuaLaTeX. The package includes adaptations for use with many other commonly-used packages. Copyright (c) 2009-2010 Vafa Khalighi -v1.0.7, <commit 24>, 2010/07/25 +v1.0.8, <commit 25>, 2010/07/25 License: LaTeX Project Public License, version 1.3c or higher (your choice) Home: http://bitbucket.org/vafa/bidi Location on CTAN: /macros/latex/contrib/bidi @@ -276,29 +276,13 @@ x^2+y^2=z^2 \Lcs{raggedright} command and \texttt{flushleft} environment put the text on the left hand side and \Lcs{raggedleft} command and \texttt{flushright} environment put the text on the right hand side, independent on the current mode. \subsection{Primitive-like commands} \begin{BDef} -\Lcs{hboxR}\quad\Lcs{hboxL}\quad\Lcs{halignR}\quad\Lcs{halignL} +\Lcs{hboxR}\quad\Lcs{hboxL}\quad\Lcs{vboxR}\quad\Lcs{vboxL} \end{BDef} \begin{itemize} -\item The syntax of \Lcs{hboxR} is similar to the syntax of \Lcs{hbox} with two differences: -\begin{enumerate} -\item The content of \Lcs{hboxR} is always typeset RTL, independent of the current mode (LTR or RTL). -\item \Lcs{hboxR} does not accept \Lcs{bgroup} and \Lcs{egroup}. -\end{enumerate} -\item The syntax of \Lcs{hboxL} is similar to the syntax of \Lcs{hbox} with two differences: -\begin{enumerate} -\item The content of \Lcs{hboxL} is always typeset LTR, independent of the current mode (LTR or RTL). -\item \Lcs{hboxL} does not accept \Lcs{bgroup} and \Lcs{egroup}. -\end{enumerate} -\item The syntax of \Lcs{halignR} is similar to the syntax of \Lcs{halign} with two differences: -\begin{enumerate} -\item The content of \Lcs{halignR} is always typeset RTL, independent of the current mode (LTR or RTL). -\item \Lcs{halignR} does not accept \Lcs{bgroup} and \Lcs{egroup}. -\end{enumerate} -\item The syntax of \Lcs{halignL} is similar to the syntax of \Lcs{halign} with two differences: -\begin{enumerate} -\item The content of \Lcs{halignL} is always typeset LTR, independent of the current mode (LTR or RTL). -\item \Lcs{halignL} does not accept \Lcs{bgroup} and \Lcs{egroup}. -\end{enumerate} +\item The syntax of \Lcs{hboxR} is exatly the same as the syntax of \Lcs{hbox}, but its contents is always typeset RTL. +\item The syntax of \Lcs{hboxL} is exatly the same as the syntax of \Lcs{hbox}, but its contents is always typeset LTR. +\item The syntax of \Lcs{vboxR} is exatly the same as the syntax of \Lcs{vbox}, but its contents is always typeset RTL. +\item The syntax of \Lcs{vboxL} is exatly the same as the syntax of \Lcs{vbox}, but its contents is always typeset LTR. \end{itemize} \subsection{\textsf{LTRitems} and \textsf{RTLitems} Environments} If you typeset an \textsf{itemize}, or an \textsf{enumerate}, or a \textsf{description} environment where all \Lcs{item}s are one directional, you have no problem at all as shown below: diff --git a/Master/texmf-dist/doc/latex/bidi/bidi.tex b/Master/texmf-dist/doc/latex/bidi/bidi.tex new file mode 100644 index 00000000000..a2b7ca07f2b --- /dev/null +++ b/Master/texmf-dist/doc/latex/bidi/bidi.tex @@ -0,0 +1,72 @@ +%% +%% This is file `bidi.tex', + +%% +%% __________________________________ +%% Copyright © 2009-2010 Vafa Khalighi +%% +%% License information appended. +%% +%% +\def\bididate{2010/07/25} +\def\bidiversion{v0.1} +\def\bidicommit{commit 31} +\catcode`@=11 +\edef\bidiinfo{% +bidi package (Support for bidirectional typesetting with XeLaTeX and LuaLaTeX)^^J +Description: A convenient interface for typesetting bidirectional^^J +texts with XeLaTeX and LuaLaTeX. The package includes adaptations for use^^J +with many other commonly-used packages.^^J +Copyright © 2009-2010 Vafa Khalighi^^J +\bidiversion, <\bidicommit>, \bididate^^J +License: LaTeX Project Public License, version 1.3c or higher (your choice)^^J +Home: http://bitbucket.org/vafa/bidi^^J +Location on CTAN: /macros/latex/contrib/bidi} +\message{\bidiinfo} +\edef\bidi@everyjob{\the\everyjob} +\everyjob{\bidi@everyjob\message{\bidiinfo}} +\input iftex.sty +\newif\if@RTLmain +\newif\if@RTL +\newif\if@sentdir +\newif\if@RTL@footnote +\@RTLmainfalse +\def\setRTLmain{% + \if@RTLmain\else + \if@RTL\@RTLmaintrue% + \else\@RTLmainfalse% + \fi% + \fi% +} +\let\n@xt=\ +\def\LRE{\protect\pLRE}% +\def\pLRE{\protect\afterassignment\moreLRE \let\n@xt= } +\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} +\ifXeTeX + \input plain-xetex-bidi.def +\else + \ifLuaTeX + \input plain-luatex-bidi.def + \else + \errmessage{TeX engines other than XeTeX and LuaTeX are not yet supported} + \fi +\fi +\catcode`@=12 +%% +%% Copyright © 2009-2010 by Vafa Khalighi <vafakh84@gmail.com> +%% +%% Distributable 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. +%% +%% +%% +%% +%% +%% End of file `bidi.tex'. diff --git a/Master/texmf-dist/doc/latex/bidi/bidisample2e.pdf b/Master/texmf-dist/doc/latex/bidi/bidisample2e.pdf Binary files differdeleted file mode 100644 index a4bb1e0d994..00000000000 --- a/Master/texmf-dist/doc/latex/bidi/bidisample2e.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/bidi/bidismall2e.pdf b/Master/texmf-dist/doc/latex/bidi/bidismall2e.pdf Binary files differdeleted file mode 100644 index 4961db4e01a..00000000000 --- a/Master/texmf-dist/doc/latex/bidi/bidismall2e.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/bidi/presentation-sample.pdf b/Master/texmf-dist/doc/latex/bidi/presentation-sample.pdf Binary files differdeleted file mode 100644 index a8dd715930a..00000000000 --- a/Master/texmf-dist/doc/latex/bidi/presentation-sample.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/bidi/test-arydshln.pdf b/Master/texmf-dist/doc/latex/bidi/test-arydshln.pdf Binary files differdeleted file mode 100644 index 5a250e1d019..00000000000 --- a/Master/texmf-dist/doc/latex/bidi/test-arydshln.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/bidi/test-bidi.pdf b/Master/texmf-dist/doc/latex/bidi/test-bidi.pdf Binary files differdeleted file mode 100644 index 7f2a8336f4f..00000000000 --- a/Master/texmf-dist/doc/latex/bidi/test-bidi.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/bidi/test-brochure.pdf b/Master/texmf-dist/doc/latex/bidi/test-brochure.pdf Binary files differdeleted file mode 100644 index 42956be42c8..00000000000 --- a/Master/texmf-dist/doc/latex/bidi/test-brochure.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/bidi/test-casualcv.pdf b/Master/texmf-dist/doc/latex/bidi/test-casualcv.pdf Binary files differdeleted file mode 100644 index 6578ceb310d..00000000000 --- a/Master/texmf-dist/doc/latex/bidi/test-casualcv.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/bidi/test-classiccv.pdf b/Master/texmf-dist/doc/latex/bidi/test-classiccv.pdf Binary files differdeleted file mode 100644 index 1764e6a5a11..00000000000 --- a/Master/texmf-dist/doc/latex/bidi/test-classiccv.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/bidi/test-color.pdf b/Master/texmf-dist/doc/latex/bidi/test-color.pdf Binary files differdeleted file mode 100644 index 22232053af4..00000000000 --- a/Master/texmf-dist/doc/latex/bidi/test-color.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/bidi/test-supertabular.pdf b/Master/texmf-dist/doc/latex/bidi/test-supertabular.pdf Binary files differdeleted file mode 100644 index d6c4539b883..00000000000 --- a/Master/texmf-dist/doc/latex/bidi/test-supertabular.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/bidi/test-tabular.pdf b/Master/texmf-dist/doc/latex/bidi/test-tabular.pdf Binary files differdeleted file mode 100644 index 6da31ff5b8d..00000000000 --- a/Master/texmf-dist/doc/latex/bidi/test-tabular.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/bidi/test-tabularx.pdf b/Master/texmf-dist/doc/latex/bidi/test-tabularx.pdf Binary files differdeleted file mode 100644 index 0e95eaa1d03..00000000000 --- a/Master/texmf-dist/doc/latex/bidi/test-tabularx.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/bidi/test-tabulary.pdf b/Master/texmf-dist/doc/latex/bidi/test-tabulary.pdf Binary files differdeleted file mode 100644 index 425eb03bfc7..00000000000 --- a/Master/texmf-dist/doc/latex/bidi/test-tabulary.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/bidi/test1-colortbl.pdf b/Master/texmf-dist/doc/latex/bidi/test1-colortbl.pdf Binary files differdeleted file mode 100644 index ddb4b770f07..00000000000 --- a/Master/texmf-dist/doc/latex/bidi/test1-colortbl.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/bidi/test1-wrapfig.pdf b/Master/texmf-dist/doc/latex/bidi/test1-wrapfig.pdf Binary files differdeleted file mode 100644 index 2e2047a40aa..00000000000 --- a/Master/texmf-dist/doc/latex/bidi/test1-wrapfig.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/bidi/test2-colortbl.pdf b/Master/texmf-dist/doc/latex/bidi/test2-colortbl.pdf Binary files differdeleted file mode 100644 index d682c51ce15..00000000000 --- a/Master/texmf-dist/doc/latex/bidi/test2-colortbl.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/bidi/test2-wrapfig.pdf b/Master/texmf-dist/doc/latex/bidi/test2-wrapfig.pdf Binary files differdeleted file mode 100644 index e915bd611be..00000000000 --- a/Master/texmf-dist/doc/latex/bidi/test2-wrapfig.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/bidi/test3-wrapfig.pdf b/Master/texmf-dist/doc/latex/bidi/test3-wrapfig.pdf Binary files differdeleted file mode 100644 index cf73f50ea25..00000000000 --- a/Master/texmf-dist/doc/latex/bidi/test3-wrapfig.pdf +++ /dev/null |