From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Beck Subject: no pdf-output in lilypond code blocks Date: Thu, 17 Jan 2013 14:51:32 +0100 Message-ID: <87mww7kjdn.fsf@sophokles.streitblatt.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tvpsi-0007Eu-D0 for emacs-orgmode@gnu.org; Thu, 17 Jan 2013 08:51:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tvpsd-00071y-TK for emacs-orgmode@gnu.org; Thu, 17 Jan 2013 08:51:48 -0500 Received: from mo6-p00-ob.rzone.de ([2a01:238:20a:202:5300::1]:9275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tvpsd-00071W-Mm for emacs-orgmode@gnu.org; Thu, 17 Jan 2013 08:51:43 -0500 Received: from flo-laptop ([89.204.138.48]) by smtp.strato.de (jored mo37) (RZmta 31.12 DYNA|AUTH) with (DHE-RSA-AES128-SHA encrypted) ESMTPA id 401f2fp0HCi7zS for ; Thu, 17 Jan 2013 14:51:38 +0100 (CET) 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 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