Skip to main content
Participant
December 22, 2022
Answered

3-digit autonumbering with leading zeros?

  • December 22, 2022
  • 4 replies
  • 342 views

Hi all,

 

Is there a way to create a three-digit page number with leading zeros using either paragraph tag autonumbering or a variable? For example:

001, 002

032, 033

098, 099 (we don't expect it to go to 100 - ha ha)

 

Thank you.

 

 

    This topic has been closed for replies.
    Correct answer K.Daube

    Hi MacDan, I urge You to vote on https://tracker.adobe.com/#/view/FRMAKER-10999 to emphasise the need for this feature. I have requested this since FM-11...

    4 replies

    Bob_Niland
    Community Expert
    Community Expert
    December 25, 2022

    There's also the question of the output target.
    If it's page-oriented format, such as PDF, does it recognize LZ page numbers?

    K.Daube
    Community Expert
    K.DaubeCommunity ExpertCorrect answer
    Community Expert
    December 24, 2022

    Hi MacDan, I urge You to vote on https://tracker.adobe.com/#/view/FRMAKER-10999 to emphasise the need for this feature. I have requested this since FM-11...

    Barb Binder
    Community Expert
    Community Expert
    December 23, 2022

    Hi @MacDan:

     

    This question was asked by someone else yesterday. It might be a good idea to keep an eye on the answers that appear on this thread as well.

    https://community.adobe.com/t5/framemaker-discussions/how-to-create-numbering-with-leading-zeros-framemaker/td-p/13439728

     

    ~Barb

    ~Barb at Rocky Mountain Training
    frameexpert
    Community Expert
    Community Expert
    December 22, 2022

    FrameMaker doesn't have a built-in way of doing this, although it has been requested over the years. You could have a set of paragraph formats where the building blocks have leading zeros; for example,

    numbered-single: 00<n+> (001, 002, etc)

    numbered-double: 0<n+> (032, 033, etc)

    numbered: <n+> (100, 101)

    This would be a semi-automatic solution so you would have to check to make sure paragraphs are tagged correctly, especially as you add or subtract them.

    Another possibility is a scripting solution that would automatically apply the correct formats, based on the actual numbers. If you are interested in exploring this, please contact me offlist. Thank you.