[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Orgmode Latex Export with Babel/LilyPond
From: |
adam |
Subject: |
Re: [O] Orgmode Latex Export with Babel/LilyPond |
Date: |
Fri, 10 Jan 2020 22:31:34 +1300 |
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.
- Re: [O] Orgmode Latex Export with Babel/LilyPond,
adam <=