* Org Mode + Ditaa EPS + input charset
@ 2010-11-06 12:41 Michel Briand
2010-11-06 15:58 ` Mikael Brännström
0 siblings, 1 reply; 2+ messages in thread
From: Michel Briand @ 2010-11-06 12:41 UTC (permalink / raw)
To: mbrannstrom; +Cc: emacs-orgmode
Hello,
(I'm not subscribed to the list)
I've setup Org Mode to use the Ditaa provided by Mikael Brännström.
In orgmode/contrib/scripts I've done:
$ mv ditaa.jar ditaa.jar.dist
$ cp <extract dir>/DitaaEps.jar ditaa.jar
$ cp <extract dir>/ditaa0_6b.jar .
Launched a new Org Mode export. It worked nicely.
Now I'm adding text in iso-8859-15 into some boxes of the ditaa block.
(My document is in this charset)
Apparently this could come from:
- Org Mode sending malformed text to ditaa eps
- ditaa eps does not handle correctly those charset
Anyone has an idea ? A solution ?
By the way ditaa provided by Org Mode (git clone / git co release_7.3)
is working nicely with iso-8859-15 characters !
Best regards,
Michel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Org Mode + Ditaa EPS + input charset
2010-11-06 12:41 Org Mode + Ditaa EPS + input charset Michel Briand
@ 2010-11-06 15:58 ` Mikael Brännström
0 siblings, 0 replies; 2+ messages in thread
From: Mikael Brännström @ 2010-11-06 15:58 UTC (permalink / raw)
To: Michel Briand; +Cc: emacs-orgmode
Hi Michel,
Currently DitaaEps uses the default charset. You can override this by
adding the following java option:
java -Dfile.encoding=ISO-8859-15 ...
Actually the DitaaEps is simply "plain Ditaa" plus an implementation
of the Java Graphics2D that outputs EPS data instead of raster data.
Thus it is simple to upgrade the ditaa addons to the new version of
ditaa, or simply include it into standard ditaa.
Regards
Mikael Brännström
2010/11/6 Michel Briand <michelbriand@free.fr>:
> Hello,
> (I'm not subscribed to the list)
>
> I've setup Org Mode to use the Ditaa provided by Mikael Brännström.
>
> In orgmode/contrib/scripts I've done:
> $ mv ditaa.jar ditaa.jar.dist
> $ cp <extract dir>/DitaaEps.jar ditaa.jar
> $ cp <extract dir>/ditaa0_6b.jar .
>
> Launched a new Org Mode export. It worked nicely.
>
> Now I'm adding text in iso-8859-15 into some boxes of the ditaa block.
> (My document is in this charset)
>
> Apparently this could come from:
>
> - Org Mode sending malformed text to ditaa eps
>
> - ditaa eps does not handle correctly those charset
>
> Anyone has an idea ? A solution ?
>
> By the way ditaa provided by Org Mode (git clone / git co release_7.3)
> is working nicely with iso-8859-15 characters !
>
>
> Best regards,
> Michel
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-11-06 15:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-06 12:41 Org Mode + Ditaa EPS + input charset Michel Briand
2010-11-06 15:58 ` Mikael Brännström
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).