includes are not honored within {{ }} block

0 votes
asked Jul 24 in bug by boshka (1,180 points)
edited Jul 24 by boshka
1. Should {{ }} block honor parant's block includes, or should I put !include into the {{}} block explicitly again?
Neither of the above work.
 
 
@startuml
 
!include skins.iuml /'  this is not honored in the {{ }}  block below '/
a->b: test
note right
{{
!include skins.iuml /' *** this line is not evaluated as well '/
 
c->d
note right
test
end note
}}
end note
@enduml
 
2. additionally {{}} block does not honor the output format (if the parent is in svg format, the child {{}} will be generated as png)

1 Answer

0 votes
answered Jul 25 by plantuml (131,770 points)
Hi,
Thanks for the report.
About point 1) we have to think about it. A possible workaround is to duplicate your skins.iuml file to skins2.iuml and to include skins2.iuml in the {{}} block. Or to use !include_many in place of !include

About point 2), we fix the issue in last beta
https://www.dropbox.com/s/koo42q3d9gxw288/plantuml.jar?dl=0
It should work with SVG. Tell us if it does not.
commented Jul 26 by boshka (1,180 points)
point 2) works with the last beta, many thanks!
...