Commit 4c3bb6b6 authored by MRodz's avatar MRodz Committed by mrodzis
Browse files

Adapt to changes in 3.21.27 footnotes

parent 93b1f42c
......@@ -375,6 +375,7 @@ declare function fontaneSimple:transform($nodes as node()*) as node()* {
else if($node/@function = "placeholder"
or $node/@function ="etc."
or $node/@function ="caret"
or $node/@function = "footnote-mark"
or $node/@function ="footnotes"
or $node/@function ="ellipsis"
or $node/@function = "paragraph") then
......
......@@ -1023,8 +1023,8 @@ declare
(: 3.21.27 FOOTNOTE MARKS AND FOOTNOTES :)
declare
%test:name("Footnote marks and footnotes")
%test:args("<note xmlns=""http://www.tei-c.org/ns/1.0"" type=""authorial"" subtype=""footnote""><line xmlns=""http://www.tei-c.org/ns/1.0""><metamark xmlns=""http://www.tei-c.org/ns/1.0"" function=""caret""><handShift xmlns=""http://www.tei-c.org/ns/1.0"" new=""#Fontane""/>*</metamark> Das Bild von der Havel-Luch Entwäſſerung</line></note>")
%test:assertEquals("<note xmlns=""http://www.tei-c.org/ns/1.0"" type=""authorial"" subtype=""footnote""><milestone xmlns=""http://www.tei-c.org/ns/1.0"" unit=""line""/><ab xmlns=""http://www.tei-c.org/ns/1.0"" type=""caret""><handShift xmlns=""http://www.tei-c.org/ns/1.0"" new=""#Fontane"" script="""" medium=""""/>*</ab> Das Bild von der Havel-Luch Entwässerung</note>")
%test:args("<note xmlns=""http://www.tei-c.org/ns/1.0"" type=""authorial"" subtype=""footnote""><line xmlns=""http://www.tei-c.org/ns/1.0""><metamark xmlns=""http://www.tei-c.org/ns/1.0"" function=""footnote-mark""><handShift xmlns=""http://www.tei-c.org/ns/1.0"" new=""#Fontane""/>*</metamark> Das Bild von der Havel-Luch Entwäſſerung</line></note>")
%test:assertEquals("<note xmlns=""http://www.tei-c.org/ns/1.0"" type=""authorial"" subtype=""footnote""><milestone xmlns=""http://www.tei-c.org/ns/1.0"" unit=""line""/><ab xmlns=""http://www.tei-c.org/ns/1.0"" type=""footnote-mark""><handShift xmlns=""http://www.tei-c.org/ns/1.0"" new=""#Fontane"" script="""" medium=""""/>*</ab> Das Bild von der Havel-Luch Entwässerung</note>")
%test:args("<metamark xmlns=""http://www.tei-c.org/ns/1.0"" function=""footnotes""><figure xmlns=""http://www.tei-c.org/ns/1.0""><figDesc xmlns=""http://www.tei-c.org/ns/1.0""><ref xmlns=""http://www.tei-c.org/ns/1.0"" target=""http://vocab.getty.edu/aat/300200009"">horizontale einfache Fußnotenlinie</ref></figDesc></figure></metamark>")
%test:assertEquals("<ab xmlns=""http://www.tei-c.org/ns/1.0"" type=""footnotes""/>")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment