[OS X TeX] pdfpages

Jan Anderssen jan at linguist.umass.edu
Wed May 16 00:47:02 EDT 2007

On May 16, 2007, at 12:14 AM, Bruno Voisin wrote:

>>> I am using pdfpages to collate a large number of pdf files but I  
>>> want each pdf file to start on an odd page so that when I print  
>>> double-sided, each pdf will appear on a facing page.
>> Maybe your .tex file is laid-out in a way that allows you to have  
>> a script that reads the names of the files to be included from for  
>> instance a directory, or a text file, and then writes the  
>> appropriate \includepdf statements.
>> If so, then you could determine the number of pages for each  
>> included file via the pdfinfo command (xpdf suite), and include a  
>> \clearpage (or \cleardoublepage, forgot which) after the odd  
>> numbered papers.
> Why not just put \cleardoublepage between every two consecutive  
> \includepdf statements? In this way, and provided the [twoside]  
> option is used in your \documentclass call (for example  
> \documentclass[twoside]{article}), then each included PDF file will  
> start on an odd page.

Thanks Bruno,

that's much easier of course. I didn't look up what \cleardoublepage  
exactly does, but it seems pretty straightforward :-]


------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/

More information about the MacOSX-TeX mailing list