X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/175c5cf4f727162fa5bddd2460d37595251bbe8e..e9aeedc51047d8d5e9e45c5253c776f8994da965:/src/librarian/elements/__init__.py?ds=sidebyside diff --git a/src/librarian/elements/__init__.py b/src/librarian/elements/__init__.py index 6ec0ba7..3e8e63f 100644 --- a/src/librarian/elements/__init__.py +++ b/src/librarian/elements/__init__.py @@ -1,9 +1,11 @@ from lxml import etree from . import (blocks, comments, drama, figures, footnotes, front, headers, - masters, paragraphs, poetry, ref, root, separators, styles, themes) + masters, paragraphs, poetry, ref, root, separators, styles, themes, + tools, base) WL_ELEMENTS = { + 'snippet': base.Snippet, 'meta': etree.ElementBase, 'coverClass': etree.ElementBase, "developmentStage": etree.ElementBase, @@ -22,6 +24,8 @@ WL_ELEMENTS = { "opowiadanie": masters.Master, "powiesc": masters.Master, + "blok": tools.WLElement, + "autor_utworu": front.AutorUtworu, "dzielo_nadrzedne": front.DzieloNadrzedne, "nazwa_utworu": front.NazwaUtworu, @@ -66,6 +70,7 @@ WL_ELEMENTS = { "wers_akap": poetry.WersAkap, "zastepnik_wersu": poetry.ZastepnikWersu, "wers_do_prawej": poetry.WersDoPrawej, + "wers_srodek": poetry.WersSrodek, "pa": footnotes.PA, "pe": footnotes.PE, @@ -81,7 +86,7 @@ WL_ELEMENTS = { "nota": blocks.Nota, "nota_red": comments.NotaRed, - "extra": comments.Abstrakt, + "extra": comments.Uwaga, "abstrakt": comments.Abstrakt, "naglowek_czesc": headers.NaglowekCzesc, @@ -115,7 +120,10 @@ WL_ELEMENTS = { "animacja": figures.Animacja, "ilustr": figures.Ilustr, - "ref": etree.ElementBase, + "numeracja": tools.Numeracja, + "rownolegle": tools.Rownolegle, + "tab": tools.Tab, + # Section "wywiad_pyt": blocks.WywiadPyt, "wywiad_odp": blocks.WywiadOdp,