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
eea5a7e7
Commit
eea5a7e7
authored
Feb 07, 2019
by
Mathias Goebel
🎠
Browse files
in progress: caret:funnel
parent
f88c448b
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
modules/fontane/transform-caret.xqm
View file @
eea5a7e7
...
...
@@ -12,7 +12,7 @@ xquery version "3.1";
: [ ] "caret:semicircle"
: [ ] "caret:quartercircle"
: [ ] "caret:looped_arc"
: [
] "caret:funnel"
: [
>
] "caret:funnel"
: [ ] "caret:3/4-circle"
: [ ] "caret:retraced_half-bow"
:)
...
...
@@ -245,7 +245,7 @@ return
};
declare function caret:funnel($node) {
let $params := tokenize(substring-before(substring-after($node/replace(@rend, "cm", ""), '('), ')'), ',')
let $params
as xs:decimal+
:= tokenize(substring-before(substring-after($node/replace(@rend, "cm", ""), '('), ')'), ',')
! xs:decimal(.)
return
<svg xmlns="http://www.w3.org/2000/svg"
style="margin-left: -1cm;margin-bottom: 0.2cm;"
...
...
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