Skip to content
Snippets Groups Projects
Commit 68cf94cc authored by Radek Hušek's avatar Radek Hušek
Browse files

fix pdfbook

parent de5d774b
No related branches found
No related tags found
No related merge requests found
......@@ -38,12 +38,12 @@ fi
##
if test -z "$shortedge"
then
exec pdfjam --landscape --suffix book $signature "$@"
exec pdfjam --booklet true --landscape --suffix book $signature "$@"
else
(kpsewhich everyshi.sty >/dev/null) || {
echo "the 'everyshi' package is not installed."; exit 1
}
exec pdfjam --landscape --suffix book $signature \
exec pdfjam --booklet true --landscape --suffix book $signature \
--preamble '\usepackage{everyshi}
\makeatletter
\EveryShipout{\ifodd\c@page\pdfpageattr{/Rotate 180}\fi}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment