-
Notifications
You must be signed in to change notification settings - Fork 0
/
booka5.tex
32 lines (28 loc) · 1.42 KB
/
booka5.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
\documentclass[a4paper,final]{article}
\usepackage{pdfpages}
\usepackage{ifpdf,ifxetex,everyshi}
\makeatletter
\ifpdf
\EveryShipout{\ifodd\c@page\else\pdfpageattr{/Rotate 180}\fi}%
\fi
\ifxetex
\EveryShipout{\ifodd\c@page\special{pdf: put @thispage << /Rotate 180 >>}%
\fi
}
\fi
\makeatother
% questo tex serve per fascicolare in sedicesimi il libro chiamato "book.pdf" nella cartella corrente. il primo va da 1 a 2 perchè comprende solo la copertina, quindi si dovrà togliere se vuoi stamparlo. Il resto è tutto in 16' e l'ultimo rimane con solo il trattino perché non finisce in %16.
\begin{document}
\includepdf[pages=1-2, nup=1x2, booklet=true, landscape]{book.pdf}
\includepdf[pages=3-18, nup=1x2, booklet=true, landscape]{book.pdf}
\includepdf[pages=19-34, nup=1x2, booklet=true, landscape]{book.pdf}
\includepdf[pages=35-50, nup=1x2, booklet=true, landscape]{book.pdf}
\includepdf[pages=51-66, nup=1x2, booklet=true, landscape]{book.pdf}
\includepdf[pages=67-82, nup=1x2, booklet=true, landscape]{book.pdf}
\includepdf[pages=83-98, nup=1x2, booklet=true, landscape]{book.pdf}
\includepdf[pages=99-114, nup=1x2, booklet=true, landscape]{book.pdf}
\includepdf[pages=115-130, nup=1x2, booklet=true, landscape]{book.pdf}
\includepdf[pages=131-146, nup=1x2, booklet=true, landscape]{book.pdf}
\includepdf[pages=147-, nup=1x2, booklet=true, landscape]{book.pdf}
%\includepdf[pages=163-, nup=1x2, booklet=true, landscape]{book.pdf}
\end{document}