fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New covers.
[librarian.git]
/
src
/
librarian
/
elements
/
__init__.py
diff --git
a/src/librarian/elements/__init__.py
b/src/librarian/elements/__init__.py
index
f3a8521
..
6efd725
100644
(file)
--- a/
src/librarian/elements/__init__.py
+++ b/
src/librarian/elements/__init__.py
@@
-1,6
+1,7
@@
from lxml import etree
from . import (blocks, comments, drama, figures, footnotes, front, headers,
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 = {
WL_ELEMENTS = {
@@
-10,7
+11,9
@@
WL_ELEMENTS = {
"coverBarColor": etree.ElementBase,
"coverBoxPosition": etree.ElementBase,
"coverLogoUrl": etree.ElementBase,
"coverBarColor": etree.ElementBase,
"coverBoxPosition": etree.ElementBase,
"coverLogoUrl": etree.ElementBase,
-
+ "contentWarning": etree.ElementBase,
+ "endnotes": etree.ElementBase,
+
"utwor": root.Utwor,
"dramat_wierszowany_l": masters.Master,
"dramat_wierszowany_lp": masters.Master,
"utwor": root.Utwor,
"dramat_wierszowany_l": masters.Master,
"dramat_wierszowany_lp": masters.Master,
@@
-70,6
+73,8
@@
WL_ELEMENTS = {
"pr": footnotes.PR,
"pt": footnotes.PT,
"pr": footnotes.PR,
"pt": footnotes.PT,
+ "ref": ref.Ref,
+
"begin": themes.Begin,
"end": themes.End,
"motyw": themes.Motyw,
"begin": themes.Begin,
"end": themes.End,
"motyw": themes.Motyw,
@@
-82,7
+87,7
@@
WL_ELEMENTS = {
"naglowek_czesc": headers.NaglowekCzesc,
"naglowek_akt": headers.NaglowekCzesc,
"naglowek_czesc": headers.NaglowekCzesc,
"naglowek_akt": headers.NaglowekCzesc,
- "naglowek_scena": headers.Naglowek
Rozdzial
,
+ "naglowek_scena": headers.Naglowek
Scena
,
"naglowek_rozdzial": headers.NaglowekRozdzial,
"naglowek_podrozdzial": headers.NaglowekPodrozdzial,
"srodtytul": headers.NaglowekCzesc,
"naglowek_rozdzial": headers.NaglowekRozdzial,
"naglowek_podrozdzial": headers.NaglowekPodrozdzial,
"srodtytul": headers.NaglowekCzesc,
@@
-111,6
+116,12
@@
WL_ELEMENTS = {
"animacja": figures.Animacja,
"ilustr": figures.Ilustr,
"animacja": figures.Animacja,
"ilustr": figures.Ilustr,
+ "numeracja": tools.Numeracja,
+
+ # Section
+ "wywiad_pyt": blocks.WywiadPyt,
+ "wywiad_odp": blocks.WywiadOdp,
+
# Inline MathML, should really be namespaced.
"mrow": etree.ElementBase,
"mi": etree.ElementBase,
# Inline MathML, should really be namespaced.
"mrow": etree.ElementBase,
"mi": etree.ElementBase,