Commit 68cf94cc authored by Radek Hušek's avatar Radek Hušek
Browse files

fix pdfbook

parent de5d774b
......@@ -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}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment