From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thorsten Jolitz Newsgroups: gmane.emacs.help Subject: Re: Emacs and lilypond Date: Sat, 05 Mar 2016 17:24:56 +0100 Message-ID: <87k2lg51uv.fsf@gmail.com> References: <87bn6v43et.fsf@russet.org.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1457195132 22977 80.91.229.3 (5 Mar 2016 16:25:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Mar 2016 16:25:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 05 17:25:25 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1acF19-0000o5-R5 for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Mar 2016 17:25:23 +0100 Original-Received: from localhost ([::1]:47141 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acF19-0003nu-AT for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Mar 2016 11:25:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acF0v-0003kN-Gl for help-gnu-emacs@gnu.org; Sat, 05 Mar 2016 11:25:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1acF0s-0004nK-8X for help-gnu-emacs@gnu.org; Sat, 05 Mar 2016 11:25:09 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:51660) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acF0s-0004mw-2b for help-gnu-emacs@gnu.org; Sat, 05 Mar 2016 11:25:06 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1acF0p-0000Xq-Ts for help-gnu-emacs@gnu.org; Sat, 05 Mar 2016 17:25:03 +0100 Original-Received: from f050195076.adsl.alicedsl.de ([78.50.195.76]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Mar 2016 17:25:03 +0100 Original-Received: from tjolitz by f050195076.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Mar 2016 17:25:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 67 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: f050195076.adsl.alicedsl.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:QmrSV1IXSJt2PIc1qgXTUGT9EZs= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:109458 Archived-At: phillip.lord@russet.org.uk (Phillip Lord) writes: > I've just been trying lilypond with Emacs, and the situation seems > fairly poor. > > Currently, it appears there no modes on any of the package repos. There > is a mode distributed with lilypond itself, but this looks fairly old > (it has emacs-19 compatability code), is not namespace clean and some of > the functionality is broken. > > There is also https://github.com/nsceaux/lyqi, again not on a package > repo, and described by the author as "buggy". > > Then, https://github.com/jmgpena/lilypond-mode, which is the lilypond > distributed mode but updated. > > And, finally, https://github.com/jstamant/lilypond-mode which is a new > mode. > > Any feedback on the best route to go! I once used Lilypond with Org Babel to create something like an "Org-mode Bandbook", that is an Org document that contains all of the songs a band plays, as well as contact info of the band members, and the bands tour and rehearsal schedule: ,---- | https://github.com/tj64/org-bandbook `---- I based it on the great Openbook project from Mark Veltzer: ,---- | https://github.com/veltzer/openbook `---- There are (syntax) transformation functions for both directions - from Openbook files to Org-mode files and vice versa. And I made use of Lilyponds (musical) transformation facilities, making it easy to print such a bandbook for different instrumentalists (C-Version, Bb-Version, Eb-Version etc.). IIRC I left it in a working state, but the results had a very plain latex textbook look. If I have a practical use case for it, I will continue to develop it and look for a nice latex style, in the meantime I would be happy if others become interested in the project and contribute. The nice thing is that all the hard work is done by others: - the Openbook project converts sheet music to lilypond - Org-mode replaces Lilypond Book and allows to create very sophisticated documents around the scores I would say that building on the current state of the project, creating a really beautiful Bandbook (for C and transposing instruments) that is easy to modify and maintain, would require mostly good Org-mode and Latex skills, not so much Elisp or Lilypond skills (as long as the songs are from Openbook or so.) But with regards to the original question: using Org Babel, its just about editing plain Lilypond code in source blocks, and I did not get so involved that I noticed any shortcomnings of lilypond-mode.el. All the compilation stuff was handled nicely by ob-lilypond in the background. -- cheers, Thorsten