From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: [PATCH] Tiny change in ob-lilypond.el Date: Thu, 07 Feb 2013 01:59:34 +0100 Message-ID: <87a9rh7xc9.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48074) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3Fuy-0008EE-Ol for emacs-orgmode@gnu.org; Wed, 06 Feb 2013 20:04:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U3Fux-00087U-Ni for emacs-orgmode@gnu.org; Wed, 06 Feb 2013 20:04:48 -0500 Received: from plane.gmane.org ([80.91.229.3]:35594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3Fux-00086h-GR for emacs-orgmode@gnu.org; Wed, 06 Feb 2013 20:04:47 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1U3FvE-0004xW-NR for emacs-orgmode@gnu.org; Thu, 07 Feb 2013 02:05:04 +0100 Received: from e178055200.adsl.alicedsl.de ([85.178.55.200]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Feb 2013 02:05:04 +0100 Received: from tj by e178055200.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Feb 2013 02:05:04 +0100 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: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Hi, A tiny change to make ob-lilypond export the results in the format specified for the ':file' in the source-block header. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-test.pdf-replaced-with-out-file-in-ly-process-basic-.patch Content-Description: patch for correct lilypond output format >From 4d5c79ed1607c3d0263bcde33fc1d795a96aad5f Mon Sep 17 00:00:00 2001 From: tj Date: Thu, 7 Feb 2013 01:51:14 +0100 Subject: [PATCH] "test.pdf" replaced with 'out-file' in ly-process-basic (otherwise all output-files are in pdf format). --- lisp/ob-lilypond.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ob-lilypond.el b/lisp/ob-lilypond.el index 07ea184..6080a5a 100644 --- a/lisp/ob-lilypond.el +++ b/lisp/ob-lilypond.el @@ -152,7 +152,7 @@ specific arguments to =org-babel-tangle=" " -dbackend=eps " "-dno-gs-load-fonts " "-dinclude-eps-fonts " - (or (cdr (assoc (file-name-extension "test.pdf") + (or (cdr (assoc (file-name-extension out-file) '(("pdf" . "--pdf ") ("ps" . "--ps ") ("png" . "--png ")))) -- 1.8.1.2 --=-=-= Content-Type: text/plain -- cheers, Thorsten --=-=-=--