lilypond-devel
[Top][All Lists]
Advanced

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

Re: Use our own ~s ly:format placeholder, since guile is broken with wid


From: Reinhold Kainhofer
Subject: Re: Use our own ~s ly:format placeholder, since guile is broken with wide chars
Date: Sat, 22 Aug 2009 19:16:21 +0200
User-agent: KMail/1.11.4 (Linux/2.6.29-02062906-generic; KDE/4.2.4; i686; ; )

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

Am Samstag, 22. August 2009 02:28:39 schrieb address@hidden:
> On 2009/08/22 00:11:34, Reinhold wrote:
> > On 2009/08/21 22:59:33, joeneeman wrote:
> > > Don't forget to escape $. Or else use single quotes rather than double
> > > quotes.
>
> > Good catch. $ needs to be escaped, too.

Hmm, lilypond 2.12 doesn't properly handle files like l$PWD.ly, either, so 
there's no regression at least ;-)

> > Using single quotes does not 
> > work with gs.
>
> Well, it should be the shell that sees the quotes, not gs. Perhaps
> you're using cmd.exe and it doesn't like single quotes? Which brings up
> the issue that the escaping/quoting rules are different between windows
> and linux, so you'd need to test which system lilypond is running on...

Hmm, gs seems to be unable to use filenames containing a % together with the 
pdfwrite DEVICE, anyway. gs is unable to run 
   gs -dSAFER  -sDEVICE=pdfwrite -sOutputFile='m%n.pdf'  -f 'm%n.ps'
(or any other combination of double quotes and/or escaping the percent), while 
it works without the DEVICE=pdfwrite:
   gs -dSAFER  -sOutputFile='m%n.pdf'  -f 'm%n.ps'

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)

iD8DBQFKkCfmTqjEwhXvPN0RAgxlAKCJkASVSbmhCPTYeOwvH7umA2DlnACcDih0
iWG+bLzW9WWZiT9Q0hzDLX4=
=TtN4
-----END PGP SIGNATURE-----




reply via email to

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