emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Martyn Jago <martyn.jago@btinternet.com>
To: emacs-orgmode@gnu.org
Subject: Re: [PATCH] Lilypond: added PDF output
Date: Tue, 29 Nov 2011 12:38:08 +0000	[thread overview]
Message-ID: <m2aa7f6r4f.fsf@btinternet.com> (raw)
In-Reply-To: BBABFF0A-856D-4ABC-A49D-503546D92E63@beds.ac.uk

Hi Torsten

Torsten Anders <torsten.anders@beds.ac.uk> writes:

> Dear all,
>
> The current implementation how org-babel calls Lilypond hard-wires the
> supported output file formats to EPS and PNG. Attached is a very
> simple patch that adds support for PDF as well, so that resulting PDF
> files can be directly integrated in the PDF files generated by Latex
> and Latex Beamer support.
>
> Thanks!  
>
> Best wishes,
> Torsten

Doesn't :cmdline " --pdf " work for you?

--8<---------------cut here---------------start------------->8---

#+begin_src lilypond :file ionian.pdf :noweb yes :cmdline " --pdf "

  <<version-and-paper>>
  \relative c' { 
    c d e f g a b c b a g f e d c d  
    e f g a b c b a g f e d c1
}

#+end_src

--8<---------------cut here---------------end--------------->8---

If you have an example of how you are exporting we could maybe add it to the examples in
Worg? It is not a use-case I have considered.

Best, Martyn

      reply	other threads:[~2011-11-29 12:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-28 22:45 [PATCH] Lilypond: added PDF output Torsten Anders
2011-11-29 12:38 ` Martyn Jago [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=m2aa7f6r4f.fsf@btinternet.com \
    --to=martyn.jago@btinternet.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 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).