You have multiple choices.
- Use Pages '09 or Word as has been suggested.
- Click on your Pages document title, copy/paste the pre-selected document name into your document.
- Exclusive to Pages v5.5 or later on Yosemite
- Embed placeholder text in the header and/or footer of a template, or in your document body as needed.
- [Filename]
- [Filepath]
- Set placeholder text via Format menu > Advanced > Define as Placeholder Text
- Use an AppleScript that replaces these respective placeholder tag names with the document name and path.
- Make a new Pages document that has the above strings in the header, and footer respectively, and save it with a name.
- Copy/Paste the following AppleScript into the Script Editor on Yosemite, Compile it, and Run it. Observe the document updates.
AppleScript Code (Yosemite or later only):
-- AppleScript for Yosemite (or later) and Pages v5.5 (or later)
-- Change every occurrence of the following property strings in a Pages document
-- by replacement of the respective placeholder text fields.
-- Consider use of a custom template with header/footer placeholder text strings.
-- VikingOSX, June 2015, Apple Support Community
property tagStr1 : "[Filename]"
property tagStr2 : "[Filepath]"
tell application "Pages"
tell front document
set theTagName to the tag of every placeholder text whose tag is equal to tagStr1
set theTagPath to the tag of every placeholder text whose tag is equal to tagStr2
set docName to name of it as text
set docPath to file of it as text
set docPath to (POSIX path of docPath) as text
if text -1 of docPath is equal to "/" then
-- trim trailing slash from package folder path
set docPath to text 1 thru -2 of (POSIX path of docPath) as text
end if
if (count of theTagName) is not equal to 0 then
repeat with i from 1 to count of theTagName
set thisTag to itemi of theTagName
set (every placeholder text whose tag is thisTag) to docName
end repeat
end if
if (count of theTagPath) is not equal to 0 then
repeat with i from 1 to count of theTagPath
set thisTag to itemi of theTagPath
set (every placeholder text whose tag is thisTag) to docPath
end repeat
end if
end tell
end tell