Activity multiline arrow text with color not working

0 votes
asked Mar 4 in Bug by Serge Wenger Work (11,900 points)

The sample of chapter 5.9 is not working.

I reduce the problem to:

@startuml
:foo1;
-> OK You can put text on arrows
also be on several lines
and **very** long...;
:foo2;
-[#green ,dashed]-> Error You can put text on arrows
also be on several lines
and **very** long...;
:foo5;
@enduml

http://www.plantuml.com/plantuml/png/hO-x2W8n44NxVCK5kw0B2ZO6P1ih2siHYz6Cgn1dP9Bu-7kpVeFjkN0Ejy-5hDHxSgkBwZousHgxBVPQSIR1enOKVXUeWCpqbHsbh3ZnI38_sIWXtOJR817UD_Bn7abbwBek_BIBfZrC1cCMJ2FbAyTZwsoQqFwSMWRNiyJnq1S0

1 Answer

0 votes
answered Mar 4 by plantuml (201,280 points)
commented Mar 5 by Serge Wenger Work (11,900 points)
Thanks for your answer. It is a copy paste from pdf doc.

I have 2 remarks:
1) PlantUML is not really space tolerant
2) In the pdf, there is really a little space between "green" and ",". On the web site, there is no space.  Is there an option in latex to suppress this extra space when you generate the pdf?
commented Mar 6 by Serge Wenger Work (11,900 points)
For the generation of pdf with latex, did you use "lstlisting"? I propose that you use "verbatim" instead. verbatim fully respect layout
...