From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Babel support for Processing-language
Date: Mon, 15 Sep 2014 15:05:00 -0400 [thread overview]
Message-ID: <87lhpk4sdf.fsf@alphaville.bos.redhat.com> (raw)
In-Reply-To: 87egvcvmif.fsf@syk.fi
Jarmo Hurri <jarmo.hurri@syk.fi> writes:
> ...
> I just installed Processing 2 and the Emacs mode in Fedora 20 and they
> work together like a charm.
>
> However, I have _no idea_ what kind of work supporting output capture of
> both static mode (image) and active mode (animation) would
> require. Ideally, Babel support for Processing output would mean that in
> the case of
> 1. an animation
> - HTML export it would export the entire animation
> - PDF export it would export, e.g., the first frame from the
> animation
> 2. a static picture, the picture would be exported.
>
> I think I might be asking for a lot. I am willing to work on this, but I
> don't know what kind of an approach I should take. The command-line
> support for Processing 2 (the program 'processing-java') runs the output
> in a separate window. Would I have to capture the output of the window
> with something like ffmpeg? Sounds like a huge hassle.
>
Here's a possible starting point in your research:
http://orgmode.org/worg/org-contrib/babel/languages.html#develop
My next step would be to find an ob-<lang>.el that is as similar
as possible to what Processing does and what I'd want to achieve
and go from there. The link above mentions ob-template.el which
might be a good beginning too.
It's probably best to leave animations for last, but if the animation
can be stored in a file, then having a link that will play the file
seems like an easy thing to do.
All this is untainted by any knowledge of Processing, let alone any kind
of hands-on testing or actual practice, so treat it with the appropriate
size grain (boulder?) of salt.
Nick
next prev parent reply other threads:[~2014-09-15 19:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-15 17:09 Babel support for Processing-language Jarmo Hurri
2014-09-15 19:05 ` Nick Dokos [this message]
2014-09-16 10:19 ` Jarmo Hurri
2015-02-02 11:07 ` Jarmo Hurri
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lhpk4sdf.fsf@alphaville.bos.redhat.com \
--to=ndokos@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.