emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rainer M Krug <Rainer@krugs.de>
To: emacs-orgmode@gnu.org, Nicolas Goaziou <mail@nicolasgoaziou.fr>
Subject: Re: PATCH: Add new output formats to plantuml
Date: Tue, 10 May 2016 12:08:50 +0200	[thread overview]
Message-ID: <m2wpn2i5sd.fsf@krugs.de> (raw)
In-Reply-To: 87inyvkqo3.fsf@saiph.selenimh


[-- Attachment #1.1: Type: text/plain, Size: 1501 bytes --]

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> Rainer M Krug <Rainer@krugs.de> 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 #1.2: diagram.png --]
[-- Type: image/png, Size: 7014 bytes --]

[-- Attachment #1.3: Type: text/plain, Size: 88 bytes --]


>
> Regards,

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

  parent reply	other threads:[~2016-05-10 10:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-02  9:14 PATCH: Add new output formats to plantuml Rainer M Krug
2016-05-03 17:16 ` Nicolas Goaziou
2016-05-09  7:24   ` Rainer M Krug
2016-05-10 10:08   ` Rainer M Krug [this message]
2016-05-10 20:20     ` Nicolas Goaziou
2016-05-10 20:37       ` Bug: missing header argument does not work any longer [8.3.4 (8.3.4-47-gaf853d-elpaplus <at> c:/Users/harald/AppData/Roaming/.emacs.d/elpa/org-plus-contrib-20160502/)] Harald Sanftmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2wpn2i5sd.fsf@krugs.de \
    --to=rainer@krugs.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).