emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jonathan Gregory <jgrg@autistici.org>
To: emacs-orgmode@gnu.org
Subject: Re: Orgmode Latex Export with Babel/LilyPond
Date: Sat, 11 Jan 2020 12:30:47 -0300	[thread overview]
Message-ID: <87muauj9i0.fsf@autistici.org> (raw)
In-Reply-To: <1578736706.11631.38.camel@orcon.net.nz>



On 11 Jan 2020, adam <ahcnz@orcon.net.nz> 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	other threads:[~2020-01-11 15:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-20 12:04 Orgmode Latex Export with Babel/LilyPond Jakob Schöttl
2020-01-10  9:31 ` adam
2020-01-11  9:58   ` adam
2020-01-11 15:30     ` Jonathan Gregory [this message]
2020-01-11 20:04       ` adam
2020-01-11 21:43         ` adam
2020-01-12  4:38           ` adam
2020-01-13 17:56             ` Jonathan Gregory
2020-01-11 15:29 ` Jonathan Gregory

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87muauj9i0.fsf@autistici.org \
    --to=jgrg@autistici.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).