lilypond-user
[Top][All Lists]
Advanced

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

Re: my favorite bug :-)


From: Martin Tarenskeen
Subject: Re: my favorite bug :-)
Date: Sat, 2 May 2015 23:14:48 +0200 (CEST)
User-agent: Alpine 2.11 (LFD 23 2013-08-11)


Hi,

this little (simplified) shell script (I have called it ly2pdf)

#!/bin/sh
INFILE="$1"
OUTFILE=${INFILE%.ly}.pdf
lilypond --ps -o $$ "$INFILE"
ps2pdf $$.ps "$OUTFILE"
rm -f $$.ps

demonstrates the kind of mechanism that LilyPond needs. (But without needing such a script). It fixes the "lines.ly" issue, and it fixes accidentally and brutally deleting an already existing xxxx.ps file.

(With "simplified" I mean: you can not use any options or multiple files on the commandline with this script. It's just a demo)

--

MT



reply via email to

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