X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/3a0c83394d5783715fab2be29fa1a9cfc3574e28..HEAD:/src/librarian/elements/__init__.py diff --git a/src/librarian/elements/__init__.py b/src/librarian/elements/__init__.py index b08c3e1..affcb9e 100644 --- a/src/librarian/elements/__init__.py +++ b/src/librarian/elements/__init__.py @@ -79,6 +79,7 @@ WL_ELEMENTS = { "pe": footnotes.PE, "pr": footnotes.PR, "pt": footnotes.PT, + "ptrad": footnotes.PTrad, "ref": ref.Ref, @@ -127,16 +128,20 @@ WL_ELEMENTS = { "rownolegle": tools.Rownolegle, "tab": tools.Tab, - # Section "wywiad_pyt": blocks.WywiadPyt, "wywiad_odp": blocks.WywiadOdp, + # Biblical + "werset": bible.Werset, + "sekcja_petucha": bible.Petucha, + "sekcja_stuma": bible.Stuma, + # Inline MathML, should really be namespaced. - "mrow": etree.ElementBase, - "mi": etree.ElementBase, - "mo": etree.ElementBase, - "msup": etree.ElementBase, - "mn": etree.ElementBase, - "mfrac": etree.ElementBase, - "mfenced": etree.ElementBase, + "mrow": styles.MRow, + "mi": styles.M, + "mo": styles.M, + "msup": styles.MSup, + "mn": styles.M, + "mfrac": styles.MFrac, + "mfenced": styles.MFenced, }