from lxml import etree
from . import (blocks, comments, drama, figures, footnotes, front, headers,
- masters, paragraphs, poetry, root, separators, styles, themes)
+ masters, paragraphs, poetry, ref, root, separators, styles, themes,
+ tools)
WL_ELEMENTS = {
"coverBoxPosition": etree.ElementBase,
"coverLogoUrl": etree.ElementBase,
"contentWarning": etree.ElementBase,
+ "endnotes": etree.ElementBase,
"utwor": root.Utwor,
"dramat_wierszowany_l": masters.Master,
"pr": footnotes.PR,
"pt": footnotes.PT,
+ "ref": ref.Ref,
+
"begin": themes.Begin,
"end": themes.End,
"motyw": themes.Motyw,
"animacja": figures.Animacja,
"ilustr": figures.Ilustr,
- "ref": etree.ElementBase,
+ "numeracja": tools.Numeracja,
+
+ # Section
+ "wywiad_pyt": blocks.WywiadPyt,
+ "wywiad_odp": blocks.WywiadOdp,
# Inline MathML, should really be namespaced.
"mrow": etree.ElementBase,