Hello,
I would like to create a list of requirements in my document so that I can refer to a specific requirement on the document (insert a link) and create a list of all requirements (reference + text) at the end of the document.
Here is an example of what I would like to do:
1. section one of the document (style title1)
REQ_1_1 my first requirement for the section one
REQ_1_2 my second requirement for the section one
1_2. sub section (style title2)
If REQ_1_2 (link to REQ_1_2) is validated then ...
REQ_1_2_1 a sub requirement
REQ_1_2_2 another requirement
2. second section (style title1)
2_1. sub section 2 (style title2)
REQ_2_1_1 last requirement
List of requirements: (list that is updated dynamically)
REQ_1_1 my first requirement for the section one
REQ_1_2 my second requirement for the section one
REQ_1_2_1 a sub requirement
REQ_1_2_2 another requirement
REQ_2_1_1 last requirement
How can I achieve this?
I have tried list with hierarchy, but it did not work as the list was reset if there is a paragraph between two elements. Or if I use a hierarchy style, I must have REQ_1 before REQ_1_1 which is not what I want.
I have tried fields with sequences, like figure/table, coupled with { STYLEREF "title2" } but I could not find how to know which "title" to use, and how to reset the counting when changing section/sub section.
I have tried references, which work fine for referencing a requirement in the document, but I didn't find a way to create a list of requirement with all references. Also, I would have to create 2 references for one requirements: the requirement number ("REQ_1_2") and the requirement text ("my second requirement for the section one") if order to be displayed on the requirements list at the end of the document.
I am currently using this but I do everything manually and it's a pain in the *@s when I have to update a requirement/section as I have more than 800 requirements in my document :/
Your help will be very much appreciated.
Thank you,
Damien.