Skip to main content
Participating Frequently
July 3, 2024
Answered

Autonumbering Tables and Figures using <$paranum>-<n+>

  • July 3, 2024
  • 2 replies
  • 892 views

Hello Community,

Need help on how to add <$paranum> to the autonumbering definitions of tables and figures in an ustructured FM file.

I need the Tables and Figures inherit the paragraph number where they are located. See graphic below.

T:Table 2-<n+>:

Do I need to make a book?

Thanks in advance.

 

    This topic has been closed for replies.
    Correct answer Winfried Reng

    Basically my question is, is this possible without splitting the file into chapters or sections? Thank you!


    Here is an example for a system without <$chapnum> and therefore without splitting documents:

    H1

    <n+>< =0>< =0>< =0>< =0>
    H2
    <n>.<n+>< =0>< >< >
    H3
    <n>.<n>.<n+>< >< >
    Figure
    <n>< >< >-<n+>< >
    Table
    <n>< >< >-< ><n+>

    This means in my example:

    You do not have any series labels.

    The first 3 counters are for headings.

    The numbering for heading1 resets all other counters.

    Counter 4 is for figures. The counter for heading1 is shown, but not changed.

    Counter 5 is for tables. The counter for heading1 is shown, but not changed.

    When there is < >, the counter is kept, but not changed.

    2 replies

    Community Expert
    July 3, 2024

    The autonumbering of tables is merely using paragraph numbering and to connect the headings numbering to the tables numbering, you will need to use the same sequence character like in the screenshots attached here.

    For what ever reason I can't paste the screenshots into the text here.

     

     

     
     

     

    Bjørn Smalbro - FrameMaker.dk
    Jeff_Coatsworth
    Community Expert
    Community Expert
    July 3, 2024

    How is that 2> already defined?

    ArturoFCAuthor
    Participating Frequently
    July 3, 2024

    That number "2" is currently manually typed. Obviously if I insert or remove a section, that number will be incorrect. I want to make it dependent of the Section paragraph number where the item is located.

    Jeff_Coatsworth
    Community Expert
    Community Expert
    July 3, 2024

    The "2>         Scope" bit is manually typed in? I thought you were using some autonumbering already in there.