June 30 2010 • 9:38 AM

Use Numbered Lists Instead of Auto Page Numbering

Yes, InDesign has an automatic page number feature — just use the Current Page Number special character and it shows up properly on every document page. That’s great for simple documents, but sometimes people have special page numbering needs that require a different technique. For example, perhaps you want both page numbers on a spread to be on the same page; or you want the same page to be labeled with two different numbers (like one based on position in the document and another based on the position in the section).

Or, here’s another example: PN wrote,

We’re doing a prayer book that has one side in Hebrew and the other side in English. The facing page numbers need to be the same (as a spread). Is there a trick for this??

In all of these, you want sequential numbering, but you can’t get exactly what you want by using the current page number character. So instead, use a different form of numbering: Automatic numbered lists.

First, create one or more custom lists, as discussed in this post. Then, use that list in a paragraph style that turns on automatic numbering:

numbered para style

Finally, assign that paragraph to a blank line (there must be at least one space or a paragraph return to make the number appear). In the following image, the “left page folio” paragraph style has been assigned to a paragraph in a text frame on the left page. Note that I inserted the word “Left-” just for the sake of this demo. You could remove that in the Number field above. Another paragraph style (based on the first, but aligned right, using a different numbering List, and a different Number format) was assigned to the paragraph in the frame on the right.

leftpage2.png

Note that there is one problem with setting up a long document like this: These text frames cannot be on the master page. Or, if they are master page items, you have to manually override them (Command-Shift-click/Ctrl-Shift-click) to make the document page items. Otherwise, InDesign won’t update their numbers properly from page to page. (When they’re still master page items, they’re frozen, like text in ice. You need to unfreeze them to make them update.)

Nevertheless, even with that restriction, using numbered lists for page numbering can be a huge time-saver. Of course, there are other “automatic numbering systems” built into InDesign, too. For example, you could, in theory even use footnotes, a la this post. It’s all about thinking outside the box!

12 Responses discussing this post. Add yours below.

  1. erique
    June 30th, 2010 • 6:14 pm • Link

    Note that there is one problem with setting up a long document like this: These text frames cannot be on the master page. Or, if they are master page items, you have to manually override them (Command-Shift-click/Ctrl-Shift-click) to make the document page items.

    This can be a real PITA when you have more than a few pages in your document, but there is a little script that will unlock all (!) master page items in one fell swoop, retaining any numeric order that they create on the pages of your document.

    http://scriptbuilders.net/files/unlockmasterpageitems1.0.html

  2. Peter Gold
    June 30th, 2010 • 10:57 pm • Link

    Cross-references can capture the “true” InDesign page numbers, but not the simulated page numbers.

  3. orielwen
    July 1st, 2010 • 3:02 am • Link

    OK, what if I want a running header in each section that gives the page range of the section (‘pages 3–12′, ‘pages 13–18′, ‘pages 19–26′, etc.)? I can see how to get the last page number in the section with a text variable, but how about the first, without having to have a different master for each section?

  4. July 1st, 2010 • 8:18 am • Link

    @erique: That’s great, thanks!

    @Peter: Good point; though you can make a x-ref that points to the numbered list to kind of fake it.

    @orielwen: I don’t know if Power Headers can do this, but it’s worth a look. It would be tricky, for sure.

  5. Stewb
    July 22nd, 2010 • 2:19 pm • Link

    To make both page numbers appear on one side of a spread, just create a text frame on each page and link them. For the right side: insert a frame break in the left frame, and markers for Previous Page Number – Current Page Number in the right frame. Reverse the order if you want to put it on the left page.

    @David: could you set up your document as a single page that’s 2x as wide and use regular page numbering, or would your print vendor never forgive you?

    @orielwen: you could name your sections with section markers “3-12″, “13-18″ and insert “Section Marker” on your master pages. It gets a little clunky when you have to move pages around.

  6. Paige
    February 8th, 2011 • 12:01 pm • Link

    I am creating a report to be printed and would just like to have the page numbers alternating the corners of each page. Eg. a 1 in bottom left corner of Page 1, and a 2 in the bottom right corner of Page 2. Currently the numbers are on the bottom right corner of all pages. I have tried creating the two text boxes in each corner of my master page and placing the “Current Page Number ” Marker in both (both have A’s), but then I have page numbers in both corners. If there is a forum on this already I would appreciate the link!
    Thanks,
    Paige

  7. February 8th, 2011 • 12:11 pm • Link

    @Paige: There is a forum at: http://indesignsecrets.com/forum
    But in the meantime, it sounds like what you need is to create your document as a Facing Pages document (in the New Document, or File > Document Setup dialog box). With a facing pages document, you have a left-master and a right-master page, so it’s easy to do what you want with normal page numbering — see first link in the blog post above).

  8. Paige
    February 8th, 2011 • 1:09 pm • Link

    Hi David,

    I do already have facing pages in my document set up. Sorry I wasn’t specific enough, I mean if there is a link to this exact question asked previously, I have been doing some searching within the entire forum and have not found anything of this particular nature.

    Thanks again

  9. DonaLuisa
    September 15th, 2011 • 4:49 pm • Link

    I would also like to have the format, Page X of Y, where X numbers only the odd pages. So the above shows us to do that.

    How can we get the Y? Which would a variable or whatever to give a total odd-page count.

    Sorry if I missed this somewhere.

  10. September 16th, 2011 • 6:27 am • Link

    @DonaLuisa: You can use a text variable to give you the total count of all the pages, but I don’t think there is any way to automatically give you the total of the odd pages. Maybe a script could be written. That is a very rare request.

  11. Lauren Neville
    October 4th, 2011 • 11:21 pm • Link

    I have a related question on page numbering. A step in a set of instructions related to merging two ID documents using a script instructs to set up “a two page non-spreads doc with numerals 2 and 4 on pages 1 and 2 respectively, and another similar doc with numerals 1 and 3 on corresponding pages”
    So I interpret this to mean setting up a document with NON facing pages and putting EVEN numbers (only) on one document and ODD numbers (only) on the other document.
    How would this be done? I have spent 3 hours searching through forums, help files etc. It is probably obvious but I sure haven’t found it. This is the last step in completing a 450 page book. I figured if anyone knew a solution, you folks would!
    Thanks a million!

  12. bmiland
    April 13th, 2012 • 8:05 am • Link

    One of the members of the InDesign User group had this problem. The customer had two pages which act as one and wanted both numbered the same.
    This is the solution I suggested:
    1. Add a new layer and make it non printing.
    2. Create a new, unique paragraph style which the text variable can use. E.g. pagNum
    3. Create a text frame on the left page of each two page spread on this layer with this style. It will show on the page but will not print
    4. Enter the number of the spread in the text box on each spread.
    5. Define a text variable as a running header.
    a. Go to Type/Text Variables/Define/New
    b. Give it a name
    c. Select ‘running header (paragraph style)’ as type
    d. Select the style defined above
    e. Select Use: First on page
    f. Enter text before, e.g. ‘Page ‘ and text after if any
    g. Click OK
    6. Go to master page and create text frame where you want the page number to appear on left and right pages.
    7. Enter the text variable in the text frame
    a. Go to Type/Text Variables/insert
    b. Select the variable defined above
    8. Do this for both left and right pages
    Now, each two page spread will pick up the non printing spread number from the document and repeat it on both left and right side. Since the paragraph style is unique, it can be anywhere on the page and the text variable will pick it up as the first occurrence of that style.

    Of course this has the same issue as David’s numbered list approach. The text frame cannot be on the master page. In order to make this work easily, I wrote a script which quickly adds the text box to the left page of every two page spread with the spread number. The only thing to make sure is the default paragraph style is the number style defined above.
    The script is available to anyone for free. Just contact me.
    Ben Milander

Subscribe to the Discussion

Get the ongoing discussion surrounding "Use Numbered Lists Instead of Auto Page Numbering" delivered to you. Click here to subscribe via RSS.

Leave a Reply

You can use limited HTML tags, such as <em></em> for emphasis/italics and <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .

InDesignSecrets reserves the right to edit and/or remove posts and comments.