Hello!
My we is the following:
#+begin_src plantuml :export both :file figure5-1-2.png
'allow_mixing
skinparam monochrome true
skinparam packageStyle rectange
'rectangle " " as pP1 {
salt
{
Name
Assumptions
Pre-conditions
Dialog
Post-conditions
Exceptions
Future Enhancements
Open Issues
}
'}
caption Use Case Narrative
#+end_src
I am using plantUML from the Emacs Org-mode, hence no @startuml/@enduml pair.
In this particular setup, 'caption' is just ignored.
If I uncomment the 'package' line and the corresponding }, the code doesn't compile.