You can substitute field names in literal mode using
«field name», but
«page#» does not work.
I think the fix for this will either be in
NSStrings+Extras->makeMergeFormula, or in Text Display right after this method is called.
There may also be date/time substitutions that need to be handled? Yes, see «date: pattern» on page 1103 of the Panorama 6 Handbook.