emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Torsten Anders <torsten.anders@beds.ac.uk>
To: Org-mode <emacs-orgmode@gnu.org>
Subject: [PATCH] Lilypond: added PDF output
Date: Mon, 28 Nov 2011 22:45:36 +0000	[thread overview]
Message-ID: <BBABFF0A-856D-4ABC-A49D-503546D92E63@beds.ac.uk> (raw)

[-- Attachment #1: Type: text/plain, Size: 353 bytes --]

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

[-- Attachment #2: ob-lilypond.el.diff --]
[-- Type: application/octet-stream, Size: 363 bytes --]

diff --git a/lisp/ob-lilypond.el b/lisp/ob-lilypond.el
index 1f817ad..a8ce65e 100644
--- a/lisp/ob-lilypond.el
+++ b/lisp/ob-lilypond.el
@@ -155,6 +155,7 @@ specific arguments to =org-babel-tangle="
       "-dno-gs-load-fonts "
       "-dinclude-eps-fonts "
       "--png "
+      "--pdf "
       "--output="
       (file-name-sans-extension out-file)
       " "

             reply	other threads:[~2011-11-28 22:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-28 22:45 Torsten Anders [this message]
2011-11-29 12:38 ` [PATCH] Lilypond: added PDF output Martyn Jago

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=BBABFF0A-856D-4ABC-A49D-503546D92E63@beds.ac.uk \
    --to=torsten.anders@beds.ac.uk \
    --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).