summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/flipbook
diff options
context:
space:
mode:
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}