Adobe InDesign CS3 User Manual
Page 94
INDESIGN CS3
User Guide
87
File Name
This variable inserts the name of the current file into the document. It’s commonly added to the slug area of the
document for printing or used in headers and footers. In addition to Text Before and Text After, you can choose the
following options.
Include Entire Folder Path
Select to include the full folder path with the file name. The standard path conventions
for either Windows or Mac OS are used.
Include File Extension
Select to include the file name extension.
The File Name variable is updated whenever you save the file with a new name or to a new location. The path or
extension does not appear in the document until it’s saved.
Last Page Number
The Last Page Number type is useful for adding the total number of pages in a document to headers and footers using
the common “Page 3 of 12” format. In this case, the number 12 is generated by the Last Page Number, and it’s updated
whenever pages are added or removed. You can insert text before or after the last page number, and you can specify
a numbering style. From the Scope menu, choose an option to determine whether the last page number in the section
or document is used.
Note that the Last Page Number variable does not count the pages in the document.
yy or YY
Year number, last two
digits
07
y or YYYY
Full year number
2007
G or GGGG
Era, abbreviated or
expanded
AD or Anno Domini
h
Hour, no leading zero
4
hh
Hour, leading zero
04
H
Hour, no leading zero,
24-hour format
16
HH
Hour, leading zero,
24-hour format
16
m
Minute, no leading zero
7
mm
Minute leading zero
07
s
second, no leading zero
7
ss
second, leading zero
07
a
AM or PM, two characters PM
z or zzzz
Time zone, abbreviated
or expanded
PST or Pacific Stan-
dard Time
Abbrevia-
tion
Description
Example