From mboxrd@z Thu Jan 1 00:00:00 1970 From: adam Subject: Re: Orgmode Latex Export with Babel/LilyPond Date: Fri, 10 Jan 2020 22:31:34 +1300 Message-ID: <1578648694.3503.16.camel@orcon.net.nz> References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:44562) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipqds-0007CB-1e for emacs-orgmode@gnu.org; Fri, 10 Jan 2020 04:31:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipqdq-0007Bm-1t for emacs-orgmode@gnu.org; Fri, 10 Jan 2020 04:31:43 -0500 Received: from smtp-3.orcon.net.nz ([60.234.4.44]:36047) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ipqdp-00071P-Hn for emacs-orgmode@gnu.org; Fri, 10 Jan 2020 04:31:41 -0500 In-Reply-To: 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: Jakob =?ISO-8859-1?Q?Sch=F6ttl?= , emacs-orgmode@gnu.org On Sat, 2019-04-20 at 14:04 +0200, Jakob Schöttl wrote: > Hi, > > I'm trying (second attempt), to setup orgmode to export PDFs with images  > generated by Babel/LilyPond. > > I followed the setup instructions here: > > https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-lilypond.html > > I have > > a recent emacs (Arch Linux), > > ~/.emacs file with > > (org-babel-do-load-languages >    'org-babel-load-languages >    '((lilypond t))) > > (although I saw many other snippets where there is a "." between the  > (lilypond t)). I tried both variants. > > I tried also tried (require 'lilypond) instead  > org-babel-do-load-languages which caused an error. > > I pressed C-c C-e l p -> "PDF file produced." > > But no images are generated and no images appear in the PDF. Only plain  > source code. > > Any ideas? > Thank you! > > - Jakob > > I too, find the Setup instructions at  https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-lilypond.html  difficult to interpret.  This page says under Setup;  - must be on a very recent version of org-mode  - ob-lilypond is also included in the latest Org-mode by default (it seems its not) - add lilypond to your list of babel languages  My Org-mode version 9.1.9  Emacs version 26.3  lilypond has been added to my list of babel languages  I found lilypond-mode.el  and syntax is colored, that seems to work  I have grabbed recent  ob-babel-lilypond.el  from github, and put  that into /usr/share/emacs/site-lisp/   How or where do I load  ob-babel-lilypond.el   ?  Presently, I cannot tangle the org lilypond examples, and have no M-x ly-*  commands.  Raw text Lilypond will compile and output OK. And org LaTeX export is working.