emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Orgmode Latex Export with Babel/LilyPond


From: Jonathan Gregory
Subject: Re: [O] Orgmode Latex Export with Babel/LilyPond
Date: Sat, 11 Jan 2020 12:30:47 -0300
User-agent: mu4e 1.3.4; emacs 26.3


On 11 Jan 2020, adam <address@hidden> wrote:

> Still no success in tangling the examples  modal-cycle.org  modal-cycle2.org  
> shown here, 
> https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-lilypond.html 
>
> My current problem is Emacs rejecting the addition of either Lilypond or 
> lilypond, in the  org-babel-do-load-languages  
>
>    (org-babel-do-load-languages
>      'org-babel-load-languages
>      '(
>        (emacs-lisp . t)
>        (shell . t)
>        (org . t)
>        (Lilypond . t)
>        )) 
>
> including either in the last line causes an error at Emacs startup, reported 
> as, 
>
>    Warning (initialization): An error occurred while loading 
> ‘/home/user/.emacs’:
>    Symbol's value as variable is void: <!DOCTYPE
>
>
> Earlier in my .emacs init file, I had hopefully defined lilypond, thus 
>
>    (setq ly-nix-ly-path "lilypond")
>
>    (add-to-list 'load-path "/usr/share/emacs/site-lisp/") 
>
>    (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))) 
>
>
> In  /usr/share/emacs/site-lisp/   many lilypond related .el files 
> 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 
>
>
> The lilypond installation is at, 
>
>    /usr/share/lilypond/2.18.2/ 
>
>
> Any advice or suggestions would be most welcome. 

Version 9.1.9 comes with ob-lilypond.el. There's no ob-babel-lilypond.el AFAIK. 
Also, where is ly-nix-ly-path and other ly-* variables defined? I don't see 
these variables.

-- 
Jonathan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]