InDesign CS5: Placeholder for "number of pages in a document"?


Much as I loathe Microsquish's Word, it does allow you to insert into a header or footer the automated text "Page X of Y."

When using InDesign, it's easy to set up the "Page X" part on a master page. But is there any placeholder character for the Y? That is, it will count the number of pages in the document, either in an absolute or a relative-to-the-section fashion? Every now and again I narrowly miss sending out something with a footer which reads "Page 4 of 3," and I would love to know if there's some way around that.

4/2/2012 1:32:00 PM

Accepted Answer

If you go to Type > Text variables > Insert variable, you will find "Last page Number", which should work (but maybe not if you're organizing multiple files in an Indesign Book, I don't know).

4/2/2012 2:17:00 PM

Oddly enough, the current page number is a marker, but the "total pages" is a text variable called "Last Page Number" that you reach using Type > Variables > Insert Variable > Last Page Number. In all other respects it functions the same way as a marker such as "Current Page Number" or "Next Page." Quirky, and not entirely logical, but that's the way it's set up.