From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Gregory Subject: Re: Orgmode Latex Export with Babel/LilyPond Date: Sat, 11 Jan 2020 12:30:47 -0300 Message-ID: <87muauj9i0.fsf@autistici.org> References: <1578648694.3503.16.camel@orcon.net.nz> <1578736706.11631.38.camel@orcon.net.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:58352) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iqIjX-0006CG-8o for emacs-orgmode@gnu.org; Sat, 11 Jan 2020 10:31:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iqIjV-0008Bn-Uu for emacs-orgmode@gnu.org; Sat, 11 Jan 2020 10:31:27 -0500 Received: from latitanza.investici.org ([2001:888:2000:56::19]:23851) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iqIjV-00083k-NG for emacs-orgmode@gnu.org; Sat, 11 Jan 2020 10:31:25 -0500 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id F3D9C120222 for ; Sat, 11 Jan 2020 15:31:23 +0000 (UTC) Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: jgregory@autistici.org) by localhost (Postfix) with ESMTPSA id AA5F41201DC for ; Sat, 11 Jan 2020 15:31:22 +0000 (UTC) In-reply-to: <1578736706.11631.38.camel@orcon.net.nz> 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: emacs-orgmode@gnu.org On 11 Jan 2020, adam wrote: > Still no success in tangling the examples modal-cycle.org modal-cycle2.= org=20=20 > shown here,=20 > https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-lilypond.html= =20 > > My current problem is Emacs rejecting the addition of either Lilypond or= =20 > lilypond, in the org-babel-do-load-languages=20=20 > > (org-babel-do-load-languages > 'org-babel-load-languages > '( > (emacs-lisp . t) > (shell . t) > (org . t) > (Lilypond . t) > ))=20 > > including either in the last line causes an error at Emacs startup, repor= ted as,=20 > > Warning (initialization): An error occurred while loading =E2=80=98/ho= me/user/.emacs=E2=80=99: > Symbol's value as variable is void: > > Earlier in my .emacs init file, I had hopefully defined lilypond, thus=20 > > (setq ly-nix-ly-path "lilypond") > > (add-to-list 'load-path "/usr/share/emacs/site-lisp/")=20 > > (autoload 'LilyPond-mode "lilypond-mode") > > (setq auto-mode-alist > (cons '("\\.ly$" . LilyPond-mode) auto-mode-alist)) > > (add-hook 'LilyPond-mode-hook (lambda () (turn-on-font-lock)))=20 > > > In /usr/share/emacs/site-lisp/ many lilypond related .el files=20 > are located, > > lilypond-font-lock.el > lilypond-indent.el > lilypond-init.el > lilypond-mode.el > lilypond-song.el > lilypond-what-beat.el > lilypond-words.el > ltx-help.el > ob-lilypond.el > ob-Lilypond.el > ob-lisp.el > org-tests.el > > > $ which lilypond is unhelpful, > > /usr/bin/lilypond=20 > > > The lilypond installation is at,=20 > > /usr/share/lilypond/2.18.2/=20 > > > Any advice or suggestions would be most welcome.=20 Version 9.1.9 comes with ob-lilypond.el. There's no ob-babel-lilypond.el AF= AIK. Also, where is ly-nix-ly-path and other ly-* variables defined? I don'= t see these variables. --=20 Jonathan