diff options
author | Bastien Guerry <bzg@altern.org> | 2013-01-26 12:00:37 +0100 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2013-01-26 12:00:37 +0100 |
commit | eab0cd025c7f2f1b4f185dc9325b684b46a6f10c (patch) | |
tree | df8227b1b7904ab28e19a120e4da951e9a593277 | |
parent | 751e4e42024660cc3505cdc62919aa8ecb03449c (diff) | |
download | org-mode-eab0cd025c7f2f1b4f185dc9325b684b46a6f10c.tar.gz |
ob-lilypond.el (ly-process-basic): Rely on ly-gen-png/pdf/eps to set the output type
* ob-lilypond.el (ly-process-basic): Rely on
ly-gen-png/pdf/eps to set the output type.
Thanks to Florian Beck for reporting this.
-rw-r--r-- | lisp/ob-lilypond.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ob-lilypond.el b/lisp/ob-lilypond.el index 0d6b39b..b96dc34 100644 --- a/lisp/ob-lilypond.el +++ b/lisp/ob-lilypond.el @@ -152,7 +152,10 @@ specific arguments to =org-babel-tangle=" " -dbackend=eps " "-dno-gs-load-fonts " "-dinclude-eps-fonts " - "--png " + (cond (ly-gen-png "--png ") + (ly-gen-pdf "--pdf ") + (ly-gen-eps "--ps ") + (t "--png ")) "--output=" (file-name-sans-extension out-file) " " |