[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: try except in lilypond
From: |
Urs Liska |
Subject: |
Re: try except in lilypond |
Date: |
Sun, 20 Nov 2016 17:56:32 +0100 |
User-agent: |
K-9 Mail for Android |
Am 20. November 2016 16:44:07 MEZ, schrieb Noeck <address@hidden>:
>Hi
>
>Am 20.11.2016 um 01:00 schrieb Urs Liska:
>> However, I'm not sure how you can determine if a font is installed on
>> your system.
>
>That's exactly the point where I was thinking about try except.
>
That won't help because fontconfig will always give you *something* back so
there will be no exception.
I think I can give you some more pointers for the include stuff but not from
the mobile so maybe later tonight.
Urs
>I tried this now as a top level scheme construct,
>
>#(if (file-exists? "somepath.ily") (#{
> \include "somepath.ily"
> #}))
>
>But lilypond does not like it. Do I need a scheme function (even
>without
>arguments)? Is including inside scheme possible?
>
>I fear that any solution is probably more complex than just writing:
>
>% For a stand alone version remove these lines ...
>...
>% ... until here.
>
>and leave it to the user to care about it.
>
>Thanks also for the suggestion of processing scripts around, but that's
>not the question. I have them. I just wanted the score to be compilable
>without.
>
>Cheers,
>Joram
>
>_______________________________________________
>lilypond-user mailing list
>address@hidden
>https://lists.gnu.org/mailman/listinfo/lilypond-user
--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
- Re: try except in lilypond, (continued)
- Re: try except in lilypond, Andrew Bernard, 2016/11/19
- Re: try except in lilypond, David Kastrup, 2016/11/19
- RE: try except in lilypond, Andrew Bernard, 2016/11/19
- Re: try except in lilypond, Noeck, 2016/11/19
- Re: try except in lilypond, Urs Liska, 2016/11/19
- Re: try except in lilypond, Noeck, 2016/11/20
- Re: try except in lilypond, Timothy Lanfear, 2016/11/20
- Re: try except in lilypond, Noeck, 2016/11/20
- Re: try except in lilypond, Timothy Lanfear, 2016/11/20
- Re: try except in lilypond, Noeck, 2016/11/20
- Re: try except in lilypond,
Urs Liska <=