summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/xelatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-06-27 22:04:36 +0000
committerKarl Berry <karl@freefriends.org>2014-06-27 22:04:36 +0000
commit6e87c39cfa15e7220c3e09db2b123f73353d1de2 (patch)
tree1cbbc45d64316c0bc88fb50a608e50292c3bfecf /Master/texmf-dist/source/xelatex
parent12cee3cba0ade234b98b7b478bde7cec95d7ea9d (diff)
bidi (27jun14)
git-svn-id: svn://tug.org/texlive/trunk@34458 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/xelatex')
-rw-r--r--Master/texmf-dist/source/xelatex/bidi/bidi.dtx250
-rw-r--r--Master/texmf-dist/source/xelatex/bidi/bidi.ins1
2 files changed, 14 insertions, 237 deletions
diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi.dtx b/Master/texmf-dist/source/xelatex/bidi/bidi.dtx
index d45fe89027f..6a132d5fcec 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
-v14.8
+v14.9
This package provides a convenient interface for typesetting
bidirectional texts in Plain TeX and LaTeX, using XeTeX engine.
@@ -24,7 +24,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: 2014/04/23
+Current version release date: 2014/05/26
___________________
Vafa Khalighi
@@ -88,7 +88,6 @@ by Vafa Khalighi.
\generate{\file{biditufte-handout.cls}{\from{\jobname.dtx}{table,biditufte-handout.cls}}}
\generate{\file{biditufte-book.cls}{\from{\jobname.dtx}{table,biditufte-book.cls}}}
\generate{\file{bidipoem.sty}{\from{\jobname.dtx}{table,bidipoem.sty}}}
-\generate{\file{bidipresentation.cls}{\from{\jobname.dtx}{table,bidipresentation.cls}}}
\generate{\file{boek3-xetex-bidi.def}{\from{\jobname.dtx}{table,boek3-xetex-bidi.def}}}
\generate{\file{boek-xetex-bidi.def}{\from{\jobname.dtx}{table,boek-xetex-bidi.def}}}
\generate{\file{bookest-xetex-bidi.def}{\from{\jobname.dtx}{table,bookest-xetex-bidi.def}}}
@@ -256,7 +255,7 @@ by Vafa Khalighi.
% Bidirectional typesetting in plain \TeX{} and \LaTeX, using \XeTeX{} engine}
% \author{Vafa Khalighi\\
% \url{persian-tex@tug.org}}
-% \date{\today\qquad Version 14.8}
+% \date{\today\qquad Version 14.9}
%\maketitle
%\vskip 0pt plus 3fill
%\fbox{%
@@ -296,7 +295,7 @@ by Vafa Khalighi.
%*
%* Copyright © 2009–2014 Vafa Khalighi
%*
-%* 2014/04/23, v14.8
+%* 2014/05/26, v14.9
%*
%* License: LaTeX Project Public License, version
%* 1.3c or higher (your choice)
@@ -804,82 +803,6 @@ by Vafa Khalighi.
%At the moment, there is only one class that you can prepare your presentations
%with.
%
-%\subsubsection{\textsf{bidipresentation} Class}
-%\textsf{bidipresentation} is a simple class for presentations to be shown on
-%screen or beamer. It is derived from \LaTeX's article class. The “virtual paper
-%size” of documents produced by this class: width=128mm, height=96mm.
-%\textsf{bidipresentation} requires that the \textsf{fancyhdr} and \textsf{geometry} packages
-%are available on the system. Enhancements to the \textsf{bidipresentation}
-%class are easily made available by other packages, these include slides with
-%a background from a bitmap (\textsf{eso-pic} package).
-%
-%\paragraph{Usage:}
-%The class is used with
-%\begin{BDef}
-%\Lcs{documentclass}\OptArgs\Largb{bidipresentation}
-%\end{BDef}
-% Options of the article class are also available to \textsf{bidipresentation}, e. g.
-% 10pt, 11pt, 12pt for selection of font size. However, not all options of the
-% article class will be appropriate for a presentation class, e. g. twocolumn.
-%
-%A simple example document:
-%\begin{lstlisting}[morekeywords={AddToShipoutPicture,includegraphics,distance}]
-% \documentclass[12pt]{bidipresentation}
-% \usepackage{eso-pic}
-% \usepackage[RTLdocument]{bidi}
-% \AddToShipoutPicture{
-% \includegraphics{gradient2.png}
-%}
-% \begin{document}
-% \begin{titlepage}
-%\centering
-% \distance{1}
-% {
-%\Huge \bfseries Title of the presentation \par
-%}
-% \vspace{1.3ex} \large
-% Author\\[2ex]Institution
-% \distance{2}
-% \end{titlepage}
-% \begin{plainslide}[Title of Page]
-%The first page
-%\end{plainslide}
-%\begin{rawslide}
-%The second page
-% \end{rawslide}
-%\end{document}
-%\end{lstlisting}
-%The title page can be created within the \texttt{titlepage} environment, the \Lcs{maketitle}
-%command is not available. Slides may be created with the \texttt{plainslide} environment, you may add the title of the slide with the optional parameter. The
-%contents of the slide are centered vertically. Another environment generating a slide is \texttt{rawslide}: slides are written without title, contents are not
-%vertically centered.
-%
-%The \Lcs{distance}\Largb{\Larga{number}} command allows to introduce vertical space into
-%slides constructed with the \texttt{rawslide} and \texttt{titlepage} environments. You should
-%use pairs of \Lcs{distance}\Largb{} commands with numbers indicating the relative
-%height of empty space, see the titlepage in the example above.
-%
-% You can use \Lcs{pause} command to generate pauses in your presentation.
-%
-%Pictures can be included with the \Lcs{includegraphics} command of the \textsf{graphicx} package. Please be aware that the dimensions of the pages are 128mm $\times$
-%96mm and therefore included graphics are scaled appropriately.
-%
-%\paragraph{Enhancements to \textsf{bidipresentation}:}
-%
-%\subparagraph{Fill background of a presentation with bitmaps:}
-%\textsf{eso-pic} package allows you to paint the background with a picture:
-%\begin{lstlisting}[morekeywords={AddToShipoutPicture,includegraphics}]
-%\usepackage{eso-pic}
-%...
-%\AddToShipoutPicture{
-%\includegraphics{gradient2.png}
-%}
-%\end{lstlisting}
-%\Lcs{AddToShipoutPicture}\Largb{} puts the picture on every page, \Lcs{AddToShipoutPicture*}\Largb{}
-%puts it on to the current page, \Lcs{ClearShipoutPicture} clears the background
-%beginning with the current page. Details of \textsf{eso-pic}’s commands can be
-%found in its own documentation.
-%
%
%
%\section{Some Useful Internal Macros and Programming Tips}
@@ -1119,7 +1042,7 @@ by Vafa Khalighi.
%\iffalse
%<*table>
%\fi
-%% \CheckSum{42099}
+%% \CheckSum{41932}
%% \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
@@ -2650,8 +2573,8 @@ by Vafa Khalighi.
% \subsection{\textsf{bidi.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\def\bididate{2014/04/23}
-\def\bidiversion{v14.8}
+\def\bididate{2014/05/26}
+\def\bidiversion{v14.9}
\ProvidesPackage{bidi}[\bididate\space \bidiversion\space
Bidirectional typesetting in plain TeX and LaTeX]
\edef\@bidi@info{****************************************************^^J%
@@ -2732,7 +2655,7 @@ Bidirectional typesetting in plain TeX and LaTeX]
%\fi
% \subsection{\textsf{bidi.tex}}
% \begin{macrocode}
-\def\bididate{2014/04/23}
+\def\bididate{2014/05/26}
\def\bidiversion{v0.2}
\catcode`@=11
\let \protect \relax
@@ -6019,106 +5942,6 @@ bidi implementation of tufte title]
% \end{macrocode}
% \iffalse
%</bidipoem.sty>
-%<*bidipresentation.cls>
-%\fi
-% \subsection{\textsf{bidipresentation.cls}}
-% \begin{macrocode}
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{bidipresentation}[2014/02/05 v0.2 bidi presentation]
-\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
-\ProcessOptions\relax
-\LoadClass{article}
-
-\RequirePackage[foot=10.2pt,head=0pt,paperwidth=128mm,paperheight=96mm,left=5mm,top=5mm,right=7mm,bottom=8mm]{geometry}
-
-\RequirePackage{fancyhdr}
-\renewcommand{\headrulewidth}{0mm}
-
-\renewcommand{\maketitle}%
- {\ClassError{bidipresentation}{Caution: ``maketitle'' command not supported}%
- {Please use ``titlepage'' environment instead}%
-}
-
-\fancypagestyle{pres}{%
-\lhead{}%
-\chead{}%
-\rhead{}%
-\lfoot{\footnotesize \thepage}%
-\cfoot{}%
-\rfoot{}%
-}
-
-\pagestyle{pres}
-
-\newcommand{\distance}[1]{\vspace*{\stretch{#1}}}
-\newcommand{\abstand}[1]{\vspace*{\stretch{#1}}}
-
-\setlength{\parskip}{0.6ex}
-\setlength{\parindent}{0mm}
-
-\newenvironment{plainslide}[1][]%
- {{\raggedleft \large\bfseries #1\par}\par\vspace*{\stretch{1}}}%
- {\par\vspace*{\stretch{1}}\newpage}
-
-\newenvironment{rawslide}{}{\newpage}%
-
-\def\itemize{%
- \ifnum \@itemdepth >\thr@@\@toodeep\else
- \advance\@itemdepth\@ne
- \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
- \expandafter
- \list
- \csname\@itemitem\endcsname
- {\def\makelabel##1{\hss\llap{##1}}}%
- \fi
- \setlength{\itemsep}{0ex}%
- \setlength{\parskip}{0.1ex}%
- \setlength{\parsep}{0ex}%
- }%
-\let\enditemize =\endlist
-
-\def\enumerate{%
- \ifnum \@enumdepth >\thr@@\@toodeep\else
- \advance\@enumdepth\@ne
- \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
- \expandafter
- \list
- \csname label\@enumctr\endcsname
- {\usecounter\@enumctr\def\makelabel##1{\hss\llap{##1}}}%
- \fi
- \setlength{\itemsep}{0ex}%
- \setlength{\parskip}{0.1ex}%
- \setlength{\parsep}{0ex}%
- }%
-\let\endenumerate =\endlist
-
-\renewenvironment{description}
- {\list{}{\labelwidth\z@ \itemindent-\leftmargin
- \let\makelabel\descriptionlabel}
- \setlength{\itemsep}{0ex}%
- \setlength{\parskip}{0.1ex}%
- \setlength{\parsep}{0ex}}
- {\endlist}
-% \end{macrocode}
-%\changes{v14.4}{2013/11/16}{Implemented \cs{pause}.}
-% \begin{macrocode}
-\newbox\bidi@uses@vebox
-\newtoks\bidi@uses@veoutput
-\newcount\bidi@uses@vepage
-\def\pause{\global\bidi@uses@vepage=\count0\relax %save pagenumber
- \bidi@uses@veoutput=\output % make backup copy of output routine
- \output={\global\setbox\bidi@uses@vebox=\box255}% copy current contents
- % only, when triggered
- \vfill\eject %trigger now
- \output=\bidi@uses@veoutput % restore output routine
- \unvcopy\bidi@uses@vebox % insert contents
- \eject % now really show the output
- \global\count0=\bidi@uses@vepage\relax %restore page number
- \unvbox\bidi@uses@vebox\vskip-\lastskip % and insert again for next turn
-}%
-% \end{macrocode}
-% \iffalse
-%</bidipresentation.cls>
%<*boek3-xetex-bidi.def>
%\fi
% \subsection{\textsf{boek3-xetex-bidi.def}}
@@ -13168,7 +12991,7 @@ bidi implementation of tufte title]
%\fi
% \subsection{\textsf{multicol-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{multicol-xetex-bidi.def}[2014/04/20 v0.4 bidi adaptations for multicol package for XeTeX engine]
+\ProvidesFile{multicol-xetex-bidi.def}[2014/06/26 v0.5 bidi adaptations for multicol package for XeTeX engine]
% \end{macrocode}
%\changes{v14.2}{2013/11/11}{Fixed the wrong order of toc, lot, lof, etc with \textsf{multicol} package.}
% \begin{macrocode}
@@ -13205,14 +13028,16 @@ bidi implementation of tufte title]
\fi
}
\def\LTR@column@boxes{%
- \process@cols\mult@gfirstbox{%
+ \process@cols\mult@gfirstbox{%
\ifdim\dp\count@>\dimen\tw@
\global\dimen\tw@\dp\count@ \fi
+ \mc@col@status@write
\box\count@
\hss{\columnseprulecolor\vrule
\@width\columnseprule}\hss}%
\ifdim\dp\mult@rightbox>\dimen\tw@
\global\dimen\tw@\dp\mult@rightbox \fi
+ \mc@lastcol@status@write
\box\mult@rightbox
}
@@ -13227,6 +13052,7 @@ bidi implementation of tufte title]
\ifdim\dp\count@>\dimen\tw@
\global\dimen\tw@\dp\count@ \fi
\hskip-\hsize
+ \mc@col@status@write
\box\count@
\hskip-\hsize
\hskip-\columnsep
@@ -13234,6 +13060,7 @@ bidi implementation of tufte title]
\ifdim\dp\mult@rightbox>\dimen\tw@
\global\dimen\tw@\dp\mult@rightbox \fi
\hskip-\hsize
+ \mc@lastcol@status@write
\box\mult@rightbox
\hskip-\hsize
\hskip\full@width
@@ -19440,55 +19267,6 @@ The manual tells how to make other symbols.
\end{document} % The input file ends with this command.
%</bidismall2e.tex>
-%<*presentation-sample.tex>
-\documentclass[12pt]{bidipresentation}
-\usepackage{fontspec}
-\setmainfont[Script=Arabic,Mapping=farsidigits]{XB Niloofar}
-\usepackage[RTLdocument]{bidi}
-
-
-
-\begin{document}
-\begin{titlepage}
-\distance{1}
-\centering \LARGE
- \bfseries عنوان اسلاید
-
-\distance{1}
-\large
-وفا خلیقی\\[1ex]نام دانشگاه
-\distance{2}
-\end{titlepage}
-
-\begin{plainslide}[این عنوان یک صفحه است.]
-این اولین صفحه اسلاید ما است که من در حال نوشتن آن هستم و کمی بیشتر می‌نویسم تا به خط بعدی بروم
-\footnote{این یک زیرنویس فارسی است.}\LTRfootnote{This is an English footnote.}
-\begin{equation}
-(a+b)^2=a^2+2ab+b^2
-\end{equation}
-\begin{itemize}
- \item یک
- \item دو
-\end{itemize}
-
-\begin{enumerate}
- \item یک
- \item دو
-\end{enumerate}
-
-\begin{description}
- \item [یک:] اولین عدد
- \item [دو:] دومین عدد
-\end{description}
-
-\end{plainslide}
-\begin{rawslide}
-دومین صفحه
-
-\end{rawslide}
-
-\end{document}
-%</presentation-sample.tex>
%<*test1-colortbl.tex>
\documentclass{article}
\usepackage{fontspec}
diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi.ins b/Master/texmf-dist/source/xelatex/bidi/bidi.ins
index 05904b74266..453d5249b1c 100644
--- a/Master/texmf-dist/source/xelatex/bidi/bidi.ins
+++ b/Master/texmf-dist/source/xelatex/bidi/bidi.ins
@@ -61,7 +61,6 @@
\generate{\file{biditufte-handout.cls}{\from{\jobname.dtx}{table,biditufte-handout.cls}}}
\generate{\file{biditufte-book.cls}{\from{\jobname.dtx}{table,biditufte-book.cls}}}
\generate{\file{bidipoem.sty}{\from{\jobname.dtx}{table,bidipoem.sty}}}
-\generate{\file{bidipresentation.cls}{\from{\jobname.dtx}{table,bidipresentation.cls}}}
\generate{\file{boek3-xetex-bidi.def}{\from{\jobname.dtx}{table,boek3-xetex-bidi.def}}}
\generate{\file{boek-xetex-bidi.def}{\from{\jobname.dtx}{table,boek-xetex-bidi.def}}}
\generate{\file{bookest-xetex-bidi.def}{\from{\jobname.dtx}{table,bookest-xetex-bidi.def}}}