0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-30 04:27:48 +00:00

ob-lilypond.el (ly-process-basic): Don't use `ly-gen-png'

* ob-lilypond.el (ly-process-basic): Don't use `ly-gen-png'
and friends, rely on the extension of the output file.

Thanks to Florian Beck for suggesting this.
This commit is contained in:
Bastien Guerry 2013-01-30 12:20:32 +01:00
parent 2d18609f4a
commit f518bc8f81

View file

@ -152,9 +152,10 @@ specific arguments to =org-babel-tangle="
" -dbackend=eps " " -dbackend=eps "
"-dno-gs-load-fonts " "-dno-gs-load-fonts "
"-dinclude-eps-fonts " "-dinclude-eps-fonts "
(cond (ly-gen-png "--png ") (pcase (file-name-extension out-file)
(ly-gen-pdf "--pdf ") ("pdf" "--pdf ")
(ly-use-eps "--ps ") ("ps" "--ps ")
("png" "--png ")
(t "--png ")) (t "--png "))
"--output=" "--output="
(file-name-sans-extension out-file) (file-name-sans-extension out-file)