Commit a6d11661 authored by Mathias Goebel's avatar Mathias Goebel
Browse files

Merge branch 'feature/#123-sketches-copy-of' into 'develop'

Commentary for sketches encompassing two pages

Closes #123

See merge request !60
parents 7e028a9a 65433aeb
......@@ -218,9 +218,20 @@ as item()* {(
if( config:get("sade.develop") = "true" )
then code:main($node)
else code:main($node, false(), "hljs-", true()),
(: for normal tei:surfaces :)
for $n in $node/following-sibling::tei:note
where $n >> $node and $n << ($node/following-sibling::tei:surface)[1]
return code:main($n)
where $n >> $node and $n << ($node/following-sibling::tei:surface)[1]
return code:main($n),
(: for tei:surfaces that are part of a "Doppelseitenansicht".
in this case an associated tei:note is encoded after the first/left
tei:surface but should also be displayed on the second/right one. :)
if($node/@prev and $node/preceding-sibling::*[1][self::tei:note]) then
for $n in $node/preceding-sibling::tei:note
where $n >> $node/preceding-sibling::tei:surface[1]
Supports Markdown
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