Fan of creative technology, elearning, instructional design and a little geeky

Auto number: previous and current page numbers in single frame

Digitip 027 – Adobe InDesign CS

A little while ago one of my customers (a Pica Award winner), presented me with a graphic design in which a facing pages document had no pagenumbering on the left hand page, yet double page numbering on the right hand page (indicating the left-page number and right-page number). The question was: Could this be automated? I must admit it tested my creative thinking, but a solution was found, which is outlined in the following tip.

Master page setup

Start by creating a new document, and select the facing pages option. Or alternatively work with island spread master pages. In your pages palette double click the A Master.

pages palette

Your document will then display a page spread.

Two text boxes

On the left hand page draw a text frame (click drag with the type tool), then using the selection tool, click the outport on the previously drawn frame and create a second frame on the right hand page.

screenshot

The two frames are now linked. Double click with your selection tool in the first frame to see the text insertion cursor.

screenshot

The page numbers

Now that the text cursor is flashing away, let’s force it to jump to the text frame on the right hand page, by selecting Insert Break Character > Frame Break (right mouse click or if you’re on a mac with a single mouse buttone, Ctrl-click).

frame break

Now we are ready to include our (automatic) previous page number marker. Right mouse click and select Previous Page Number from the Insert Special Character contextual menu. Enter any character that sits between the two page numbers. I’m inserting a pipe-character. (|) Right mouse click again, and select Auto Page Number from the Insert Special Character contextual menu that appears.

auto page number

So now we have two “A”‘s in our master page indicating some automatic numbering occurring in A-Master (hence the letter A).

A A

Finally the proof is in the pudding…

Let’s view our document pages 2 and 3…

the result... page two and three

Ok, so now you go to page 1 and notice the PB listed as the previous number. You’ll have to manually remove that after overriding this master page element (Shift Ctrl click on PC, Shift-Command click on Mac).

Now try and use this technique with next page numbers as well… 🙂

Similar posts
  • Adobe InDesign and XML: A Reference Guide The following is a reference guide I have compiled over time for those of you who are looking at doing a little more with XML in InDesign (originally published Feb. 2011, last updated Feb 2018). If you have any extra information you’d like to see added to this guide, feel free to message me. Mapping XML tags to InDesign [...]
  • How to change the colour of bullet points in InDesig... A few weeks ago I recorded a short quick tip tutorial. InDesign’s Control panel, gives users a quick and easy way to format text as a bulleted list. Highlight the text, and click the Bulleted List button in the Paragraph Formatting Controls mode for the Control panel. This applies a universal bullet character as the [...]
  • Creating a pop-up window in a PDF with Adobe InDesig... In the following YouTube tutorial, we’ll create an interactive PDF from Adobe InDesign, in which we click on a button, which in turn opens up a simple pop-up window containing a close-box. When the close-box is clicked the pop-up window disappears [...]
  • InDesign: Facing pages with odd-numbered left pages Back in 2004 I wrote a tip for InDesign CS on how you could have the first page of your document be a left page AND have it start with page number 1. It’s hard to believe this is almost a decade ago… But a recent question on Facebook, made me think I should really [...]
  • Negative Lookbehind – GREP for Designers This is the fourth and final blog-posts in a series of posts on lookaheads and lookbehinds in GREP, written after speaking at the Perth InDesign User Group. My speaker notes are also available: What is GREP? (PDF download) (2.4Mb). In the previous three posts I briefly introduced GREP, and we took a look at Positive [...]

9 Comments

  1. trebreh trebreh
    June 12, 2009    

    the same problem. a indesign cs3 job open then at indesign cs4 shows wrong numbering 🙁

  2. Alfredo Alfredo
    June 6, 2009    

    Hi Cristina, maybe you are inserting only the current page number and that is the reason why you get the 3 | 3. To work I place after the first Current Page Number and type a separator like “|” and then insert a Next Page number to get different page numbers (Current and Next Page numbers), whith this you get a 3 | 4.

    • Cari Jansen Cari Jansen
      June 7, 2009    

      Hi Cristina, Did Alfredo’s tip help out? I have tested this in CS4 and it does work indeed. The main thing is that the text frames ARE threaded and you are inserting the correct Markers.

  3. Cristina Moreira Cristina Moreira
    June 2, 2009    

    My text frames are threaded, inserted the Currente page number and still doesn´t work I get for exemple 3 | 3
    Thanks

  4. wmiro wmiro
    May 4, 2009    

    I must also do the same with CS4, I follow all the directions but still does not work.
    I always like the page number for example 10 / 10

    Can you help me
    thanks

    • Cari Jansen Cari Jansen
      May 7, 2009    

      Are the two text frames on the Master indeed threaded?

  5. April 28, 2009    

    Dear Cari
    I tried to replicate this in InDesign CS4 and it doesn´t work
    Can you help me
    Thanks

    • Cari Jansen Cari Jansen
      May 1, 2009    

      Hi Cristana,

      I just tested this in CS4 and it definitely still works. But a few things are in different spots and now named differently.

      You can find the page number markers under Type > Insert Special Character > Markers
      Instead of “Auto Page Number” listed above use Current Page Number

      Hope you’ll get it working now.

      Cheers,

      Cari

No Pings Yet

  1. Previous and Current Page Numbers on Odd Pages. - Cari Jansen | Cari Jansen on July 25, 2014 at 6:36 pm

Leave a Reply

Your email address will not be published. Required fields are marked *