# [OS X TeX] pdfpages question

Maarten Sneep maarten.sneep at xs4all.nl
Mon Jul 12 01:10:09 CEST 2004

```On 12 jul 2004, at 0:41, Gerben Wierda wrote:

> I am trying to use pdfpages to include a presentation in a document.
> The document uses the memoir class with a4paper. Currently, I include
> the presentation with the following command:
>
> \includepdf[pages=-,angle=90]{Presentation.pdf}
>
> but I would like instead to have the pages of the document in portrait
> style and the pages of the presentation in landscape style. I tried
> using "landscape" but Preview seems to have a weird idea about the
> pages. And so does TeXShop.

Just to check that I understand you correctly: you want to create a pdf
where some pages are rotated by 90 degrees, that is pagewidth and
pageheight are interchanged on those pages.

> Adobe displayes the pages correctly, with the first page in portrait
> and the included pages in landscape.

I assume you already use the geometry package (it may insert some extra
code to keep the pdf-files consistent).

> Anything I can do to make this work with TeXShop and Preview (10.3.4)?

File a bug-report with Apple, I've seen it go wrong with other
pdf-files and viewers as well.
OTOH, I have a file that is handled correctly in Preview, so it might
be something that has to be added to the pdfpages package (some
\pdfliteral or \pdfobj code or so). Preview handles those files in a
very ugly manner, it displays a huge gray margin to make all pages fit
inside the window.

HTMH

Maarten

-----------------------------------------------------
Post: <mailto:MacOSX-TeX at email.esm.psu.edu>