Skip to content
Snippets Groups Projects
Commit acb8a00e authored by Michelle Rodzis's avatar Michelle Rodzis
Browse files

ptr in apparatus are followedba a whitespace

parent 852a34a7
No related branches found
No related tags found
No related merge requests found
...@@ -118,7 +118,10 @@ declare function pre:default-element ...@@ -118,7 +118,10 @@ declare function pre:default-element
or self::foreign or self::choice or self::milestone or self::persName or self::foreign or self::choice or self::milestone or self::persName
or self::choice or self::index or self::seg or self::ptr] or self::choice or self::index or self::seg or self::ptr]
and not($node[self::index]) and not($node[self::index])
or ($node[self::milestone]) and $following-node[self::text()]) or ($node[self::milestone]) and $following-node[self::text()]
(: ptr in the critical apparatus produce the siglum '[E]' which should
be followed by a whitespace :)
or ($node[self::ptr] and $node/ancestor::rdg[@type = ("v", "pp", "pt")]))
then then
attribute {"break-after"}{"yes"} attribute {"break-after"}{"yes"}
else ()), else ()),
...@@ -205,9 +208,7 @@ declare function pre:preprocessing ...@@ -205,9 +208,7 @@ declare function pre:preprocessing
) )
case element(note) return ( case element(note) return (
if ( $node[@type != "editorial-commentary"] or $node[ not(@type) ] ) then ( pre:default-element( $node, pre:preprocessing($node/node(), $replace-whitespace) )
pre:default-element( $node, pre:preprocessing($node/node(), $replace-whitespace) )
) else ( )
) )
case element(pb) return ( case element(pb) return (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment