Skip to main content
Inspiring
November 14, 2022
Answered

Page numbers

  • November 14, 2022
  • 5 replies
  • 2242 views

I have read many different posts on this. So, I'm very confussed. 

On my master page I put a veriable in the footer <Number><$curpagenum>. Then when I go back to the Body page it is displayed on the bottom of the page. I have a working chapter with page numbers, but I can't get just a single page number to work.

 

Any ideas what I am doing wrong?

    This topic has been closed for replies.
    Correct answer LinSims

    Did not work. I appreciate all your help but for some reason it will not go back to a single number. 


    Do you have a document that it DOES work in? You could try importing variables from there.

     

    It might be fixable in the MIF, also, if you're comfortable working in that.

     

    ETA: did you delete the entire contents of the Definition field and typing <$curpagenum> from scratch? Or just edited what was there?

    5 replies

    LinSims
    Community Expert
    Community Expert
    November 15, 2022

    And as an extra reference, @K.Daube has an excellent FM reference that includes a lovely table showing the building blocks available for variables.  

    Matt-Tech Comm Tools
    Community Expert
    Community Expert
    November 15, 2022

    The system variable you should be using is 

    Current Page #

    which should be defined as <$curpagenum> , whose icon should be pink/red

    You are using a user-defined variable called Page Num, but you can't define your own variable to use instead of the system variable for system variable things.

    You can, however, edit the system variable to to what you need.

    **You will need to be viewing the Master Pages to be able to see and change the system variables.

     

    If you're still having problems after replacing the (blue) user variable with the (pink/red) system variable, go to sullivanmattr.youcanbook.me to pick a time today for a quick (free) online meeting.

     

    -Matt

     

    -Matt Sullivan, FrameMaker Course Creator, Author, Trainer, Consultant
    Inspiring
    November 15, 2022

    I open the Master page, click on the variable, click on Varables in my menu. The Page number varable is in Pink. I go to the top and click on the pen to edit the varable. I remove the definition and retype <$curpagenum> and click update.

    Next I go in and delete the varable out of the Master Page and reinert the varable and It doesn't work. 

    Now as LinSims posted. I did import all formats from a working page from a different book and it works. The exact same format. 

    Inspiring
    November 15, 2022

    I appreicate your willingness to help with the online meeting. However, company policy prohibits this type of action.

    Matt-Tech Comm Tools
    Community Expert
    Community Expert
    November 14, 2022

    Can you post some screen shots of the issue?

    -Matt Sullivan, FrameMaker Course Creator, Author, Trainer, Consultant
    Inspiring
    November 15, 2022

     

     

    LinSims
    Community Expert
    Community Expert
    November 15, 2022

    Bob's right. Your variable is defined incorrectly.

     

    Select the Page Number variable and click edit.

    Change <$curpagen o.> to <$curpagenum>]

    Save and see if that fixed things.

     

    frameexpert
    Community Expert
    Community Expert
    November 14, 2022

    If you want to meet via a web meeting, please contact me offlist at rick at frameexpert dot com.

    Bob_Niland
    Community Expert
    Community Expert
    November 14, 2022

    So is <Number> a user-defined variable?

    And normally, the System Variable <$curpagenum>, when inserted on a Master Page, appears as a simple “#”.

     

    Exactly what are you seeing on the Body Pages?

    Inspiring
    November 14, 2022

    I think a long time ago I took the default "Current Page #" and added a chapter number in front of it. Now I have some pages I want to convert back to a single page number. When I remove the chapter number I get <$curpagenum. The > is missing and it shows this way on the master [age and the body page. When I had the chapter in front I got the chapter number and the #. 

    Bob_Niland
    Community Expert
    Community Expert
    November 14, 2022

    re: …I have some pages I want to convert back to a single page number.
    Just some? That would require some Master Page mapping via AMP.

    re: …I get <$curpagenum. The > is missing…

    I would not expect to see a literal <Variable> construct on an MP, just its present value. Why not just highlight the rogue string, delete, and do an
    Insert » Variable » ☼ Current Page #