lilypond-user
[Top][All Lists]
Advanced

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

lilypond-book and html


From: Tristan Latchford
Subject: lilypond-book and html
Date: Fri, 28 Oct 2022 20:31:52 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.4.0

Dear fellow 'ponderers,

I hope you are well. I have been attempting to use lilypond-book via the command line to create some snippets for my webpage to use as examples for the videos i'm currently working on.

So far, I have this:

<!DOCTYPE HTML>
<!--Representing_Enlightenment_in_Music-->
<html>
<body>

<p>The creation of any sound unveils its overtone series -- the series forms a basis upon which we form our reactions to sounds put together. The closest thing to this series in written notes is the simple major scale, see below:</p>
<p>&nbsp;</p>
<lilypond relative=-1>
        \clef bass
        c  c' g'  c
        \clef treble
        e  g  b  c  d  e  f  g  a  b c^\markup { \italic "etc..." }
</lilypond>
<p>&nbsp;</p>
<p>While it's not entirely the same (some notes are shifted back and forth), I think it makes good fodder for storytelling in the harmonic language of the Opera. In composing the opera, the scale itself came to encapsulate the concept of enlightenment, and the steps upon it to various related concepts:</p>

</body>
</html>

...however, when I go to invoke lilypond-book on this file, I get the following output from the command line:

xxx@xxx-MBP desktop % lilypond-book -o quick-access test.html
lilypond-book (GNU LilyPond) 2.22.2
Reading `.../Desktop/test.html'
Dissecting...
Writing snippets...
Processing...
Running lilypond...
GNU LilyPond 2.22.2 (running Guile 2.2)
Processing `./snippet-map-090095318efd5fabb1fd2304c2b0d3cb.ly'
Parsing...
Processing `./64/lily-933bb9de.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Calculating line breaks...
Drawing systems...
Layout output to `./64/lily-933bb9de.eps'...
Converting to PNG...
warning: `(gs -q -dNODISPLAY -dNOSAFER -dNOPAUSE -dBATCH -dEPSCrop -dAutoRotatePages=/None -dPrinted=false /var/folders/29/4w1k0cl94mngf7t5hbc7ht2r0000gn/T//lilypond-tmp-327412)' failed (256)

Processing `./d4/lily-5f5a117f.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Calculating line breaks...
Drawing systems...
Layout output to `./d4/lily-5f5a117f.eps'...
Converting to PNG...
warning: `(gs -q -dNODISPLAY -dNOSAFER -dNOPAUSE -dBATCH -dEPSCrop -dAutoRotatePages=/None -dPrinted=false /var/folders/29/4w1k0cl94mngf7t5hbc7ht2r0000gn/T//lilypond-tmp-986077)' failed (256)

fatal error: failed files: "d4/lily-5f5a117f.ly 64/lily-933bb9de.ly"
Command '/usr/local/bin/lilypond --formats=ps,png -dbackend=eps -I  "./"  -I  "../" -deps-box-padding=3.000000  -dread-file-list -dno-strip-output-dir ".../Desktop/quick-access/snippet-names-090095318efd5fabb1fd2304c2b0d3cb.ly"' returned non-zero exit status 1.

Can anybody help me with this, so I can get my lovely .html output?

I look forward to our ongoing correspondence,

With the highest regards,

--Tristan




reply via email to

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