lilypond-devel
[Top][All Lists]
Advanced

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

Re: Docs build failure


From: Reinhold Kainhofer
Subject: Re: Docs build failure
Date: Mon, 31 Aug 2009 19:48:10 +0200
User-agent: KMail/1.11.4 (Linux/2.6.28-15-generic; KDE/4.2.4; i686; ; )

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Montag, 31. August 2009 16:52:01 schrieb Neil Puttock:
> 2. using ly:format in make-ps-images causes scaling of PNGs to fail
> for multi-page snippets:
[...]
> Here's the line which formats the filename for each PNG:
>
> 113           (pngn (format  "~a-page%d.~a" base extension))

Hmm, %d is used by the png backend as an escape sequence that is replaced with 
the actual number later on. The png backend relies on format preserving the 
%d. Of course, we could later on replace \%d by the number, but that's too 
much of a hack for me!

I've now simply remove the replacement of % by \%. gs (at least the pdfwriter 
device) doesn't properly handle files with % in the file name, so this is not 
really a problem in real life.... (plus, the !s placeholder of guile' s format 
also doesn't escape it)

Cheers,
Reinhold
- -- 
- ------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFKnAzbTqjEwhXvPN0RAmVYAJ0f2fsoAtO7CittvjG9lUa3jtf1LQCgg0sO
Mi5XrI+DrGSXMjejqhu+7uM=
=3dod
-----END PGP SIGNATURE-----




reply via email to

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