emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Mikael Brännström" <mikael.brannstrom@gmail.com>
To: Michel Briand <michelbriand@free.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: Org Mode + Ditaa EPS + input charset
Date: Sat, 6 Nov 2010 16:58:51 +0100	[thread overview]
Message-ID: <AANLkTik7dmhAcBysCezgFw_wVbcv2hWpo43V0Kwee93r@mail.gmail.com> (raw)
In-Reply-To: <20101106134117.46831b94@eana.kheb.homelinux.org>

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
>

      reply	other threads:[~2010-11-06 15:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-06 12:41 Org Mode + Ditaa EPS + input charset Michel Briand
2010-11-06 15:58 ` Mikael Brännström [this message]

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=AANLkTik7dmhAcBysCezgFw_wVbcv2hWpo43V0Kwee93r@mail.gmail.com \
    --to=mikael.brannstrom@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=michelbriand@free.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).