Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

When I use the booklet package alone, it works just fine and produces the output I expect. However, when I combine it with the geometry package, it produces really bad output.

Here's my MWE. First, I comment out the geometry package:

\documentclass[11pt]{article}
%%\usepackage[landscape]{geometry}
\usepackage[print]{booklet}
\usepackage{lipsum}
\setpdftargetpages
\begin{document}
\lipsum[1]
\newpage
\lipsum[2]
\newpage
\lipsum[2]
\end{document}

which gives me the following output. Notice the results are in portrait format - I want landscape:

booklet w/o geometry package

Here are results from the same file with the geometry line uncommented. The orientation is in landscape format, but the margins are all wrong. Notice how the text clips on the first page and overlaps on the second:

booklet w/ geometry package

How can I make the geometry package work with the booklet package? I am using TeXLive 2012, by the way.

p.s. My apologies for the unscaled images.

share|improve this question
1  
Please could you explain what do you want to do? Which document is landscape, the original or the booklet? If you read booklet manual (with command texdoc booklet or here) you will find landscape option for landscape documents. Why do you need geometry? –  Ignasi Aug 8 '12 at 7:59
    
I have a more complicated document with specific margins that I need geometry for. –  Justin Bailey Aug 8 '12 at 16:05
1  
I don't know what's the problem between geometry and booklet, but as an alternative solution you could forget booklet and use geometry to produce your main document and after that, use pdfpages to construct your booklet version. Look at: booklet-with-a-specific-page-order-rule, booklets-in-memoir-class –  Ignasi Aug 9 '12 at 10:24
1  
If you don't want to make two documents, you could also use pgfpages instead of booklet. Look at La Raison answer in foldable-booklet-like-toodledos-one-pocketmod –  Ignasi Aug 9 '12 at 10:27
1  
Yes, pdfpages has an option signature=... where you say how many pages you want to fold. Please, look at the manual, everything is explained in it. –  Ignasi Aug 10 '12 at 17:17

1 Answer 1

up vote 4 down vote accepted

I understand you want to print a booklet version of your original document which consists in several specially dimensioned pages defined with geometry package help.

As an example, our original document looks like:

enter image description here

which was made with next code. Page dimensions are 10cm x 8cm.

\documentclass{article}
\usepackage{lipsum}
\usepackage[papersize={10cm,8cm}]{geometry}
\usepackage[placement=center,angle=0,color=blue!95,scale=7]{background}
\backgroundsetup{contents={-\thepage-}}
\usepackage{pgffor}

\begin{document}

\foreach \i in {1,...,24}
{
    \ \newpage
}

\end{document} 

Now with pdfpages help it's easy to produce a booklet version. If original document was 66267a.pdf, next code will do it.

\documentclass[a4paper]{article}

\usepackage{pdfpages}

\begin{document}

\includepdf[pages=-, nup=2x1, noautoscale, 
            frame, signature*=8, landscape, 
            angle=180, delta=0 1cm]{66267a}
\end{document}

pdfpages options means:

  • pages=- include all original pages
  • nup=2x1 place two pages on a row
  • noautoscale keep original page dimensions, otherwise they will scale to fit new page
  • frame draw a frame around every original page
  • signature*=8 organize pages in 8 pages booklets
  • landscape new page will be landscape
  • angle=180 not sure what it means, but works.
  • delta=0 1cm introduces some separation between pages. If you don't need it, delete it.

As you can sse from next figure. It's supposed that you will use double side printing.

enter image description here

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.