emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: adam <ahcnz@orcon.net.nz>
To: "Jakob Schöttl" <jschoett@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: Orgmode Latex Export with Babel/LilyPond
Date: Fri, 10 Jan 2020 22:31:34 +1300	[thread overview]
Message-ID: <1578648694.3503.16.camel@orcon.net.nz> (raw)
In-Reply-To: <e1879e2a-4982-43b6-ce9d-2d531ba4cac5@gmail.com>

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. 

  reply	other threads:[~2020-01-10  9: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 [this message]
2020-01-11  9:58   ` adam
2020-01-11 15:30     ` Jonathan Gregory
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=1578648694.3503.16.camel@orcon.net.nz \
    --to=ahcnz@orcon.net.nz \
    --cc=emacs-orgmode@gnu.org \
    --cc=jschoett@gmail.com \
    /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).