Page LayoutBooklet from a Document with landscape Pages

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
Duckman
Posts: 10
Joined: Tue Jan 03, 2012 4:09 pm

Booklet from a Document with landscape Pages

Post by Duckman »

I'm a big fan of the booklet.

If I get a PDF file from some one I like to convert it into a booklet. I use a short script showed down below.

It works most of the time. How ever some times I get documents which have some pages in landscape. These pages aren't rotated but just shrunk (till A6). How can I rotated these pages. The landscape pages are randomly trough the document.

Code: Select all

Code, edit and compile here:
\documentclass[a4paper]{article}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage[final]{pdfpages}
\begin{document}
\includepdf[pages=
% {1,{},-}, % blank after frontpage, than the hole document start with the frontpage
% {1,{}, 1,{}, -}, % blank after frontpage double frontpage, than the hole document start with the frontpage
% {1,{},2-}, % blank after frontpage, than the rest
- % All
% {1,{},98-127}, % front page with part of document
% nup=1x2,
landscape,
% booklet=true, % make a booklet max 36 page than use signature
signature=28, % Page per packet, divisible by 4 max 40
frame=true, % frame around page
delta=0 45 % offset (0 30-45 for binding)
]{document.pdf}
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
PS: This script I use for all kinds of documents that is why some lines are commented.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
Post Reply