Reuse a Sequence of List Items
To reuse a sequence of items or steps in a list, add the sequence to an informal topic. You can then insert the informal topic inside a list in a regular topic. This is useful when you have multiple steps that are the same in many different topics.
You will also want to make sure that any numbering flows with the rest of the list. Paligo has a role
attribute called reuse-range
that makes this possible.
To reuse a sequence of steps in a list:
-
-
Open the informal topic in the Editor.
-
Add the list or procedure steps you want to reuse in other topics. You can add a bullet list, number list, or procedure by using the toolbar icons in the Edit menu.
-
Select the
procedure
element (itemized list or orderedlist) in the Element Structure Menu and choose the Go to element. -
Add the
role
attribute in the Element Attributes Panel and set its value toreuse-range
. -
Select Save.
-
Select the topic or component in the Content Manager to open it in the Editor.
-
If the topic does not already contain the list or procedure, insert one.
-
Position the cursor at the position where you want the steps in the informal topic to appear.
Note
The cursor position is very important, as if it is an incorrect position, the informal topic cannot be added.
Use the Element Structure Menu to make sure that the cursor position is correct.
-
Select the Insert tab in the Toolbar.
-
Select Component and browse to the informal topic.
Paligo adds the informal topic at the selected position (as long as you selected a valid position). The numbers of the steps in the informal topic adjust to fit in with the sequence of numbers in the existing list. If you add steps before or after the informal topic, they will also continue the correct numbering sequence.
-
Select Save.