Skip to content
Snippets Groups Projects
Commit 47888cb4 authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Fix for generating the filename of annex E

parent 911fad58
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@ def is_heading(txt :str):
(Previously this predicate was used: ("Heading" in line.style.name) but
not all headings have the correct style
'''
return txt.startswith("A.")
return (txt.startswith("A.")) or (txt.startswith("E."))
def is_example_table(tab):
return len(tab.rows) == 1 and len(tab.rows[0].cells) == 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment