Welcome to PlantUML Q&A, where you can ask questions and receive answers from other members of the community.

You can also submit new features request and vote for them.

includes are not honored within {{ }} block

0 votes
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)
asked Jul 24 in bug by boshka (1,030 points)
edited Jul 24 by boshka

1 Answer

0 votes
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.
answered Jul 25 by plantuml (125,210 points)
point 2) works with the last beta, many thanks!
Support This Project Offer 250 Mo! Follow PlantUML on Twitter
...