Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fontane-notizbuecher
SADE
Commits
65433aeb
Commit
65433aeb
authored
Nov 21, 2019
by
mrodzis
💪
Committed by
Mathias Goebel
Nov 21, 2019
Browse files
Commentary for sketches encompassing two pages
parent
7e028a9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/fontane/transform.xqm
View file @
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]
return
code:main($n)
else
()
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment