Skip to main content
Participant
February 12, 2015
Question

Cross Reference help

  • February 12, 2015
  • 1 reply
  • 153 views

I am trying to make a cross-reference that takes into account multiple levels of a step and includes those levels in the reference. In the example below I want to add a cross reference to 2. (b). to cross-reference step 1. (a). (3).  But I want the reference to include all of the levels in the reference. So it would say See Step 1. (a). (3). (right now I am only getting the (3). to show up in the line.

1. Blah

    (a). Blah Blah

          (1). Blah Blah

          (2). Blah Blah

          (3). Blah Blah

    (b). Blah Blah

2. Blah Blah

    (a). Blah Blah

    (b). Blah Blah

 

BTW this board has been awesome in its responses and help.

    This topic has been closed for replies.

    1 reply

    Arnis Gubins
    Inspiring
    February 12, 2015

    If each of your step levels is using a separate paratag, then it can be done using the <$paranum[paratag]> building block. Assuming that you have something like Step, Sub_Step, Sub_subStep as the three levels of paratags, then to access, the previous numbers, you would use a construct like:

    See Step <$paranum[Step]> <$paranum[Sub_step] <$paranum>, where the x-ref targets the (3). in the Sub_subStep paratag.

    The reason that this works is that FM will search backwards (i.e. towards the start of the flow) to satisfy the first two building blocks. However, if FM doesn't find a match, then it won't output anything for that building block.