emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] PATCH: Add new output formats to plantuml


From: Rainer M Krug
Subject: Re: [O] PATCH: Add new output formats to plantuml
Date: Tue, 10 May 2016 12:08:50 +0200

Nicolas Goaziou <address@hidden> writes:

> Hello,
>
> Rainer M Krug <address@hidden> writes:
>
>> attached please find a patch which adds additional output file types for
>> plantuml.
>
> Applied. Thank you.
>
> Could you provide an entry for ORG-NEWS?

Here it is - hopefully in the right format. The link to the RESULT of
the example needs to be adjusted, image attached.

Cheers,

Rainer

--8<---------------cut here---------------start------------->8---
*** Support for additional plantuml output formats 
The support for output formats of [[http://plantuml.com/][plantuml]] has been 
extended to now include:

All Diagrams:
- png ::
- svg ::
- eps ::
- pdf ::
- vdx ::
- txt :: ASCII art
- utxt :: ASCII art using unicode characters

Class Diagrams:
- xmi ::
- html ::

State Diagrams:
- scxml ::

The output formats are determined by the file extension specified using the 
:file property:

#+begin_src plantuml :file diagram.png
@startuml
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response

Alice -> Bob: Another authentication Request
Alice <-- Bob: another authentication Response
@enduml
#+end_src

#+RESULTS:
[[file:/Users/rainerkrug/diagram.png]]

Please note that *pdf* *does not work out of the box* and needss
additional setup in addition to plantuml. See
[[http://plantuml.com/pdf.html]] for details and setup information.
--8<---------------cut here---------------end--------------->8---


Attachment: diagram.png
Description: PNG image

>
> Regards,

-- 
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]