I'm trying to write a foldable booklet with LaTeX using the booklet package.
When I just compile text with the code shown below, everything works fine and the output PDF document appears in the expected shape: so landscape A4 pages, each showing two A5 textblocks (in "portrait orientation") sorted in such a way that the printed version can be folded into an A5 booklet with pages in the correct order. (so two portrait A5 pages on one landscape A4 sheet)
However, if I load the graphicx package in the header (even without actually inserting an image in the document), the output suddenly gives A4 pages in portrait orientation, showing the even-numbered pages (which are supposed to be on the left side of the paper sheet), but only a small part of the odd-numbered booklet pages, which are simply cut off at the edge of the A4 sized paper. (so attempting to place two portrait A5 pages on one portrait A4 sheet, which off course doesn't fit)
Does anyone know this problem and how to fix it?
\documentclass[11pt,a4paper]{article}
\usepackage[print]{booklet}
\usepackage{lipsum}
%\usepackage{graphicx}
\setpdftargetpages
\begin{document}
\lipsum
\lipsum
\lipsum
\lipsum
\lipsum
\lipsum
\lipsum
\lipsum
\end{document}
Here I added the File-List from the .log:
*File List*
article.cls 2014/09/29 v1.4h Standard LaTeX document class
size11.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
booklet.sty 2009/09/02 v0.7b booklet printing
bkltprnt.sty 2009/09/02 v0.7b support for booklet printing
lipsum.sty 2014/07/27 v1.3 150 paragraphs of Lorem Ipsum dummy text
graphicx.sty 2014/10/28 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)
keyval.sty 2014/10/28 v1.15 key=value parser (DPC)
graphics.sty 2016/06/02 v1.0s Standard LaTeX Graphics (DPC,SPQR)
trig.sty 2016/01/03 v1.10 sin cos tan (DPC)
graphics.cfg 2016/06/04 v1.11 sample graphics configuration
pdftex.def 2016/06/17 v0.06h Graphics/color for pdfTeX
infwarerr.sty 2016/05/16 v1.4 Providing info/warning/error messages (HO)
ltxcmds.sty 2016/05/16 v1.23 LaTeX kernel commands for general use (HO)
supp-pdf.mkii
pdftexcmds.sty 2016/05/21 v0.22 Utility functions of pdfTeX for LuaTeX (HO)
ifluatex.sty 2016/05/16 v1.4 Provides the ifluatex switch (HO)
ifpdf.sty 2016/05/14 v3.1 Provides the ifpdf switch
epstopdf-base.sty 2016/05/15 v2.6 Base part for package epstopdf
grfext.sty 2016/05/16 v1.2 Manage graphics extensions (HO)
kvdefinekeys.sty 2016/05/16 v1.4 Define keys (HO)
kvoptions.sty 2016/05/16 v3.12 Key value format for package options (HO)
kvsetkeys.sty 2016/05/16 v1.17 Key value parser (HO)
etexcmds.sty 2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO)
booklet.sty
on my machine the version number isv0.7b
dated to 2009-09-02 (you might have a look at the .sty-file in your tex-tree) and forgraphicx.sty
I havev1.0g
dated to 2014-10-28. I haven't checked the other packages which are loaded bygraphicx
. I don't use Miktex, so I can't really help you much more with package installation etc. I'll ask in chat.\listfiles
to your input and copy the resultingFile List
from the.log
file into the question.