Python Library REQ-IF
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

requirement_specification.tex 1.3KB

1234567891011121314151617181920212223242526272829303132
  1. {%- import 'macros.tex' as macros %}
  2. {%- include 'head.tex' %}
  3. {%- include 'titlepage.tex' %}
  4. \tableofcontents
  5. \newpage
  6. {%- for uid in data.uid_list_sorted %}
  7. {% with item=data.item_dict[uid] %}
  8. {%- if item.system_type_uid == '_4-K5EHYYEem_kd-7nxt1sg' %}
  9. \section{ {{macros.latex_filter(item.Heading)}} }
  10. {%- elif item.system_type_uid == '_MR7eNHYYEem_kd-7nxt1sg' %}
  11. \subsection{\xspace{}{{ macros.latex_filter(item.ID) }}: {{macros.latex_filter(item.Heading)}} }
  12. {%- if 'Description' in item and item.Description != '' %}
  13. {{ macros.requirement_filter(item.Description) }}
  14. {%- if 'ReasonForImplementation' in item and item.ReasonForImplementation != '' or 'Fitcriterion' in item and item.Fitcriterion != ''%}
  15. \begin{tabu}{lX}
  16. \toprule
  17. {%- if 'ReasonForImplementation' in item and item.ReasonForImplementation != '' %}
  18. \emph{Reason} & {{ macros.requirement_filter(item.ReasonForImplementation) }}\\
  19. {%- endif %}
  20. {%- if 'Fitcriterion' in item and item.Fitcriterion != '' %}
  21. \emph{Fitcriterion} & {{ macros.requirement_filter(item.Fitcriterion) }}\\
  22. {%- endif %}
  23. \bottomrule
  24. \end{tabu}
  25. {%- endif %}
  26. {%- endif %}
  27. {%- endif %}
  28. {% endwith %}
  29. {%- endfor %}
  30. {% include 'foot.tex' %}