From: Thorsten Jolitz <tjolitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [PATCH] Tiny change in ob-lilypond.el
Date: Thu, 07 Feb 2013 01:59:34 +0100 [thread overview]
Message-ID: <87a9rh7xc9.fsf@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 130 bytes --]
Hi,
A tiny change to make ob-lilypond export the results in the format
specified for the ':file' in the source-block header.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: patch for correct lilypond output format --]
[-- Type: text/x-patch, Size: 823 bytes --]
From 4d5c79ed1607c3d0263bcde33fc1d795a96aad5f Mon Sep 17 00:00:00 2001
From: tj <tj@data-driven.de>
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
[-- Attachment #3: Type: text/plain, Size: 24 bytes --]
--
cheers,
Thorsten
next reply other threads:[~2013-02-07 1:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-07 0:59 Thorsten Jolitz [this message]
2013-02-07 8:45 ` [PATCH] Tiny change in ob-lilypond.el Bastien
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a9rh7xc9.fsf@gmail.com \
--to=tjolitz@gmail.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.