emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* no pdf-output in lilypond code blocks
@ 2013-01-17 13:51 Florian Beck
  2013-01-23 14:38 ` Bastien
  0 siblings, 1 reply; 13+ messages in thread
From: Florian Beck @ 2013-01-17 13:51 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

execute the following code block:

#+begin_src lilypond :exports results :file 93bff287-036e-4129-8f17-fd6374f4ccdc.pdf
\header { tagline = ##f }
\score{
\relative c' {
\key d \minor
d2 a'2 f2 d2 }}
#+END_src

This will create a results block:

#+RESULTS:
[[file:93bff287-036e-4129-8f17-fd6374f4ccdc.pdf]]

but actually create the file 93bff287-036e-4129-8f17-fd6374f4ccdc.eps
(note the extension). [I need pdf, because I cannot get xelatex handle
eps files.]

It seems `ly-process-basic' hardcodes a "--png" option. If I change it
to "--pdf" everything works fine (though it won't produce pngs any more,
I guess). Of course, it should really be set as appropriate for the extension.


-- 
Florian Beck

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-01-31 19:07 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-17 13:51 no pdf-output in lilypond code blocks Florian Beck
2013-01-23 14:38 ` Bastien
2013-01-25  9:28   ` Florian Beck
2013-01-26 11:01     ` Bastien
2013-01-26 16:53       ` Florian Beck
2013-01-30 11:20         ` Bastien
2013-01-30 20:32           ` Achim Gratz
2013-01-30 21:02             ` Florian Beck
2013-01-30 21:29               ` Achim Gratz
2013-01-31 17:27                 ` Achim Gratz
2013-01-31 18:45                   ` Florian Beck
2013-01-31 19:07                     ` Achim Gratz
2013-01-31 10:17             ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).