# [OS X TeX] Numbering pages on PDF-documents

Manuel libros at limay.de
Sun Mar 2 16:49:53 EST 2008

```Great. Thank you very much!

Manuel

Am 02/03/2008 um 21:46 schrieb Alan Munn:

> At 9:28 PM +0100 3/2/08, Manuel wrote:
>> Am 02/03/2008 um 20:12 schrieb Alan Munn:
>>
>>> At 7:57 PM +0100 3/2/08, Manuel wrote:
>>>> Am 02/03/2008 um 15:12 schrieb Alan Munn:
>>>>
>>>>> Use the geometry package for this sort of thing.
>>>>>
>>>>>
>>>>
>>>> Yes! This worked perfectly, many thanks, Alan.
>>>>
>>>> Is there any way to supress numbers on certain pages? Like, on
>>>> "pages 1 to 3"  and "page 145" no page number appear?
>>>
>>> Yes. Recall that your pdfpages command has the following format:
>>>
>>> {filename.pdf}
>>>
>>> This tells pdfpages to insert all the pages into the document
>>>
>>> So if you want particular pages to be blank, you would need to
>>> make separate includes for the ranges of pages that you want to
>>> have a blank pagestyle, and then leave out the pagecommand
>>> parameter.
>>>
>>> e.g. the following will put no page numbers on pages 1-3 and page
>>> numbers on the rest.
>>>
>>> \includepdf[pages={1-3}]{filename.pdf}
>>> {filename.pdf}
>>>
>>> Alan
>>
>> Aha. It does work, but I'm not sure I'm getting this right. At the
>> moment, it looks like this:
>>
>> \includepdf[pages={1-3}]{filename.pdf}
>> {filename.pdf}
>> \includepdf[pages={7}]{filename.pdf}
>> {filename.pdf}
>> \includepdf[pages={31}]{filename.pdf}
>> {filename.pdf}
>> \includepdf[pages={47}]{filename.pdf}
>> {filename.pdf}
>>
>> Perhaps the correct way to do it would be to specify once what
>> pages to number and once which  pages not to number, or may be
>> this is it, and a separate command must be given each time?
>
> This seems fine. As far as I know, there's no way to specify which
> pages to number, and which pages not to number.  pdfpages simply
> inserts the pages in the order of the include commands, so you
> can't put one include to specify the numbered pages and then
> another one to specify the unnumbered pages, since they would then
> end up in the wrong order.
>
> With respect to Schremmer's suggestion, you can include {} as a
> page specification to pdfinclude to insert a blank page also.
>
> Alan
>
> --
> Alan Munn amunn at msu.edu
> Department of Linguistics                             and Germanic,
> Slavic, Asian and African Languages   Fax.  +1-517-432-2736
> Michigan State University, East Lansing MI 48824       Tel.
> +1-517-355-7491
>