Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
fontane-notizbuecher
SADE
Commits
14a06679
Commit
14a06679
authored
Oct 25, 2019
by
Mathias Goebel
🎠
Browse files
remove redundant classn ames and set up double border for multiple active tei:mod
parent
0297e9d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/fontane/transform.xqm
View file @
14a06679
...
...
@@ -1387,7 +1387,15 @@ declare function transfo:text($n as text())
as item()* {
let $followingAnchorWithModBeforeThisNode := $n/following::tei:anchor[@xml:id = $n/preceding::tei:mod[@spanTo]/substring-after(@spanTo, '#')]/('#' || @xml:id)
let $allModBefore := $n/preceding::tei:mod[@spanTo = $followingAnchorWithModBeforeThisNode]
let $modClasses := for $mod in $allModBefore return ("modSeq" || string($mod/@seq), transfo:segStyle($mod))
let $modClasses :=
let $styleSource :=
for $mod in $allModBefore
return
("modSeq" || string($mod/@seq), transfo:segStyle($mod))
let $styleToken := tokenize($styleSource)
let $style := if(index-of($styleToken, "solid")[2]) then (distinct-values($styleToken)[.!="solid"], "double") else $styleToken
return
$style
let $handShiftNewRef := $n/preceding::tei:handShift[@new][1]/substring-after(@new, '#')
return
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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