[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Org Mode + Ditaa EPS + input charset
From: |
Mikael Brännström |
Subject: |
[Orgmode] Re: Org Mode + Ditaa EPS + input charset |
Date: |
Sat, 6 Nov 2010 16:58:51 +0100 |
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 <address@hidden>:
> 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
>