diff options
author | Karl Berry <karl@freefriends.org> | 2011-09-23 22:23:08 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-09-23 22:23:08 +0000 |
commit | dd8e452ef5f9c81a8a05fe871ce3d8fb4b5b646f (patch) | |
tree | 9050ac8da771b94d28de61a7fa150c8c3a532fb1 /Master/texmf-dist/tex/latex/bidi | |
parent | 7b64a1aead3e4e89f3d17737813d522ca8ec66d2 (diff) |
bidi (23sep11)
git-svn-id: svn://tug.org/texlive/trunk@24075 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bidi')
5 files changed, 79 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/bidi/amsart-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/amsart-xetex-bidi.def index ab2d6a0bb37..8d674d2475f 100644 --- a/Master/texmf-dist/tex/latex/bidi/amsart-xetex-bidi.def +++ b/Master/texmf-dist/tex/latex/bidi/amsart-xetex-bidi.def @@ -108,6 +108,27 @@ \if@RTL\raggedleft\else\raggedright\fi \hyphenpenalty\@M \footnotesize} +\def\maketitle{\par + \@topnum\z@ % this prevents figures from falling at the top of page 1 + \@setcopyright + \thispagestyle{firstpage}% this sets first page specifications + \uppercasenonmath\shorttitle + \ifx\@empty\shortauthors \let\shortauthors\shorttitle + \else \andify\shortauthors + \fi + \@maketitle@hook + \begingroup + \@maketitle + \toks@\@xp{\shortauthors}\@temptokena\@xp{\shorttitle}% + \toks4{\def\\{ \ignorespaces}}% defend against questionable usage + \edef\@tempa{% + \@nx\markboth{\the\toks4 + \@nx\MakeUppercase{\the\toks@}}{\the\@temptokena}}% + \@tempa + \endgroup + \c@footnote\z@ + \@cleartopmattertags +} %% %% Copyright © 2009–2011 VAFA KHALIGHI <vafaklg@gmail.com> %% diff --git a/Master/texmf-dist/tex/latex/bidi/amsbook-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/amsbook-xetex-bidi.def index 72750cdc9eb..8406fecbf2e 100644 --- a/Master/texmf-dist/tex/latex/bidi/amsbook-xetex-bidi.def +++ b/Master/texmf-dist/tex/latex/bidi/amsbook-xetex-bidi.def @@ -117,6 +117,19 @@ #1\par \endgroup \skip@34\p@ \advance\skip@-\normalbaselineskip \vskip\skip@ } +\def\maketitle{\par + \@topnum\z@ % this prevents figures from falling at the top of page 1 + \begingroup + \@maketitle + \endgroup + \c@footnote\z@ + \def\do##1{\let##1\relax}% + \do\maketitle \do\@maketitle \do\title \do\@xtitle \do\@title + \do\author \do\@xauthor \do\address \do\@xaddress + \do\email \do\@xemail \do\curraddr \do\@xcurraddr + \do\dedicatory \do\@dedicatory \do\thanks \do\thankses + \do\keywords \do\@keywords \do\subjclass \do\@subjclass +} %% %% Copyright © 2009–2011 VAFA KHALIGHI <vafaklg@gmail.com> %% diff --git a/Master/texmf-dist/tex/latex/bidi/bidi.sty b/Master/texmf-dist/tex/latex/bidi/bidi.sty index 3117bbaa361..9c7ae94cfbc 100644 --- a/Master/texmf-dist/tex/latex/bidi/bidi.sty +++ b/Master/texmf-dist/tex/latex/bidi/bidi.sty @@ -14,7 +14,7 @@ %% \NeedsTeXFormat{LaTeX2e} \def\bididate{2011/10/01} -\def\bidiversion{v1.3.0} +\def\bidiversion{v1.3.1} \ProvidesPackage{bidi}[\bididate\space \bidiversion\space Bidirectional typesetting in plain TeX and LaTeX] \edef\bidiinfo{% diff --git a/Master/texmf-dist/tex/latex/bidi/combine-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/combine-xetex-bidi.def new file mode 100644 index 00000000000..29dfa8e9528 --- /dev/null +++ b/Master/texmf-dist/tex/latex/bidi/combine-xetex-bidi.def @@ -0,0 +1,43 @@ +%% +%% This is file `combine-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `combine-xetex-bidi.def') +%% +%% ______________________________________ +%% Copyright © 2009–2011 VAFA KHALIGHI +%% +%% License information appended. +%% +%% +\ProvidesFile{combine-xetex-bidi.def}[2011/09/23 v0.1 bidi adaptations for combine class for XeTeX engine] +\renewcommand{\c@ll@chapsecii}[2]{% + \if@RTL\advance\rightskip\@tempdima\else\advance\leftskip\@tempdima\fi + \if@RTL\hskip -\rightskip\else\hskip -\leftskip\fi + #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par +} +\renewcommand{\c@ll@chapseci}{% + \setlength\@tempdima{0em}% + \begingroup + \parindent \z@ \if@RTL\leftskip\else\rightskip\fi \@pnumwidth + \parfillskip -\@pnumwidth + \leavevmode +} +\renewenvironment{tocindent}[1]{% + \hangindent \if@RTL-\fi#1 \hangafter -100\relax}{} +%% +%% 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 +%% this license is at: http://www.latex-project.org/lppl.txt +%% +%% This work is “author-maintained” (as per LPPL maintenance status) +%% by VAFA KHALIGHI. +%% +%% +%% +%% +%% End of file `combine-xetex-bidi.def'. diff --git a/Master/texmf-dist/tex/latex/bidi/xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/xetex-bidi.def index adc7f8779c8..326ed5bc2e8 100644 --- a/Master/texmf-dist/tex/latex/bidi/xetex-bidi.def +++ b/Master/texmf-dist/tex/latex/bidi/xetex-bidi.def @@ -559,6 +559,7 @@ $\@@underline{\hbox{#1}}\m@th$\relax\fi\fi} \@ifclassloaded{boek3}{\input{boek3-xetex-bidi.def}}{} \@ifclassloaded{book}{\@ifpackageloaded{flowfram}{}{\input{book-xetex-bidi.def}}}{} \@ifclassloaded{bookest}{\input{bookest-xetex-bidi.def}}{} +\@ifclassloaded{combine}{\input{combine-xetex-bidi.def}}{} \@iftagsloaded{leqno}{\input{leqno-xetex-bidi.def}}{} \@iftagsloaded{fleqn}{\input{fleqn-xetex-bidi.def}}{} \@ifpackageloaded{amsmath}{\input{amsmath-xetex-bidi.def}}{} |