From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Beck Subject: Re: no pdf-output in lilypond code blocks Date: Sat, 26 Jan 2013 17:53:38 +0100 Message-ID: <877gmzsx65.fsf@sophokles.streitblatt.de> References: <87mww7kjdn.fsf@sophokles.streitblatt.de> <87pq0w9d7w.fsf@bzg.ath.cx> <8738xpboh5.fsf@sophokles.streitblatt.de> <87libg6wen.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43889) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tz90r-0000wk-83 for emacs-orgmode@gnu.org; Sat, 26 Jan 2013 11:53:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tz90o-0003X4-NP for emacs-orgmode@gnu.org; Sat, 26 Jan 2013 11:53:53 -0500 Received: from mo6-p00-ob.rzone.de ([2a01:238:20a:202:5300::1]:64144) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tz90o-0003Ws-Cp for emacs-orgmode@gnu.org; Sat, 26 Jan 2013 11:53:50 -0500 In-Reply-To: <87libg6wen.fsf@bzg.ath.cx> (Bastien's message of "Sat, 26 Jan 2013 12:01:04 +0100") 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: Bastien Cc: Florian Beck , emacs-orgmode@gnu.org Bastien writes: > Hi Florian, > > Florian Beck writes: > >>> If so, I'll fix ly-process-basic so that it depends on >>> ly-gen-png/pdf/html/svg. >>> >>> Thanks for confirming, >> >> Thanks for fixing. > > Done -- please have a try and let me know. Minor hitch: the variable is called `ly-use-eps' not `ly-gen-eps'. However, as far as I understand these variables are intended for tangled files. The original bug was that exporting or evaluating a code block doesn't respect the extension of the :file directive. I can live with setting `ly-gen-pdf', but maybe something like (pcase (file-name-extension out-file) ("pdf" "--pdf ") ("ps" "--ps ") ("png" "--png ") (t "--png ")) would be even better? -- Florian Beck