summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/bidi/flowfram-xetex-bidi.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-02-21 23:36:20 +0000
committerKarl Berry <karl@freefriends.org>2018-02-21 23:36:20 +0000
commit0751111d87e02c33ba64bd34143fef372b644f1c (patch)
tree66a9a0dc72d3ecd1a0cb4fdd25396ebd785452d0 /Master/texmf-dist/tex/xelatex/bidi/flowfram-xetex-bidi.def
parent4ca2d9bb9645cacd99fd18f027b9075bf594f81a (diff)
bidi (21feb18)
git-svn-id: svn://tug.org/texlive/trunk@46708 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/bidi/flowfram-xetex-bidi.def')
-rw-r--r--Master/texmf-dist/tex/xelatex/bidi/flowfram-xetex-bidi.def19
1 files changed, 16 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/xelatex/bidi/flowfram-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/flowfram-xetex-bidi.def
index 03fced465f5..b8da57fc8d4 100644
--- a/Master/texmf-dist/tex/xelatex/bidi/flowfram-xetex-bidi.def
+++ b/Master/texmf-dist/tex/xelatex/bidi/flowfram-xetex-bidi.def
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{49648}
+%% \CheckSum{49766}
%% \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
@@ -34,7 +34,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
%%
-\ProvidesFile{flowfram-xetex-bidi.def}[2010/07/25 v0.2 bidi adaptations for flowfram package for XeTeX engine]
+\ProvidesFile{flowfram-xetex-bidi.def}[2018/02/22 v0.3 bidi adaptations for flowfram package for XeTeX engine]
\def\@outputdblcol{%
\@nxtcol=\c@thisframe
\c@curpg=\c@page
@@ -89,6 +89,8 @@
\@resetactivechars
\global\let\@@if@newlist\if@newlist
\global\@newlistfalse\@parboxrestore
+ \global\let\bidi@BeforeOutputPageShipOut\@firstofone
+ \bidi@beforeoutputpageshipouthook
\shipout\vbox{\set@typeset@protect
\aftergroup
\endgroup
@@ -103,19 +105,30 @@
\lineskiplimit\z@
\vskip\topmargin\moveright\@themargin
\vbox{%
+ \global\let\bidi@BeforeHeader\@firstofone
+ \bidi@beforeheaderhook
\vskip\headheight
\vskip\headsep
+ \global\let\bidi@BeforeOutputBoxOutputPage\@firstofone
+ \bidi@beforeoutputboxoutputpagehook
\box\@outputbox
+ \global\let\bidi@AfterOutputBoxOutputPage\@firstofone
+ \bidi@afteroutputboxoutputpagehook
\ifvoid\@bidi@copyins@
\else
\vskip\skip\@bidi@copyins@
\unvbox\@bidi@copyins@
\fi
}}%
+ \global\let\bidi@AfterOutputPageShipOut\@firstofone
+ \bidi@afteroutputpageshipouthook
\global\let\if@newlist\@@if@newlist
\stepcounter{page}%
\setcounter{displayedframe}{0}%
- \let\firstmark\botmark}
+ \let\firstmark\botmark
+ \global\let\bidi@AtEndOutputPage\@firstofone
+ \bidi@atendoutputpagehook
+ }
\newcommand*\bidi@s@tfftextcol{\ifthenelse{\equal{\ff@txtcol}{}}{}{%
\expandafter\bidicolor\ff@txtcol}}