Re: framework-ps.scm error

2022-06-20 Thread neuro黃學仁
experiment 2:
If I mask all the UTF-8 characters in all .ly files : 00.ly & B.ly,
then it goes well, output pdf produced as expected.

neuro黃學仁  於 2022年6月20日 週一 晚上7:32寫道:
>
> I made a small expareiment with this simple.ly.
> And it's ok; no problem.
>
> %% the simple.ly
> %% simple.ly
> \version "2.22.2"
> { c' }
>
> %% to run lilpond
>
> [path] > lilypond simple.ly
> GNU LilyPond 2.22.2
> 甇??? ?imple.ly??
> ??銝?..
> Interpreting music...
> Preprocessing graphical objects...
> Finding the ideal number of pages...
> Fitting music on 1 page...
> Drawing systems...
> Converting to `simple.pdf'...
> Success: compilation successfully completed
>
> %%%
> The result is an ok pdf with
> \clef treble
> \time 4/4 %% \defaultTimeSignature
> c'4
> %% as might be expected~ ^^
>
> %%
> %%
>
> I reinstall the Windows 10 with image download from rufus.
> some information of this maching
> windows 10 workstation prof
> 21H2
> build 2022-6-15 (I reinstalled few days ago)
> os 19044.1766
>
> 
>
> Here are the structurred two .ly files {00.ly, B.ly} that comes with the 
> error:
>
> 
>
> %% 00.ly %
> \version "2.22.2"
> \language "english"
> \include "english.ly"
> \include "B.ly"
>
> \header {
> title = \markup{ \tiny{(1996)}}
> composer = \markup {ooo}
> tagline = \markup {ooo:  - xxx - 2022-5-10}
> }
>
> \layout {
>  indent = 1\cm
> \context {
> \Staff
> \consists #Measure_counter_engraver
> }
> }
>
> \score {\B}
> %%%
>
> %% B.ly
> \version "2.22.2"
> \language "english"
> \include "english.ly"
>
> B = {
> \context Staff = "B" {
> \transposition c,
>  \pointAndClickOff
>  \clef bass
>  \numericTimeSignature
> \time 4/4
> \key af \major
> \set Staff.instrumentName = #"Bass"
> \set Staff.midiInstrument = #"contrabass"
> \compressEmptyMeasures
> \override TextScript #'padding = #1.5
> % \set Score.markFormatter = #format-mark-box-numbers
>  \set Score.markFormatter = #format-mark-box-alphabet
> \override Score.BarNumber.self-alignment-X = #LEFT
> % \override Score.BarNumber.break-visibility = ##(#f #t #t) % end,
> middle, beginning
> \set countPercentRepeats = ##t
>
> \tempo "肯定地" 4=83
>
> \set Score.voltaSpannerDuration = #(ly:make-moment 3/4)
>
> \bar ""
>
> % 000
>
> % 001-6
> R1 * 6
>
> %002
> %003
> %004
> %005
> %006
>
> %007-14
> R1 * 8
>
> %008
> %009
> %010
> %011
> %012
> %013
> %014
>
> %015
> af,8 ef~
> ef4~
> ef2
>
> %016
> f8 af,~
> af,4
> af,8 ef
> af bf
>
> %017
> c2.
> c4
>
> %018
> f,2
> ef
>
> %019
> df'2.
> c4
>
> %020
> bf,1
>
> %021
> ef,2
> ef,
>
> %022
> f,2
> g,
>
> %023
> af,1
>
> %024
> af,4
> af4
> g
> af
>
> %025
> f,4
> af2.
>
> %026
> f,2.
> ef,4
>
> %027
> df,2.
> f8 af
>
> %028
> c2.
> c4
>
> %029
> R1
>
> %030
> ef4
> ef
> f
> g
>
> %031
> af,2.
> ef4
>
> %032
> af,4
> af4
> ef
> ef
>
> %033
> f,1
>
> %034-44
> R1 * 11
>
> %035
> %036
> %037
> %038
> %039
> %040
> %041
> %042
> %043
> %044
>
> \bar "||"
>
> %045-51
> R1 * 7
>
> %046
> %047
> %048
> %049
> %050
> %051
>
> %052
> ef4
> g
> f,
> g,
>
> %053
> af,2.~
> af,8 af,8
>
> %054
> af,8  af,~
> af,4~
> af,2
>
> %055
> c1
>
> %056
> R1
>
> %057
> df1
>
> %058
> bf,1
>
> %059
> ef2
> ef
>
> %060
> f,2
> g,4
> g
>
> %061
> af,1
>
> %062-64
> af,1
>
> %063
> f,1
>
> %064
> R1
>
> %065
> df1
>
> %066
> c1
>
> %067
> R1
>
> %068
> ef4
> ef
> f,
> g,
>
> %069
> af,2.
> af4
>
> %070
> af,4
> ef
> g
> af
>
> %071
> f,8 c
> f af~
> af2
>
> %072
> f2.
> ef4
>
> %073
> df2.
> af,4
>
> %074
> ef8 af
> c'4
> f,8 c
> c4
>
> %075
> R1 * 2
>
> %076
>
> %077
> e,4
> e,
> fs,
> gs,
>
> \bar "||"
>
> \key a \major
>
> %078
> a,?1
>
> %079
> a,8 e4 e8
> a,8 e
> a e
>
> %080
> fs1
>
> %081
> R1
>
> %082
> d1
>
> %083
> cs1
>
> %084
> b,1
>
> %085
> e4
> e,
> fs,
> gs,
>
> %086
> a,1
>
> %087
> a,2
> a,
>
> %088
> fs,1
>
> %089
> fs,2.
> cs4
>
> % 090
> b,1
>
> % 091
> e,2
> fs,
>
> % 092
> b,2
> e4
> e8 b
>
> % 093
> a,8 e
> a e'
> r2
>
> % 094 - 101
> R1 *8
>
> % 095
> % 096
> % 097
> % 098
> % 099
> % 100
> % 101
>
> \bar "|."
> }
> }
> 
>
>
> Jean Abou Samra  於 2022年6月20日 週一 下午2:06寫道:
> >
> >
> >
> > Le 20/06/2022 à 08:00, Andrew Bernard a écrit :
> > > This is not something to do with Unicode characters in filenames, is
> > > it? Or has that been fixed since I last heavily used lilypond?
> > >
> > > Since I see Simplified Chinese in the email, is this a Chinese
> > > localised version of Windows 10? There may well be issues relating to
> > > that.
> > >
> > > Let's hear more form the OP.
> > >
> > > Perhaps also try installing the latest development version of
> > > lilypond? They are always very stable and nothing to be anxious about.
> >
> > I would have suggested that, but if you look at the recent thread
> > "Exited with return code -1073741819" on this list, some are
> > experiencing crashes with development versions on Windows. There are
> > ongoing efforts to investigate (see the GitLab issue) b

Re: framework-ps.scm error

2022-06-20 Thread David Wright
On Mon 20 Jun 2022 at 16:00:04 (+1000), Andrew Bernard wrote:
> This is not something to do with Unicode characters in filenames, is
> it? Or has that been fixed since I last heavily used lilypond?
> 
> Since I see Simplified Chinese in the email, is this a Chinese
> localised version of Windows 10? There may well be issues relating to
> that.
> 
> Let's hear more form the OP.
> 
> Perhaps also try installing the latest development version of
> lilypond? They are always very stable and nothing to be anxious about.

The thread starting at
https://lists.gnu.org/archive/html/lilypond-user/2022-05/msg00258.html
appears to show that the latest release is more finicky about locale
settings than 2.22.2 is.

My own experiments in that thread were carried out in Debian bullseye.
I wouldn't claim any knowledge of how Windows and Macs treat Unicode,
and particularly their handling of composed characters.

I notice that the OP's log output doesn't even show the filename,
backtick and apostrophe (ASCII 0x60 and 0x27), assuming this has been
pasted into the post without alteration/mishandling.

Cheers,
David.



Re: question concerning arranger tool

2022-06-20 Thread Jean Abou Samra

Le 20/06/2022 à 14:12, Stefan Thomas a écrit :

Dear community,
I try to understand more of the arranger tool, have a look at
https://github.com/gilles-th/arranger.ly
Could someone give an instructional example, what the functions 
copy-out can do and how it works?
I generally think taht there should be more examples in the docs. I'm 
willing to help in this regard but therefore I sould understand a bit 
more of the staff.




For questions and remarks about arranger.ly, you probably want to CC the 
author, Gilles Thibault (I've added him here).


Best,
Jean




question concerning arranger tool

2022-06-20 Thread Stefan Thomas
Dear community,
I try to understand more of the arranger tool, have a look at
https://github.com/gilles-th/arranger.ly
Could someone give an instructional example, what the functions copy-out
can do and how it works?
I generally think taht there should be more examples in the docs. I'm
willing to help in this regard but therefore I sould understand a bit more
of the staff.
Thanks,
Stefan