[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ghostscript fails with special characters in filename
From: |
Reinhold Kainhofer |
Subject: |
Re: Ghostscript fails with special characters in filename |
Date: |
Sun, 23 Aug 2009 14:10:26 +0200 |
User-agent: |
KMail/1.9.10 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Ian,
On Sunday 23 August 2009 13:20:17 Ian Hulin wrote:
> Hi Reinhold,
> I've tried your patch for ly:format and "~S" here.
The latest one which also escapes "?
> It looks like a filename with quoted characters will cause the
> compilation to hang:
[...]
> address@hidden:~/Desktop/Development/ExsultateTest$ $devlilypond
> --verbose \"Čača-file\".ly
verbose won't help us here, since it doesn't print the gs command
executed. Can you add a line
(ly:message "gs command: ~a")
before the
(ly:system cmd)))
inthe file scm/backend-library.scm. This should cause lilypond to print
out the exact gs command executed, so we can start debugging what gs or
the shell doesn't like and what goes wrong. Here it seems to work...
> > Furthermore, your pseudocode to filter out any "problem characters"
> > will terribly break makefiles etc. since the output filename will no
> > longer be inputfilename.pdf and thus standard rules like:
> > %.pdf: %.ly
> > lilypond $<
> > will fail.
>
> Not quite, % and $< are make directives which get substituted for
> real names when make generates the actual command line.
Exactly. The problem are not the special characters here, which will
never be passed to lilypond, anyway.
The rule assumes, however, that the output file will be the exact same
name as the input file. Your suggestion was to replace problematic
characters by underscores, so the desired .pdf file will never be
generated and each time make is called, it will again try to build that
pdf file, which will never be generated.
Cheers,
Reinhold
- --
- ------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
* Financial and Actuarial Mathematics, TU Wien,
http://www.fam.tuwien.ac.at/
* K Desktop Environment, http://www.kde.org, KOrganizer maintainer
* Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFKkTG7TqjEwhXvPN0RAuuTAKCfJp7+xt2IP8C97Vwhj9lDOYT1eQCglExU
MW+SOj1gU4WT8F6TW8BvQ70=
=TfXc
-----END PGP SIGNATURE-----
- Re: Ghostscript fails with special characters in filename, (continued)
- Re: Ghostscript fails with special characters in filename, Reinhold Kainhofer, 2009/08/20
- Re: Ghostscript fails with special characters in filename, Reinhold Kainhofer, 2009/08/20
- Re: Ghostscript fails with special characters in filename, Patrick McCarty, 2009/08/20
- Re: Ghostscript fails with special characters in filename, Ian Hulin, 2009/08/21
- Re: Ghostscript fails with special characters in filename, Patrick McCarty, 2009/08/21
- Re: Ghostscript fails with special characters in filename, Reinhold Kainhofer, 2009/08/21
- Re: Ghostscript fails with special characters in filename, Reinhold Kainhofer, 2009/08/21
- Re: Ghostscript fails with special characters in filename, Ian Hulin, 2009/08/22
- Re: Ghostscript fails with special characters in filename, Reinhold Kainhofer, 2009/08/22
- Re: Ghostscript fails with special characters in filename, Ian Hulin, 2009/08/23
- Re: Ghostscript fails with special characters in filename,
Reinhold Kainhofer <=
- Re: Ghostscript fails with special characters in filename, Ian Hulin, 2009/08/23
- Re: Ghostscript fails with special characters in filename, Reinhold Kainhofer, 2009/08/23
- Re: Ghostscript fails with special characters in filename, Ian Hulin, 2009/08/23
Re: Ghostscript fails with special characters in filename, Dénes Harmath, 2009/08/06
Re: Ghostscript fails with special characters in filename, Dénes Harmath, 2009/08/09