Skip to main content
Participant
February 11, 2015
Question

Paragraph designer/Numbering question

  • February 11, 2015
  • 1 reply
  • 311 views

I am making a template and have a small issue I can't find the answer for.

I have made a Paragraph tag called "Figure". It will start at 1 and go on as needed. However there are instances where we do a Figure 1 (Sheet 1 of 3), Figure 1 (Sheet 2), Figure 1 (Sheet 3). What building blocks do I use to automatically add the "Sheet number" and total number of sheets in the first occurrence Figure 1 (Sheet 1 of 3) then just Sheet X in the following figure sheets Figure 1 (Sheet 2), Figure 1 (Sheet 3).

    This topic has been closed for replies.

    1 reply

    Legend
    February 12, 2015

    The first part is do-able, I think: to achieve the numbering shown below, I used three styles singleSheet, multiSheet_start and multiSheet_continue with the same sequence (identified by series label F)

    single-part figures    F:Figure <n+>< =0>.\t

    first sheet of multi-part figures    F:Figure <n+><n+>.\t

    remaining sheets of multi-part figures    F:Figure <n><n+>.\t

    This assumes first-level numbering that just increments for each figure.

    Figure 1. single-sheet illustration

    Figure 2. single-sheet illustration

    Figure 3 (sheet 1) multi-sheet illustration – front

    Figure 3 (sheet 2) multi-sheet illustration – middle

    Figure 3 (sheet 3) multi-sheet illustration – back

    Figure 4. single-sheet illustration

    Figure 5. single-sheet illustration

    Figure 6 (sheet 1) multi-sheet illustration – top

    Figure 6 (sheet 1) multi-sheet illustration – bottom

    Figure 7. single-sheet illustration

    The second part, how to get hold of the sub-sheet count, is beyond me and interesting; I shall follow this thread and see what the experts suggest.

    Arnis Gubins
    Inspiring
    February 12, 2015

    FM doesn't have any functionality to "look ahead" in order to determine how many sheets (figure components) that you could be using. However, if you wish to get creative with the paratag that starts the first figure of the multi-sheet set, you could split this up into three paratags (using the Run-In function to string them visually together) and use a cross-ref to the last figure of the set. For example, the paratags could be Fig_sheet_1, Fig_xref_sheet, Fig_text.

    You would set the Fig_sheet_1 paratag to use the autonumber F:Figure <n+> (sheet <n+>

    [You also need to set the Next Pgf Tag for this to point to the Fig_xref_sheet tag and to be Run-In with no punctuation].

    The Fig_xref_sheet tag would also have to be Run-In and have the Next Pgf Tag set for the  Fig_text. In this middle tag, you will have to manually make an x-ref to the last sheet of the figure and use an x-ref format that completes the desired autonumber format, e.g. "of <$paranumonly>)" (without the quotes).

    Having the next pgf tag set, will speed things up, so that you only have to tag the first paratag, hit Enter, then <esc> s c  to bring up the x-ref window. Make your selection, click Insert and then hit Enter to start inputting the figure text.

    Legend
    February 13, 2015

    Devious – I like it!