summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-04-10 00:04:40 +0000
committerKarl Berry <karl@freefriends.org>2010-04-10 00:04:40 +0000
commit5fd15d101add3e08ff14e00c8a38998602e87959 (patch)
tree0ec09aea3b1a0bac1b45bd6635145cd5d2ab267c /Master/texmf-dist/doc
parent1a415339f97d6e886e15efee8e7be4c3ba4e38ec (diff)
bidi now lualatex, too (9apr10)
git-svn-id: svn://tug.org/texlive/trunk@17780 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/latex/bidi/README15
-rw-r--r--Master/texmf-dist/doc/latex/bidi/bibitem.pdf (renamed from Master/texmf-dist/doc/xelatex/bidi/bibitem.pdf)bin2936 -> 2936 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bidi/bidi-doc.pdfbin0 -> 177010 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bidi/bidi-doc.tex (renamed from Master/texmf-dist/doc/xelatex/bidi/bidi-doc.tex)125
-rw-r--r--Master/texmf-dist/doc/latex/bidi/bidisample2e.pdf (renamed from Master/texmf-dist/doc/xelatex/bidi/bidisample2e.pdf)bin39027 -> 39027 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bidi/bidisample2e.tex (renamed from Master/texmf-dist/doc/xelatex/bidi/bidisample2e.tex)0
-rw-r--r--Master/texmf-dist/doc/latex/bidi/bidismall2e.pdf (renamed from Master/texmf-dist/doc/xelatex/bidi/bidismall2e.pdf)bin16532 -> 16532 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bidi/bidismall2e.tex (renamed from Master/texmf-dist/doc/xelatex/bidi/bidismall2e.tex)0
-rw-r--r--Master/texmf-dist/doc/latex/bidi/gull.jpg (renamed from Master/texmf-dist/doc/xelatex/bidi/gull.jpg)bin761651 -> 761651 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bidi/picture.jpg (renamed from Master/texmf-dist/doc/xelatex/bidi/picture.jpg)bin1693 -> 1693 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bidi/presentation-sample.pdf (renamed from Master/texmf-dist/doc/xelatex/bidi/presentation-sample.pdf)bin39748 -> 39748 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bidi/presentation-sample.tex (renamed from Master/texmf-dist/doc/xelatex/bidi/presentation-sample.tex)0
-rw-r--r--Master/texmf-dist/doc/latex/bidi/test-arydshln.pdf (renamed from Master/texmf-dist/doc/xelatex/bidi/test-arydshln.pdf)bin11023 -> 11023 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bidi/test-arydshln.tex (renamed from Master/texmf-dist/doc/xelatex/bidi/test-arydshln.tex)0
-rw-r--r--Master/texmf-dist/doc/latex/bidi/test-bidi.pdf (renamed from Master/texmf-dist/doc/xelatex/bidi/test-bidi.pdf)bin16009 -> 16009 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bidi/test-bidi.tex (renamed from Master/texmf-dist/doc/xelatex/bidi/test-bidi.tex)0
-rw-r--r--Master/texmf-dist/doc/latex/bidi/test-brochure.pdf (renamed from Master/texmf-dist/doc/xelatex/bidi/test-brochure.pdf)bin52113 -> 52113 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bidi/test-brochure.tex (renamed from Master/texmf-dist/doc/xelatex/bidi/test-brochure.tex)0
-rw-r--r--Master/texmf-dist/doc/latex/bidi/test-casualcv.pdf (renamed from Master/texmf-dist/doc/xelatex/bidi/test-casualcv.pdf)bin59545 -> 59545 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bidi/test-casualcv.tex (renamed from Master/texmf-dist/doc/xelatex/bidi/test-casualcv.tex)2
-rw-r--r--Master/texmf-dist/doc/latex/bidi/test-classiccv.pdf (renamed from Master/texmf-dist/doc/xelatex/bidi/test-classiccv.pdf)bin57591 -> 57591 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bidi/test-classiccv.tex (renamed from Master/texmf-dist/doc/xelatex/bidi/test-classiccv.tex)2
-rw-r--r--Master/texmf-dist/doc/latex/bidi/test-color.pdf (renamed from Master/texmf-dist/doc/xelatex/bidi/test-color.pdf)bin23982 -> 23982 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bidi/test-color.tex (renamed from Master/texmf-dist/doc/xelatex/bidi/test-color.tex)0
-rw-r--r--Master/texmf-dist/doc/latex/bidi/test-supertabular.pdf (renamed from Master/texmf-dist/doc/xelatex/bidi/test-supertabular.pdf)bin24818 -> 24818 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bidi/test-supertabular.tex (renamed from Master/texmf-dist/doc/xelatex/bidi/test-supertabular.tex)0
-rw-r--r--Master/texmf-dist/doc/latex/bidi/test-tabular.pdf (renamed from Master/texmf-dist/doc/xelatex/bidi/test-tabular.pdf)bin24715 -> 24715 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bidi/test-tabular.tex (renamed from Master/texmf-dist/doc/xelatex/bidi/test-tabular.tex)0
-rw-r--r--Master/texmf-dist/doc/latex/bidi/test-tabularx.pdf (renamed from Master/texmf-dist/doc/xelatex/bidi/test-tabularx.pdf)bin18883 -> 18883 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bidi/test-tabularx.tex (renamed from Master/texmf-dist/doc/xelatex/bidi/test-tabularx.tex)0
-rw-r--r--Master/texmf-dist/doc/latex/bidi/test-tabulary.pdf (renamed from Master/texmf-dist/doc/xelatex/bidi/test-tabulary.pdf)bin11034 -> 11034 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bidi/test-tabulary.tex (renamed from Master/texmf-dist/doc/xelatex/bidi/test-tabulary.tex)0
-rw-r--r--Master/texmf-dist/doc/latex/bidi/test1-colortbl.pdf (renamed from Master/texmf-dist/doc/xelatex/bidi/test1-colortbl.pdf)bin18966 -> 18966 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bidi/test1-colortbl.tex (renamed from Master/texmf-dist/doc/xelatex/bidi/test1-colortbl.tex)0
-rw-r--r--Master/texmf-dist/doc/latex/bidi/test1-wrapfig.pdf (renamed from Master/texmf-dist/doc/xelatex/bidi/test1-wrapfig.pdf)bin10310 -> 10310 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bidi/test1-wrapfig.tex (renamed from Master/texmf-dist/doc/xelatex/bidi/test1-wrapfig.tex)0
-rw-r--r--Master/texmf-dist/doc/latex/bidi/test2-colortbl.pdf (renamed from Master/texmf-dist/doc/xelatex/bidi/test2-colortbl.pdf)bin27868 -> 27868 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bidi/test2-colortbl.tex (renamed from Master/texmf-dist/doc/xelatex/bidi/test2-colortbl.tex)0
-rw-r--r--Master/texmf-dist/doc/latex/bidi/test2-wrapfig.pdf (renamed from Master/texmf-dist/doc/xelatex/bidi/test2-wrapfig.pdf)bin7437 -> 7437 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bidi/test2-wrapfig.tex (renamed from Master/texmf-dist/doc/xelatex/bidi/test2-wrapfig.tex)0
-rw-r--r--Master/texmf-dist/doc/latex/bidi/test3-wrapfig.pdf (renamed from Master/texmf-dist/doc/xelatex/bidi/test3-wrapfig.pdf)bin773628 -> 773628 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bidi/test3-wrapfig.tex (renamed from Master/texmf-dist/doc/xelatex/bidi/test3-wrapfig.tex)0
-rw-r--r--Master/texmf-dist/doc/xelatex/bidi/README20
-rw-r--r--Master/texmf-dist/doc/xelatex/bidi/bidi-doc.pdfbin322849 -> 0 bytes
44 files changed, 124 insertions, 40 deletions
diff --git a/Master/texmf-dist/doc/latex/bidi/README b/Master/texmf-dist/doc/latex/bidi/README
new file mode 100644
index 00000000000..490e19532b9
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/bidi/README
@@ -0,0 +1,15 @@
+_________________
+The bidi package
+v1.0.6
+
+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.5.
+
+______________
+Vafa Khalighi
+vafakh84@gmail.com
+
+Copyright 2007-2010
+Distributed under the LaTeX Project Public License
diff --git a/Master/texmf-dist/doc/xelatex/bidi/bibitem.pdf b/Master/texmf-dist/doc/latex/bidi/bibitem.pdf
index 49191743021..49191743021 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/bibitem.pdf
+++ b/Master/texmf-dist/doc/latex/bidi/bibitem.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/bidi/bidi-doc.pdf b/Master/texmf-dist/doc/latex/bidi/bidi-doc.pdf
new file mode 100644
index 00000000000..fd15ffc5dc6
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/bidi/bidi-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/bidi/bidi-doc.tex b/Master/texmf-dist/doc/latex/bidi/bidi-doc.tex
index e4f6815b678..e6b00b2871e 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/bidi-doc.tex
+++ b/Master/texmf-dist/doc/latex/bidi/bidi-doc.tex
@@ -17,16 +17,18 @@
\definecolor{Orange}{rgb}{1,.4,.2}
\newcommand\XeTeX{Xe\TeX}
\newcommand\XeLaTeX{Xe\LaTeX}
-\title{The \textsf{bidi} Package\\ \href{http://bidi.berlios.de}{\texttt{http://bidi.berlios.de}}}
-\author{Vafa Khalighi\\ \href{mailto:vafa@users.berlios.de}{\texttt{vafa@users.berlios.de}}}
-\date{Version 1.0.5}
+\newcommand\LuaTeX{Lua\TeX}
+\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.6}
\begin{document}
\maketitle
\tableofcontents
\section{Introduction}
-\textsf{bidi} provides a convenient interface for typesetting bidirectional texts with \XeLaTeX. The package includes adaptations for use with many other commonly-used packages.
+\textsf{bidi} provides a convenient interface for typesetting bidirectional texts with \XeLaTeX\ and \LuaLaTeX\footnote{At present support for \LuaTeX\ is not present but it will be added when \LuaTeX\ 0.70 is released. This is because that direction support of \LuaTeX\ in 0.70 will be backward incompatible with 0.60.}. The package includes adaptations for use with many other commonly-used packages.
-The \textsf{bidi} package at the moment only works with \XeTeX\ engine, but we will support other \TeX\ engines as well in the future.
+The \textsf{bidi} package at the moment only works with both \XeTeX\ and \LuaTeX\ engines, but we will support other \TeX\ engines as well in the future.
\subsection{\textsf{bidi} Info On The Terminal and In The Log File}
If you use \textsf{bidi} package to write any input \TeX\ document, and then run \texttt{xelatex} on your document, \textsf{bidi} writes some information about itself to the terminal and to the log file. The information is something like:
\begin{lstlisting}[numbers=none,backgroundcolor=\color{skugga}]
@@ -35,10 +37,10 @@ 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.5, <revision 253>, 2010/07/25
+v1.0.6, <commit 6>, 2010/07/25
License: LaTeX Project Public License, version 1.3c or higher (your choice)
-Home: http://bidi.berlios.de
-Location on CTAN: /macros/xetex/latex/bidi
+Home: http://bitbucket.org/vafa/bidi
+Location on CTAN: /macros/latex/contrib/bidi
\end{lstlisting}
\section{Basics}
\subsection{Loading The Package}
@@ -80,20 +82,20 @@ l.4 \begin{document}
\end{lstlisting}
\end{enumerate}
-\subsection{Commands for Version, Subversion Revision and Date of The Package}
+\subsection{Commands for Version number, Mercurial commit number and Date of The Package}
\begin{BDef}
-\Lcs{bidiversion}\quad\Lcs{bidirevision}\quad\Lcs{bididate}
+\Lcs{bidiversion}\quad\Lcs{bidicommit}\quad\Lcs{bididate}
\end{BDef}
\begin{itemize}
\item \Lcs{bidiversion} gives the current version of the package.
-\item \Lcs{bidirevision} gives the current subversion revision of the package.
+\item \Lcs{bidicommit} gives the current Mercurial commit number of the package.
\item \Lcs{bididate} gives the current date of the package.
\end{itemize}
-\begin{lstlisting}[morekeywords={bidiversion,bidirevision,bididate}]
+\begin{lstlisting}[morekeywords={bidiversion,bidicommit,bididate}]
\documentclass{article}
\usepackage{bidi}
\begin{document}
-This is typeset by \textsf{bidi} package, \bidiversion, \bidirevision, \bididate.
+This is typeset by \textsf{bidi} package, \bidiversion, \bidicommit, \bididate.
\end{document}
\end{lstlisting}
\subsection{Options of The Package\label{options}}
@@ -175,10 +177,8 @@ Anyone who reads Old and Middle English \RLE{Short RTL text} literary texts will
\end{lstlisting}
\subsection{Footnotes}
\begin{BDef}
-\Lcs{footnote}\OptArg{num}\Largb{\Larga{text}}\quad\Lcs{LTRfootnote}\OptArg{num}\Largb{\Larga{text}}\\
-\Lcs{RTLfootnote}\OptArg{num}\Largb{\Larga{text}}\quad
-\Lcs{setfootnoteRL}\quad\Lcs{setfootnoteLR}\\
-\Lcs{unsetfootnoteRL}\quad
+\Lcs{footnote}\OptArg{num}\Largb{\Larga{text}}\quad\Lcs{LTRfootnote}\OptArg{num}\Largb{\Larga{text}}\quad\Lcs{RTLfootnote}\OptArg{num}\Largb{\Larga{text}}\\
+\Lcs{setfootnoteRL}\quad\Lcs{setfootnoteLR}\quad\Lcs{unsetfootnoteRL}\\
\Lcs{thanks}\Largb{\Larga{text}}\quad\Lcs{LTRthanks}\Largb{\Larga{text}}\quad\Lcs{RTLthanks}\Largb{\Larga{text}}
\end{BDef}
\begin{itemize}
@@ -220,7 +220,8 @@ If you pass the \texttt{twocolumn} option to the class file and if the main dire
\subsection{RTL cases}
\begin{BDef}
\Lcs{rcases}\Largb{\Lcs{text}\Largb{\Larga{brach1}}\Lcs{cr}\Lcs{text}\Largb{\Larga{brach2}}\Lcs{cr}%
-\Lcs{text}\Largb{\Larga{brach3}}\ldots}\\\Lcs{text}\Largb{\Larga{main}}
+\Lcs{text}\Largb{\Larga{brach3}}\ldots}\\
+\Lcs{text}\Largb{\Larga{main}}
\end{BDef}
\Lcs{rcases} is defined in bidi for typesetting RTL cases. \Lcs{text} is defined in \textsf{amsmath} package, so this means that you need to load \textsf{amsmath} package too.
\begin{lstlisting}[morekeywords={rcases,text}]
@@ -273,6 +274,94 @@ x^2+y^2=z^2
\end{lstlisting}
\subsection{\Lcs{raggedright}, \Lcs{raggedleft} commands, \texttt{flushleft} and \texttt{flushright} Environments}
\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{\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:
+\begin{lstlisting}
+\documentclass{article}
+\begin{document}
+Anyone who reads Old and Middle English literary texts will be familiar with the mid-brown volumes of the EETS, with the symbol of Alfred's
+\begin{enumerate}
+\item Anyone who reads Old and Middle English literary texts will be familiar with the mid-brown volumes of the EETS, with the symbol of Alfred's
+\item Anyone who reads Old and Middle English literary texts will be familiar with the mid-brown volumes of the EETS, with the symbol of Alfred's
+\end{enumerate}
+\end{document}
+\end{lstlisting}
+However if the above example becomes bidirectional, as shown below:
+\begin{lstlisting}
+\documentclass{article}
+\usepackage{bidi}
+\begin{document}
+Anyone who reads Old and Middle English literary texts will be familiar with the mid-brown volumes of the EETS, with the symbol of Alfred's
+\begin{enumerate}
+\item Anyone who reads Old and Middle English literary texts will be familiar with the mid-brown volumes of the EETS, with the symbol of Alfred's
+\setRTL
+\item Anyone who reads Old and Middle English literary texts will be familiar with the mid-brown volumes of the EETS, with the symbol of Alfred's
+\end{enumerate}
+\end{document}
+\end{lstlisting}
+Then some people may argue that this typographically does not look promising. For this purpose, \textsf{RTLitems} environment is provided which has the following syntax:
+\begin{BDef}
+\LBEG{RTLitems}\OptArg{length}\\
+\quad\Lcs{item} \Larga{text}\\
+\quad\ldots\\
+\LEND{RTLitems}
+\end{BDef}
+Where \OptArg{length} is optional and if you do not give it, the value of \Lcs{rightskip} will be equal to the value of \Lcs{labelwidth}\(+\)\Lcs{labelsep} by default and if you give this optional length, then the value of \Lcs{rightskip} will be equal to the value of \Lcs{labelwidth}\(+\)\Larg{given length}. Thus by using the \textsf{RTLitems} environment, the previous example will look like the following:
+\begin{lstlisting}
+\documentclass{article}
+\usepackage{bidi}
+\begin{document}
+Anyone who reads Old and Middle English literary texts will be familiar with the mid-brown volumes of the EETS, with the symbol of Alfred's
+\begin{enumerate}
+\item Anyone who reads Old and Middle English literary texts will be familiar with the mid-brown volumes of the EETS, with the symbol of Alfred's
+\begin{RTLitems}
+\item Anyone who reads Old and Middle English literary texts will be familiar with the mid-brown volumes of the EETS, with the symbol of Alfred's
+\end{RTLitems}
+\end{enumerate}
+\end{document}
+\end{lstlisting}
+Similarly, \textsf{LTRitems} environment is defined which has the following syntax:
+\begin{BDef}
+\LBEG{LTRitems}\OptArg{length}\\
+\quad\Lcs{item} \Larga{text}\\
+\quad\ldots\\
+\LEND{LTRitems}
+\end{BDef}
+Where \OptArg{length} is optional and if you do not give it, the value of \Lcs{leftskip} will be equal to the value of \Lcs{labelwidth}\(+\)\Lcs{labelsep} by default and if you give this optional length, then the value of \Lcs{leftskip} will be equal to the value of \Lcs{labelwidth}\(+\)\Larg{given length}.
+\subsection{\Lcs{setLTRbibitems}, \Lcs{setRTLbibitems}, and \Lcs{setdefaultbibitems} commands}
+\begin{BDef}
+\Lcs{setLTRbibitems}\quad\Lcs{setRTLbibitems}\quad\Lcs{setdefaultbibitems}
+\end{BDef}
+\begin{itemize}
+\item If your whole \textsf{thebibliography} environment is inside RTL mode, but all your \Lcs{bibitem}s are LTR and you actually want to have \Lcs{bibname} to appear on the RHS, you can use \Lcs{setLTRbibitems} command before \textsf{thebibliography} environment.
+\item If your whole \textsf{thebibliography} environment is inside LTR mode, but all your \Lcs{bibitem}s are RTL and you actually want to have \Lcs{bibname} to appear on the LHS, you can use \Lcs{setRTLbibitems} command before \textsf{thebibliography} environment.
+\item \Lcs{setdefaultbibitems} is the default, when your \Lcs{bibitems} are a mixture of LTR and RTL and it does not matter what mode (LTR or RTL) your \textsf{thebibliography} environment is in. Please note that you do not have to use \Lcs{setdefaultbibitems} command in this case at all.
+
+Consider an example that your \textsf{thebibliography} environment is inside LTR mode and you have, say two \Lcs{bibitem}s. The first \Lcs{bibitem} is LTR and the second \Lcs{bibitem} is RTL. One could typeset this senario as shown below:
+\begin{lstlisting}
+\documentclass{article}
+\usepackage{bidi}
+\begin{document}
+\begin{thebibliography}{99}
+\bibitem This is the first bibitem which is LTR.
+\begin{RTLitems}
+\bibitem This is the second bibitem which is RTL.
+\end{RTLitems}
+\end{thebibliography}
+\end{document}
+\end{lstlisting}
+\end{itemize}
+
+\subsection{Typesetting margin par}
+By default, in RTL mode, \Lcs{marginpar} appears on LHS and its content is typeset RTL and in LTR mode, \Lcs{marginpar} appears on RHS and its content is typeset LTR. In addition, the three following commands are provided:
+\begin{BDef}
+\Lcs{setRTLmarginpar}\quad\Lcs{setLTRmarginpar}\quad\Lcs{setdefaultmarginpar}
+\end{BDef}
+\begin{itemize}
+\item \Lcs{setRTLmarginpar} always makes \Lcs{marginpar} to appear on LHS and the content of \Lcs{marginpar} is typeset RTL (this is independent of the current mode).
+\item \Lcs{setLTRmarginpar} always makes \Lcs{marginpar} to appear on RHS and the content of \Lcs{marginpar} is typeset LTR (this is independent of the current mode).
+\item \Lcs{setdefaultmarginpar} gives the default behaviour of \Lcs{marginpar} as described above.
+\end{itemize}
\subsection{Typesetting of Headers and Footers}
If the main direction of the document is RTL, then headers and footers are typeset RTL and if the main direction of the document is LTR, then headers and footers are typeset LTR.
\subsection{Tabular Typesetting}
diff --git a/Master/texmf-dist/doc/xelatex/bidi/bidisample2e.pdf b/Master/texmf-dist/doc/latex/bidi/bidisample2e.pdf
index a4bb1e0d994..a4bb1e0d994 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/bidisample2e.pdf
+++ b/Master/texmf-dist/doc/latex/bidi/bidisample2e.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/bidi/bidisample2e.tex b/Master/texmf-dist/doc/latex/bidi/bidisample2e.tex
index 4f791ead282..4f791ead282 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/bidisample2e.tex
+++ b/Master/texmf-dist/doc/latex/bidi/bidisample2e.tex
diff --git a/Master/texmf-dist/doc/xelatex/bidi/bidismall2e.pdf b/Master/texmf-dist/doc/latex/bidi/bidismall2e.pdf
index 4961db4e01a..4961db4e01a 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/bidismall2e.pdf
+++ b/Master/texmf-dist/doc/latex/bidi/bidismall2e.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/bidi/bidismall2e.tex b/Master/texmf-dist/doc/latex/bidi/bidismall2e.tex
index 16a02e49240..16a02e49240 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/bidismall2e.tex
+++ b/Master/texmf-dist/doc/latex/bidi/bidismall2e.tex
diff --git a/Master/texmf-dist/doc/xelatex/bidi/gull.jpg b/Master/texmf-dist/doc/latex/bidi/gull.jpg
index a77d1bd3421..a77d1bd3421 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/gull.jpg
+++ b/Master/texmf-dist/doc/latex/bidi/gull.jpg
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/bidi/picture.jpg b/Master/texmf-dist/doc/latex/bidi/picture.jpg
index ef48e69ce85..ef48e69ce85 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/picture.jpg
+++ b/Master/texmf-dist/doc/latex/bidi/picture.jpg
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/bidi/presentation-sample.pdf b/Master/texmf-dist/doc/latex/bidi/presentation-sample.pdf
index a8dd715930a..a8dd715930a 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/presentation-sample.pdf
+++ b/Master/texmf-dist/doc/latex/bidi/presentation-sample.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/bidi/presentation-sample.tex b/Master/texmf-dist/doc/latex/bidi/presentation-sample.tex
index e562e9d83e9..e562e9d83e9 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/presentation-sample.tex
+++ b/Master/texmf-dist/doc/latex/bidi/presentation-sample.tex
diff --git a/Master/texmf-dist/doc/xelatex/bidi/test-arydshln.pdf b/Master/texmf-dist/doc/latex/bidi/test-arydshln.pdf
index 5a250e1d019..5a250e1d019 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/test-arydshln.pdf
+++ b/Master/texmf-dist/doc/latex/bidi/test-arydshln.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/bidi/test-arydshln.tex b/Master/texmf-dist/doc/latex/bidi/test-arydshln.tex
index a19c6994bd1..a19c6994bd1 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/test-arydshln.tex
+++ b/Master/texmf-dist/doc/latex/bidi/test-arydshln.tex
diff --git a/Master/texmf-dist/doc/xelatex/bidi/test-bidi.pdf b/Master/texmf-dist/doc/latex/bidi/test-bidi.pdf
index 7f2a8336f4f..7f2a8336f4f 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/test-bidi.pdf
+++ b/Master/texmf-dist/doc/latex/bidi/test-bidi.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/bidi/test-bidi.tex b/Master/texmf-dist/doc/latex/bidi/test-bidi.tex
index e81a1dc599b..e81a1dc599b 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/test-bidi.tex
+++ b/Master/texmf-dist/doc/latex/bidi/test-bidi.tex
diff --git a/Master/texmf-dist/doc/xelatex/bidi/test-brochure.pdf b/Master/texmf-dist/doc/latex/bidi/test-brochure.pdf
index 42956be42c8..42956be42c8 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/test-brochure.pdf
+++ b/Master/texmf-dist/doc/latex/bidi/test-brochure.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/bidi/test-brochure.tex b/Master/texmf-dist/doc/latex/bidi/test-brochure.tex
index 3066e0e4b41..3066e0e4b41 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/test-brochure.tex
+++ b/Master/texmf-dist/doc/latex/bidi/test-brochure.tex
diff --git a/Master/texmf-dist/doc/xelatex/bidi/test-casualcv.pdf b/Master/texmf-dist/doc/latex/bidi/test-casualcv.pdf
index 6578ceb310d..6578ceb310d 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/test-casualcv.pdf
+++ b/Master/texmf-dist/doc/latex/bidi/test-casualcv.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/bidi/test-casualcv.tex b/Master/texmf-dist/doc/latex/bidi/test-casualcv.tex
index 7e6c03378e1..b708d0f209f 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/test-casualcv.tex
+++ b/Master/texmf-dist/doc/latex/bidi/test-casualcv.tex
@@ -15,7 +15,7 @@
\mobile{۰۹۱۸۹۶۹۴۹۶}
\phone{۹۸۹۰۸۳۴۱}
\fax{۹۸۹۰۸۳۴۲}
-\email{vafa@users.berlios.de}
+\email{vafakh84@gmail.com}
\extrainfo{اطلاعات اضافی}
\photo[64pt]{picture}
\quote{نقل قول}
diff --git a/Master/texmf-dist/doc/xelatex/bidi/test-classiccv.pdf b/Master/texmf-dist/doc/latex/bidi/test-classiccv.pdf
index 1764e6a5a11..1764e6a5a11 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/test-classiccv.pdf
+++ b/Master/texmf-dist/doc/latex/bidi/test-classiccv.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/bidi/test-classiccv.tex b/Master/texmf-dist/doc/latex/bidi/test-classiccv.tex
index a1fdd2c3437..16acfc76e69 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/test-classiccv.tex
+++ b/Master/texmf-dist/doc/latex/bidi/test-classiccv.tex
@@ -15,7 +15,7 @@
\mobile{۰۹۱۸۹۶۹۴۹۶}
\phone{۹۸۹۰۸۳۴۱}
\fax{۹۸۹۰۸۳۴۲}
-\email{me@you.com}
+\email{vafakh84@gmail.com}
\extrainfo{اطلاعات اضافی}
\photo[64pt]{picture}
\quote{نقل قول}
diff --git a/Master/texmf-dist/doc/xelatex/bidi/test-color.pdf b/Master/texmf-dist/doc/latex/bidi/test-color.pdf
index 22232053af4..22232053af4 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/test-color.pdf
+++ b/Master/texmf-dist/doc/latex/bidi/test-color.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/bidi/test-color.tex b/Master/texmf-dist/doc/latex/bidi/test-color.tex
index f2a9dcd7395..f2a9dcd7395 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/test-color.tex
+++ b/Master/texmf-dist/doc/latex/bidi/test-color.tex
diff --git a/Master/texmf-dist/doc/xelatex/bidi/test-supertabular.pdf b/Master/texmf-dist/doc/latex/bidi/test-supertabular.pdf
index d6c4539b883..d6c4539b883 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/test-supertabular.pdf
+++ b/Master/texmf-dist/doc/latex/bidi/test-supertabular.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/bidi/test-supertabular.tex b/Master/texmf-dist/doc/latex/bidi/test-supertabular.tex
index af040d23c2c..af040d23c2c 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/test-supertabular.tex
+++ b/Master/texmf-dist/doc/latex/bidi/test-supertabular.tex
diff --git a/Master/texmf-dist/doc/xelatex/bidi/test-tabular.pdf b/Master/texmf-dist/doc/latex/bidi/test-tabular.pdf
index 6da31ff5b8d..6da31ff5b8d 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/test-tabular.pdf
+++ b/Master/texmf-dist/doc/latex/bidi/test-tabular.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/bidi/test-tabular.tex b/Master/texmf-dist/doc/latex/bidi/test-tabular.tex
index 826f38c3515..826f38c3515 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/test-tabular.tex
+++ b/Master/texmf-dist/doc/latex/bidi/test-tabular.tex
diff --git a/Master/texmf-dist/doc/xelatex/bidi/test-tabularx.pdf b/Master/texmf-dist/doc/latex/bidi/test-tabularx.pdf
index 0e95eaa1d03..0e95eaa1d03 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/test-tabularx.pdf
+++ b/Master/texmf-dist/doc/latex/bidi/test-tabularx.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/bidi/test-tabularx.tex b/Master/texmf-dist/doc/latex/bidi/test-tabularx.tex
index 719c266896f..719c266896f 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/test-tabularx.tex
+++ b/Master/texmf-dist/doc/latex/bidi/test-tabularx.tex
diff --git a/Master/texmf-dist/doc/xelatex/bidi/test-tabulary.pdf b/Master/texmf-dist/doc/latex/bidi/test-tabulary.pdf
index 425eb03bfc7..425eb03bfc7 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/test-tabulary.pdf
+++ b/Master/texmf-dist/doc/latex/bidi/test-tabulary.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/bidi/test-tabulary.tex b/Master/texmf-dist/doc/latex/bidi/test-tabulary.tex
index 81067943c49..81067943c49 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/test-tabulary.tex
+++ b/Master/texmf-dist/doc/latex/bidi/test-tabulary.tex
diff --git a/Master/texmf-dist/doc/xelatex/bidi/test1-colortbl.pdf b/Master/texmf-dist/doc/latex/bidi/test1-colortbl.pdf
index ddb4b770f07..ddb4b770f07 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/test1-colortbl.pdf
+++ b/Master/texmf-dist/doc/latex/bidi/test1-colortbl.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/bidi/test1-colortbl.tex b/Master/texmf-dist/doc/latex/bidi/test1-colortbl.tex
index 97f20871db1..97f20871db1 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/test1-colortbl.tex
+++ b/Master/texmf-dist/doc/latex/bidi/test1-colortbl.tex
diff --git a/Master/texmf-dist/doc/xelatex/bidi/test1-wrapfig.pdf b/Master/texmf-dist/doc/latex/bidi/test1-wrapfig.pdf
index 2e2047a40aa..2e2047a40aa 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/test1-wrapfig.pdf
+++ b/Master/texmf-dist/doc/latex/bidi/test1-wrapfig.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/bidi/test1-wrapfig.tex b/Master/texmf-dist/doc/latex/bidi/test1-wrapfig.tex
index a0fd4b7f8e5..a0fd4b7f8e5 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/test1-wrapfig.tex
+++ b/Master/texmf-dist/doc/latex/bidi/test1-wrapfig.tex
diff --git a/Master/texmf-dist/doc/xelatex/bidi/test2-colortbl.pdf b/Master/texmf-dist/doc/latex/bidi/test2-colortbl.pdf
index d682c51ce15..d682c51ce15 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/test2-colortbl.pdf
+++ b/Master/texmf-dist/doc/latex/bidi/test2-colortbl.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/bidi/test2-colortbl.tex b/Master/texmf-dist/doc/latex/bidi/test2-colortbl.tex
index 63b50618837..63b50618837 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/test2-colortbl.tex
+++ b/Master/texmf-dist/doc/latex/bidi/test2-colortbl.tex
diff --git a/Master/texmf-dist/doc/xelatex/bidi/test2-wrapfig.pdf b/Master/texmf-dist/doc/latex/bidi/test2-wrapfig.pdf
index e915bd611be..e915bd611be 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/test2-wrapfig.pdf
+++ b/Master/texmf-dist/doc/latex/bidi/test2-wrapfig.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/bidi/test2-wrapfig.tex b/Master/texmf-dist/doc/latex/bidi/test2-wrapfig.tex
index ab655dac412..ab655dac412 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/test2-wrapfig.tex
+++ b/Master/texmf-dist/doc/latex/bidi/test2-wrapfig.tex
diff --git a/Master/texmf-dist/doc/xelatex/bidi/test3-wrapfig.pdf b/Master/texmf-dist/doc/latex/bidi/test3-wrapfig.pdf
index cf73f50ea25..cf73f50ea25 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/test3-wrapfig.pdf
+++ b/Master/texmf-dist/doc/latex/bidi/test3-wrapfig.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/bidi/test3-wrapfig.tex b/Master/texmf-dist/doc/latex/bidi/test3-wrapfig.tex
index 4a61ff65f76..4a61ff65f76 100644
--- a/Master/texmf-dist/doc/xelatex/bidi/test3-wrapfig.tex
+++ b/Master/texmf-dist/doc/latex/bidi/test3-wrapfig.tex
diff --git a/Master/texmf-dist/doc/xelatex/bidi/README b/Master/texmf-dist/doc/xelatex/bidi/README
deleted file mode 100644
index e81b5d56b1f..00000000000
--- a/Master/texmf-dist/doc/xelatex/bidi/README
+++ /dev/null
@@ -1,20 +0,0 @@
-_________________
-The bidi package
-v1.0.5
-
-This package provides a convenient interface for typesetting
-bidirectional texts with XeLaTeX.
-
-This version fixes almost most of the bugs that were present in v1.0.4.
-The support for bidimoderncv is back in this version.
-
-To get help, please subscribe to the XeTeX mailing list and ask your question there.
-
-The next release is planned to be ready for MikTeX 2.9 and TeXLive 2010.
-
-______________
-Vafa Khalighi
-vafa@users.berlios.de
-
-Copyright 2007-2010
-Distributed under the LaTeX Project Public License
diff --git a/Master/texmf-dist/doc/xelatex/bidi/bidi-doc.pdf b/Master/texmf-dist/doc/xelatex/bidi/bidi-doc.pdf
deleted file mode 100644
index a1745aaf9d5..00000000000
--- a/Master/texmf-dist/doc/xelatex/bidi/bidi-doc.pdf
+++ /dev/null
Binary files differ