lilypond-user
[Top][All Lists]
Advanced

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

Re: How does html editor "talk" to LilyPond ?


From: flup2
Subject: Re: How does html editor "talk" to LilyPond ?
Date: Wed, 17 Aug 2011 22:04:05 -0700 (PDT)

Hello,

Here are a few indications you might find usefull.

1. Do not separate de lilypond-book binary from the LilyPond application

2. lilypond-book creates indeed a lot of little files. As you work with
TeXShop, it is possible to create an "engine" that uses the right command
(lilypond-book) and stores all these file in a temporary folder.

The following is adapted to pdf, but you could adapt it your html.

Philippe

%%%%%%%%%%%%%%%%%%%%%%

#!/bin/tcsh

set LILYPONDFOLDER = /Applications
set path = ($path $LILYPONDFOLDER/LilyPond.app/Contents/Resources/bin/)

rm -r dir
lilypond-book --output=dir --pdf "$1"
cd dir
pdflatex --shell-escape "$1"
mv "$1:r".pdf ..

-- 
View this message in context: 
http://old.nabble.com/How-does-html-editor-%22talk%22-to-LilyPond---tp32278786p32284870.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.




reply via email to

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