summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/flipbook
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-03-09 01:24:02 +0000
committerKarl Berry <karl@freefriends.org>2012-03-09 01:24:02 +0000
commita53257fe6535ea22a7a2dd3df67af47fc7143351 (patch)
treeaae47381f2920f4289f856a4024ee95592cdc979 /Master/texmf-dist/tex/latex/flipbook
parente05558c39687645238e2cf0f3381560580fe122a (diff)
flipbook (7mar12)
git-svn-id: svn://tug.org/texlive/trunk@25584 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/flipbook')
-rw-r--r--Master/texmf-dist/tex/latex/flipbook/flipbook.sty12
1 files changed, 12 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/flipbook/flipbook.sty b/Master/texmf-dist/tex/latex/flipbook/flipbook.sty
index 7e19621b1ee..67ce84d6b54 100644
--- a/Master/texmf-dist/tex/latex/flipbook/flipbook.sty
+++ b/Master/texmf-dist/tex/latex/flipbook/flipbook.sty
@@ -64,7 +64,9 @@
\newcommand\fbImageF[3]{ % flip-book \includegraphics{...} forward
\@tempcnta 0
\advance\@tempcnta+\thefbpage
+ \if@twoside
\divide\@tempcnta2
+ \fi
\IfFileExists{#1\number\@tempcnta .#2}
{
\includegraphics[#3]{#1\number\@tempcnta .#2}
@@ -75,7 +77,9 @@
\newcommand\fbImageB[3]{ % flip-book \includegraphics{...} backward
\@tempcnta\value{numpages}
\advance\@tempcnta-\thefbpage
+ \if@twoside
\divide\@tempcnta2
+ \fi
\IfFileExists{#1\number\@tempcnta .#2}
{
\includegraphics[#3]{#1\number\@tempcnta .#2}
@@ -89,7 +93,9 @@
\newcommand\fbInputF[3]{ % flip-book \input{...} forward
\@tempcnta 0
\advance\@tempcnta+\thefbpage
+ \if@twoside
\divide\@tempcnta2
+ \fi
\IfFileExists{#1\number\@tempcnta .#2}
{
\scalefont{#3}
@@ -101,7 +107,9 @@
\newcommand\fbInputB[3]{ % flip-book \input{...} backward
\@tempcnta\value{numpages}
\advance\@tempcnta-\thefbpage
+ \if@twoside
\divide\@tempcnta2
+ \fi
\IfFileExists{#1\number\@tempcnta .#2}
{
\scalefont{#3}
@@ -116,7 +124,9 @@
\newcommand\fbVerbF[3]{ % flip-book \verbatiminput{...} forward
\@tempcnta 0
\advance\@tempcnta+\thefbpage
+ \if@twoside
\divide\@tempcnta2
+ \fi
\IfFileExists{#1\number\@tempcnta .#2}
{
\scalefont{#3}
@@ -128,7 +138,9 @@
\newcommand\fbVerbB[3]{ % flip-book \verbatiminput{...} backward
\@tempcnta\value{numpages}
\advance\@tempcnta-\thefbpage
+ \if@twoside
\divide\@tempcnta2
+ \fi
\IfFileExists{#1\number\@tempcnta .#2}
{
\scalefont{#3}