From mboxrd@z Thu Jan 1 00:00:00 1970 From: Torsten Anders Subject: [PATCH] Lilypond: added PDF output Date: Mon, 28 Nov 2011 22:45:36 +0000 Message-ID: Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/mixed; boundary=Apple-Mail-1-615752579 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:37103) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RV9xI-0000sC-17 for emacs-orgmode@gnu.org; Mon, 28 Nov 2011 17:45:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RV9xD-0007iL-Od for emacs-orgmode@gnu.org; Mon, 28 Nov 2011 17:45:43 -0500 Received: from smtp.idnet.com ([212.69.40.133]:40386) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RV9xD-0007h2-Dr for emacs-orgmode@gnu.org; Mon, 28 Nov 2011 17:45:39 -0500 Received: from localhost (unknown [127.0.0.1]) by smtp.idnet.com (Postfix) with ESMTP id 82BFF9FA3A for ; Mon, 28 Nov 2011 22:45:35 +0000 (UTC) Received: from smtp.idnet.com ([127.0.0.1]) by localhost (smtp.idnet.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id bL-bpxm0CiKM for ; Mon, 28 Nov 2011 22:45:35 +0000 (GMT) Received: from smtp.idnet.com (template [127.0.0.1]) by smtp.idnet.com (Postfix) with ESMTP id DD0159FA92 for ; Mon, 28 Nov 2011 22:45:34 +0000 (GMT) Received: from [192.168.0.3] (cust132-dsl91-135-3.idnet.net [91.135.3.132]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.idnet.com (Postfix) with ESMTPS id C23E09FA3A for ; Mon, 28 Nov 2011 22:45:34 +0000 (GMT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org-mode --Apple-Mail-1-615752579 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii 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! =20 Best wishes, Torsten --Apple-Mail-1-615752579 Content-Disposition: attachment; filename=ob-lilypond.el.diff Content-Type: application/octet-stream; x-unix-mode=0644; name="ob-lilypond.el.diff" Content-Transfer-Encoding: 7bit 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) " " --Apple-Mail-1-615752579--