David Nalesnik writes:
> Hi Harm,
>
> On Tue, Jul 10, 2012 at 3:07 PM, Thomas Morley
> wrote:
>
>
> (2) The code using the regexp library does not work with windows
> so
> far (perhaps never).
>
>
> Unfortunately, I'm still having no luck with Windows XP. (@David
> Kastrup: than
Hi Harm,
On Tue, Jul 10, 2012 at 3:07 PM, Thomas Morley <
thomasmorle...@googlemail.com> wrote:
>
> (2) The code using the regexp library does not work with windows so
> far (perhaps never).
>
Unfortunately, I'm still having no luck with Windows XP. (@David Kastrup:
thank you for your suggestion
Summary:
(1) The code from my initial post is not suitable, because of concerns
about guilev2.
(2) The code using the regexp library does not work with windows so
far (perhaps never).
Is there any other approach to make string->string-list work?
Should I make a patch containing the new list-join-d
David Nalesnik writes:
> > out/bin/lilypond scheme-sandbox
> > GNU LilyPond 2.15.42
> > Processing
> `/usr/local/tmp/lilypond/out/share/lilypond/current/ly/scheme-sandbox.
> ly'
> > Parsing...
> > guile> (setlocale LC_CTYPE)
> > "en_US.UTF-8"
> > guile>
> >
uestion is whether this is due to a different version
> > of the regex matching library, or due to a different locale.
> >
> > Here is how the character set in my system declares itself:
> >
> > out/bin/lilypond scheme-sandbox
> > GNU LilyPond 2.15.42
> &g
Thomas Morley writes:
> An observation:
>
> Setting
> export LANG=en_US
> and compiling the file gives:
>
>
> GNU LilyPond 2.15.42
> Processing `utf-8-strings-rev-03.ly'
> Parsing...
> (process:10496): Pango-WARNING **: Invalid UTF-8 string passed to
> p
gt; The interesting question is whether this is due to a different version
> of the regex matching library, or due to a different locale.
>
> Here is how the character set in my system declares itself:
>
> out/bin/lilypond scheme-sandbox
> GNU LilyPond 2.15.42
> Processing
> `/usr/local/
David Nalesnik writes:
> On Sun, Jul 8, 2012 at 8:00 AM, David Kastrup wrote:
>
>
> Thomas Morley writes:
>
> > 2012/7/8 David Nalesnik :
> >> Hi Harm,
> >>
> >>> I managed to drop about 300 lines, reducing
> >>> it to a quarter of the original.
> >>
>
ng went wrong with
>> saving the attachment.
>
>
> Ah, OK... Unfortunately, I've have no idea what is happening to the
> attachment, but I get the same errors whether I run the file with
> LilyPondTool,. Frescobaldi, or on the command line. Possibly it has
> so
On Sun, Jul 8, 2012 at 8:00 AM, David Kastrup wrote:
> Thomas Morley writes:
>
> > 2012/7/8 David Nalesnik :
> >> Hi Harm,
> >>
> >>> I managed to drop about 300 lines, reducing
> >>> it to a quarter of the original.
> >>
> >>
> >> Unfortunately, I'm getting "Invalid UTF-8 string..." warnings w
Thomas Morley writes:
> 2012/7/8 David Kastrup :
>> Thomas Morley writes:
>>
>>> Seems I have to extend my scheme-vocabulary.
>>> I didn't know/remember `append-map' and `string-concatenate'.
>>
>> Picked them from the Guile manuals.
>
> I know.
> I tend to define my own helpers if I don't find
2012/7/8 David Kastrup :
> Thomas Morley writes:
>
>> Seems I have to extend my scheme-vocabulary.
>> I didn't know/remember `append-map' and `string-concatenate'.
>
> Picked them from the Guile manuals.
I know.
I tend to define my own helpers if I don't find sth useful in the
guile-manual in a s
Thomas Morley writes:
> Seems I have to extend my scheme-vocabulary.
> I didn't know/remember `append-map' and `string-concatenate'.
Picked them from the Guile manuals.
> I really have to learn more of the predefined guile-procedures.
>
>>> (new-args (list-join args-rev " "))
>>
>> lis
(delete "" args))
I really have to learn more of the predefined guile-procedures.
>> (new-args (list-join args-rev " "))
>
> list-join?
I wanted to insert " " between every element of new-args. Otherwise
there will be n
Thomas Morley writes:
> 2012/7/8 David Nalesnik :
>> Hi Harm,
>>
>>> I managed to drop about 300 lines, reducing
>>> it to a quarter of the original.
>>
>>
>> Unfortunately, I'm getting "Invalid UTF-8 string..." warnings when I run
>> your revised file. (I don't with the original...)
>>
>> -Dav
Thomas Morley writes:
> 2012/7/8 David Kastrup :
>>
>> This can basically be done using charsets. I tried doing this with
>> regexps, but curiously enough, in contrast to Guile proper, those appear
>> to be already utf-8 aware, so
>>
>> #(use-modules (ice-9 regex))
>>
>> #(define (utf8-substring
2012/7/8 David Nalesnik :
> Hi Harm,
>
>> I managed to drop about 300 lines, reducing
>> it to a quarter of the original.
>
>
> Unfortunately, I'm getting "Invalid UTF-8 string..." warnings when I run
> your revised file. (I don't with the original...)
>
> -David
Hi David,
are you sure?
I teste
Hi Harm,
I managed to drop about 300 lines, reducing
> it to a quarter of the original.
>
Unfortunately, I'm getting "Invalid UTF-8 string..." warnings when I run
your revised file. (I don't with the original...)
-David
___
lilypond-devel mailing lis
Kastrup
>
>
> ___
> lilypond-devel mailing list
> lilypond-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-devel
Wow!
Following your suggestion I managed to drop about 300 lines, reducing
it to a quarter of the original.
Thomas Morley writes:
> Hi,
>
> together with Arnold I worked on a method how to compress or stretch a
> text, limiting it to the space between characters, i.e. the letters
> itself shouldn't be scaled.
> (Comes out of a discussion at the german LilyPond-Forum:
> http://www.lilypondforum.de/index
erent: Are there any objections to turn it into a patch?
-Harm
P.S. Don't know whether Arnold has subcribed to -devel. So I cc him.
utf-8-strings-rev-01.ly
Description: Binary data
___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel
21 matches
Mail list logo