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
fdfd59e0
Commit
fdfd59e0
authored
Jul 26, 2019
by
Mathias Goebel
Browse files
add deleted figures
parent
8d3acede
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
modules/fontane/transform.xqm
View file @
fdfd59e0
...
...
@@ -416,7 +416,7 @@ attribute style {
else (),
transfo:lineHeight($n),
(: look 4 TILE objects :)
if ($n/tei:seg/tei:rs/tei:figure[@xml:id] or $n/tei:figure[@xml:id]) then
if ($n/tei:seg/tei:rs/tei:figure[@xml:id] or $n/tei:figure[@xml:id]
or $n/tei:del/tei:figure[@xml:id]
) then
let $id := (: get the TILE xml:id and try to resolve deleted sketches as well :)
string($n/tei:figure/@xml:id) || string($n/tei:del/tei:figure/@xml:id)
let $uri := string($n/root()//tei:idno[@type="TextGrid"])
...
...
@@ -732,6 +732,17 @@ as element(xhtml:span) {
:)
declare function transfo:del($del as element(tei:del))
as element(xhtml:span) {
(: show line through on figures… :)
if ($del/parent::tei:zone and $del/tei:figure)
then
element xhtml:div {
transfo:zone($del/parent::tei:zone)[1],
attribute style { "width:100%; height:100%" },
element xhtml:span {
attribute class {'del'}
}
}
else
element xhtml:span {
attribute class {
'del',
...
...
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