doorstop-dev / doorstop

Requirements management using version control.
https://doorstop.readthedocs.io
Other
474 stars 132 forks source link

LaTeX publish does not respect nested itemize #581

Closed LarryK82 closed 9 months ago

LarryK82 commented 2 years ago

Markdown uses indentation to create nested itemizes. The LaTeX Export only creates one \begin{itemize}...\end{itemize} scope and ignores the indented "*" items

This is caused by the regex searching for "beginning of line followed by * or - or +" and will also affect the creation trigger of \end{itemize} (currently empty line).

Steps to reproduce: Create a requirement with nested unordered lists and export to HTML and to LaTeX. LaTeX fails (poor Donald E. Knuth will be sad)

`

jacebrowning commented 9 months ago

This beta release contains a fix for this issue: https://pypi.org/project/doorstop/3.0b11/ cc @neerdoc

neerdoc commented 9 months ago

Fixed by #615