From: James Harkins <jamshark70@gmail.com>
To: Emacs-orgmode@gnu.org
Subject: Fwd: ob-lilypond: pre- and post-processing of source blocks
Date: Mon, 4 Nov 2013 20:39:42 +0800 [thread overview]
Message-ID: <CAFniQ7VHRGrQPQPHXUhWMjssYfqUtZhean9TWi8WsX+m1-m=Nw@mail.gmail.com> (raw)
In-Reply-To: <0dabc937-df1c-4b65-971b-f83812526af4@dewdrop-world.net>
[-- Attachment #1: Type: text/plain, Size: 1226 bytes --]
Apologies for resending -- I sent this a few hours ago but I don't see it
on gmane, or in the gnu.org archive either.
Actually the manual answers question #1 -- I should be able to use the
prologue header argument for that. And I can already do #2 (included just
to outline the desired behavior completely).
I haven't found anything in the manual explaining how to run a shell
command on the output file from LilyPond execution. That's really the
crucial one -- it makes no sense to embed an A4 sized image into a beamer
frame...
hjh
---------- Forwarded message ----------
From: "James Harkins" <jamshark70@dewdrop-world.net>
Date: Nov 4, 2013 1:44 PM
Subject: ob-lilypond: pre- and post-processing of source blocks
To: "orgmode" <emacs-orgmode@gnu.org>
Cc:
> I would like to be able to do the following with ob-lilypond (basic mode):
>
> 1. Wrap the source block in pre- and/or post-strings (specifically to add
"\header { tagline = ##f }" before the music expressions).
>
> 2. Have lilypond compile the block.
>
> 3. Run "convert -trim" on the resulting png. (Haven't figured out how to
use eps output with xelatex.)
>
> Is this at all feasible? If not, where would I stick this stuff into the
orgmode source?
>
> hjh
[-- Attachment #2: Type: text/html, Size: 1608 bytes --]
next parent reply other threads:[~2013-11-04 12:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <0dabc937-df1c-4b65-971b-f83812526af4@dewdrop-world.net>
2013-11-04 12:39 ` James Harkins [this message]
2013-11-04 14:00 ` Fwd: ob-lilypond: pre- and post-processing of source blocks Eric Schulte
2013-11-05 4:24 ` James Harkins
2013-11-05 5:35 ` James Harkins
2013-11-05 6:17 ` Thomas S. Dye
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='CAFniQ7VHRGrQPQPHXUhWMjssYfqUtZhean9TWi8WsX+m1-m=Nw@mail.gmail.com' \
--to=jamshark70@gmail.com \
--cc=Emacs-orgmode@gnu.org \
--cc=jamshark70@dewdrop-world.net \
/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).