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)
WL_ELEMENTS = {
"pr": footnotes.PR,
"pt": footnotes.PT,
+ "ref": ref.Ref,
+
"begin": themes.Begin,
"end": themes.End,
"motyw": themes.Motyw,
"ilustr": figures.Ilustr,
"ref": etree.ElementBase,
+ # Section
+ "wywiad_pyt": blocks.WywiadPyt,
+ "wywiad_odp": blocks.WywiadOdp,
# Inline MathML, should really be namespaced.
"mrow": etree.ElementBase,
--- /dev/null
+from ..base import WLElement
+
+
+class Ref(WLElement):
+ def txt_build(self, builder):
+ pass
+
+ def html_build(self, builder):
+ pass
+
+ def epub_build(self, builder):
+ pass
+