summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/bidi/bidiftnxtra.sty
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/tex/xelatex/bidi/bidiftnxtra.sty
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/tex/xelatex/bidi/bidiftnxtra.sty')
-rw-r--r--Master/texmf-dist/tex/xelatex/bidi/bidiftnxtra.sty172
1 files changed, 0 insertions, 172 deletions
diff --git a/Master/texmf-dist/tex/xelatex/bidi/bidiftnxtra.sty b/Master/texmf-dist/tex/xelatex/bidi/bidiftnxtra.sty
deleted file mode 100644
index 8479487dc37..00000000000
--- a/Master/texmf-dist/tex/xelatex/bidi/bidiftnxtra.sty
+++ /dev/null
@@ -1,172 +0,0 @@
-%%
-%% This is file `bidiftnxtra.sty',
-
-%%
-%% __________________________________
-%% Copyright © 2009-2010 Vafa Khalighi
-%%
-%% License information appended.
-%%
-%%
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{bidiftnxtra}
-\newtoks\bidi@p@ftn
-\let\FN@sf@@footnote\footnote
-\let\FN@sf@@LTRfootnote\LTRfootnote
-\let\FN@sf@@RTLfootnote\RTLfootnote
-\def\footnote{\ifx\protect\@typeset@protect
- \expandafter\FN@sf@@footnote
- \else
- \expandafter\FN@sf@gobble@opt
- \fi
-}
-\def\LTRfootnote{\ifx\protect\@typeset@protect
- \expandafter\FN@sf@@LTRfootnote
- \else
- \expandafter\FN@sf@gobble@opt
- \fi
-}
-\def\RTLfootnote{\ifx\protect\@typeset@protect
- \expandafter\FN@sf@@RTLfootnote
- \else
- \expandafter\FN@sf@gobble@opt
- \fi
-}
-\edef\FN@sf@gobble@opt{\noexpand\protect
- \expandafter\noexpand\csname FN@sf@gobble@opt \endcsname}
-\expandafter\def\csname FN@sf@gobble@opt \endcsname{%
- \@ifnextchar[%]
- \FN@sf@gobble@twobracket
- \@gobble
-}
-\def\FN@sf@gobble@twobracket[#1]#2{}
-\let\FN@sf@@footnotemark\footnotemark
-\def\footnotemark{\ifx\protect\@typeset@protect
- \expandafter\FN@sf@@footnotemark
- \else
- \expandafter\FN@sf@gobble@optonly
- \fi
-}
-\edef\FN@sf@gobble@optonly{\noexpand\protect
- \expandafter\noexpand\csname FN@sf@gobble@optonly \endcsname}
-\expandafter\def\csname FN@sf@gobble@optonly \endcsname{%
- \@ifnextchar[%]
- \FN@sf@gobble@bracket
- {}%
-}
-\def\FN@sf@gobble@bracket[#1]{}
-\def\@tabular{\if@RTL\global\@RTLtabtrue\fi
- \leavevmode \hbox \bgroup
- \let\@footnotetext\bidi@p@ftntext
- \let\@LTRfootnotetext\bidi@p@LTRftntext
- \let\@RTLfootnotetext\bidi@p@RTLftntext
- \if@RTLtab\beginR \fi
- $\let\@acol\@tabacol
- \let\@classz\@tabclassz
- \let\@classiv\@tabclassiv \let\\\@tabularcr\@tabarray}
-\def\endtabular{\crcr\egroup\if@RTLtab\egroup\endR\egroup\fi
- \egroup $\if@RTLtab\endR\fi\egroup
- \the\bidi@p@ftn
- \global\bidi@p@ftn{}%
- \global\@RTLtabfalse}
-\long\def\bidi@p@ftntext#1{%
- \edef\@tempy{\the\bidi@p@ftn\noexpand\footnotetext[\the\c@footnote]}%
- \global\bidi@p@ftn\expandafter{\@tempy{#1}}}%
-\long\def\bidi@p@LTRftntext#1{%
- \edef\@tempyi{\the\bidi@p@ftn\noexpand\LTRfootnotetext[\the\c@footnote]}%
- \global\bidi@p@ftn\expandafter{\@tempyi{#1}}}%
-\long\def\bidi@p@RTLftntext#1{%
- \edef\@tempyii{\the\bidi@p@ftn\noexpand\RTLfootnotetext[\the\c@footnote]}%
- \global\bidi@p@ftn\expandafter{\@tempyii{#1}}}%
-\def\@xfloat #1[#2]{%
- \@nodocument
- \def \@captype {#1}%
- \def \@fps {#2}%
- \@onelevel@sanitize \@fps
- \def \reserved@b {!}%
- \ifx \reserved@b \@fps
- \@fpsadddefault
- \else
- \ifx \@fps \@empty
- \@fpsadddefault
- \fi
- \fi
- \ifhmode
- \@bsphack
- \@floatpenalty -\@Mii
- \else
- \@floatpenalty-\@Miii
- \fi
- \ifinner
- \@parmoderr\@floatpenalty\z@
- \else
- \@next\@currbox\@freelist
- {%
- \@tempcnta \sixt@@n
- \expandafter \@tfor \expandafter \reserved@a
- \expandafter :\expandafter =\@fps
- \do
- {%
- \if \reserved@a h%
- \ifodd \@tempcnta
- \else
- \advance \@tempcnta \@ne
- \fi
- \fi
- \if \reserved@a t%
- \@setfpsbit \tw@
- \fi
- \if \reserved@a b%
- \@setfpsbit 4%
- \fi
- \if \reserved@a p%
- \@setfpsbit 8%
- \fi
- \if \reserved@a !%
- \ifnum \@tempcnta>15
- \advance\@tempcnta -\sixt@@n\relax
- \fi
- \fi
- }%
- \@tempcntb \csname ftype@\@captype \endcsname
- \multiply \@tempcntb \@xxxii
- \advance \@tempcnta \@tempcntb
- \global \count\@currbox \@tempcnta
- }%
- \@fltovf
- \fi
- \global \setbox\@currbox
- \color@vbox
- \normalcolor
- \vbox \bgroup
- \let\@footnotetext\bidi@p@ftntext
- \let\@LTRfootnotetext\bidi@p@LTRftntext
- \let\@RTLfootnotetext\bidi@p@RTLftntext
- \hsize\columnwidth
- \@parboxrestore
- \@floatboxreset
-}
-\def \@endfloatbox{%
- \par\vskip\z@skip %% \par\vskip\z@ added 15 Dec 87
- \@minipagefalse
- \outer@nobreak
- \egroup %% end of vbox
- \the\bidi@p@ftn
- \global\bidi@p@ftn{}%
- \color@endbox
-}
-%%
-%% Copyright © 2009-2010 by Vafa Khalighi <vafa@users.berlios.de>
-%%
-%% 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 `bidiftnxtra.sty'.