Commit 7c903774 authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

new halfbow EWZ implementation

parent 6fd57582
......@@ -1373,13 +1373,18 @@ let $lineHeight := fontaneTransfo:lineHeight( ($node/ancestor::tei:zone)[1] ),
return
switch($pos)
case 'pos-right' return
case 'pos-right' return
<svg xmlns="http://www.w3.org/2000/svg" width="{$width}" height="{$lineHeight - 0.2}cm" viewBox="0 0 {$viewW} 100" preserveAspectRatio="none" style="left:{string(if($mlnum lt -0.19) then -0.2 else $mlnum)}cm;top: 3px;">
<path d="
M30,95 C30,95 5,100 5,60
M 5,60 C 5,20 {$viewW div 2},10 {$viewW - 5},5
" fill="none" stroke-width="2"/>
</svg>
case 'pos-left' return
<svg xmlns="http://www.w3.org/2000/svg" width="{$width}" height="{$lineHeight - 0.2}cm" viewBox="0 0 {$viewW} 100" preserveAspectRatio="none" style="left:-{($viewW div 100) - 0.5}cm;top: 7px;">
<path fill="none" stroke-width="2"
d="M 78.36,37.00 C 96.91,33.55 108.45,20.36 86.00,10.45 86.18,10.55 72.27,2.73 4.55,9.09"/>
</svg>
default return <div>{$pos} no example in Gesamtdoku</div>
case 'caret:semicircle' return
let $pos := substring-before(substring-after($node/@rend, '('), ')')
......
Markdown is supported
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