Here's some progress in getting snippet 368 to run with lilypond 2.16.2. I suspect that guile has, at some point, become unicode-aware, so I
* downloaded the snippet from http://nicolas.sceaux.free.fr/tmp/book-titling.ily not from http://lsr.dsi.unimi.it/LSR/Item?id=368 (where the character encoding is messed up) - see http://www.archivum.info/lilypond-user@gnu.org/2008-01/00557/Re-Lilypond-book-and-LaTeX-a-few-issues.html * saved the embedded, commented, example to a separate file; * added a statement: \version "2.11.0" to both files; * ran convert-ly on both files; * changed two lines in book-titling.ily: %#(let ((lower-case-accented-string "éèêëáà âäà ìîïóòôöúùûüçœæ") % (upper-case-accented-string "ÉÈÊËÃ<U+0081>ÀÂÄÃ<U +008D>ÌÎÃ<U+008F>ÓÒÔÖÚÙÛÜÇŒÆ")) #(let ((lower-case-accented-string "é") (upper-case-accented-string "É")) * changed the encoding of both files to unicode in my editor (eclipse); * in the example file, changed the two special characters (lines 13 and 31) to the equivalent unicode characters; * compiled book-titling.ily and the example. The way ahead is probably to avoid the entire section of book-titling.ily that deals with "accented characters" by using unicode in the source file for your score. If this works, then clearly I've left book-titling.ily containing a lot of now-redundant code. hope it helps -- Graham On Tue, 2013-10-29 at 12:44 +0000, Graham King wrote: > I ran convert-ly -ed as suggested, and then ran lilypond on the > resulting file to have a look at the embedded example. > Here's the resulting error message (lilypond 2.16.2 on OSX 10.6.8): <snip> > > On Mon, 2013-10-28 at 07:54 +0100, David Kastrup wrote: > > > Kevin Tough <ke...@toughlife.org> writes: > > > > > My lilypond install of 2.16.2 cannot parse the input file. It hangs at > > > fatal error: failed files: "SnippetForBookWithTitleAndTOC" > > > (4 of 29): error: unknown escaped string: *\markuplines' > > > > Did you run > > > > convert-ly -ed > > > > on the file in order to upgrade the syntax to version 2.16.2 ? > > > > _______________________________________________ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user