Re: Lilyjazz font and Score.markFormatter problem with Lily 2.23.6

2022-04-04 Thread Xavier Scheuer
On Mon, 4 Apr 2022 at 11:35, Jacques Menu  wrote:
>
> Hello Hans,
>
> Installed the fonts from lilyjazz-master as system fonts with FontBook,
rebooted, but to no avail.
> That beats me…

Hello Jacques,

Sorry to ask, but it is not clear from your answer. Do you effectively
install the fonts liyjazz-chord and lilyjazz-text? The ones present in the
"supplementary-files" folder.
https://github.com/OpenLilyPondFonts/lilyjazz/tree/master/supplementary-files

Cheers,
Xavier

-- 
Xavier Scheuer 


Re: Lilyjazz font and Score.markFormatter problem with Lily 2.23.6

2022-04-04 Thread Jacques Menu
Hello Hans,

Installed the fonts from lilyjazz-master as system fonts with FontBook, 
rebooted, but to no avail.
That beats me…

JM

> Le 4 avr. 2022 à 00:07, Hans Aikema  a écrit :
> 
> IIRC on Mac it only works when you install them in the system fonts. Fontbook 
> installs them in the user-fonts.
> 
>> On 3 Apr 2022, at 23:33, Jacques Menu  wrote:
>> 
>> Hello Xavier,
>> 
>> Thanks for the suggestion!
>> 
>> Here are the LilyJAZZ fonts available to LilyPond:
>> 
>> jacquesmenu@macmini: ~/Desktop > lilypond -dshow-available-fonts  > 
>> lilypond_available_fonts.txt 2>&1
>> 
>> jacquesmenu@macmini: ~/Desktop > grep LilyJAZZ lilypond_available_fonts.txt 
>> family LilyJAZZ-Brace
>>  LilyJAZZ\-Brace:style=Brace
>> family LilyJAZZ-11
>>  LilyJAZZ\-11:style=11
>> family LilyJAZZ-13
>>  LilyJAZZ\-13:style=13
>> family LilyJAZZ-14
>>  LilyJAZZ\-14:style=14
>> family LilyJAZZ-16
>>  LilyJAZZ\-16:style=16
>> family LilyJAZZ-18
>>  LilyJAZZ\-18:style=18
>> family LilyJAZZ-20
>>  LilyJAZZ\-20:style=20
>> family LilyJAZZ-23
>>  LilyJAZZ\-23:style=23
>> family LilyJAZZ-26
>>  LilyJAZZ\-26:style=26
>> 
>> Adding the fonts from lilyjazz-master to Mac OS’s font book does not change 
>> the output of the   -dshow-available-fonts option shown above.
>> 
>> JM
>> 
>>  lilyjazz-master to Mac
>> 
>> OS’s FontBook does not change the output.
>> 
>>> Le 3 avr. 2022 à 21:48, Xavier Scheuer >> > a écrit :
>>> 
>>> On Sun, 3 Apr 2022 at 12:44, Jacques Menu >> > wrote:
>>> >
>>> > Hello Knute,
>>> >
>>> > Same result replacing define fonts by direct includes.
>>> 
>>> Hello Jacques,
>>> 
>>> Have you properly installed the fonts lilyjazz-text and lilyjazz-chord on 
>>> your operating system?
>>> Do they appear in the list of fonts obtained via lilypond 
>>> -dshow-available-fonts ?
>>> 
>>> See NR 1.8.3 Fonts
>>> http://lilypond.org/doc/v2.23/Documentation/notation/fonts.html 
>>> 
>>> 
>>> Cheers,
>>> Xavier
>>> 
>>> -- 
>>> Xavier Scheuer mailto:x.sche...@gmail.com>>
>>> 
>> 



Re: Lilyjazz font and Score.markFormatter problem with Lily 2.23.6

2022-04-03 Thread Hans Aikema
IIRC on Mac it only works when you install them in the system fonts. Fontbook 
installs them in the user-fonts.

> On 3 Apr 2022, at 23:33, Jacques Menu  wrote:
> 
> Hello Xavier,
> 
> Thanks for the suggestion!
> 
> Here are the LilyJAZZ fonts available to LilyPond:
> 
> jacquesmenu@macmini: ~/Desktop > lilypond -dshow-available-fonts  > 
> lilypond_available_fonts.txt 2>&1
> 
> jacquesmenu@macmini: ~/Desktop > grep LilyJAZZ lilypond_available_fonts.txt 
> family LilyJAZZ-Brace
>  LilyJAZZ\-Brace:style=Brace
> family LilyJAZZ-11
>  LilyJAZZ\-11:style=11
> family LilyJAZZ-13
>  LilyJAZZ\-13:style=13
> family LilyJAZZ-14
>  LilyJAZZ\-14:style=14
> family LilyJAZZ-16
>  LilyJAZZ\-16:style=16
> family LilyJAZZ-18
>  LilyJAZZ\-18:style=18
> family LilyJAZZ-20
>  LilyJAZZ\-20:style=20
> family LilyJAZZ-23
>  LilyJAZZ\-23:style=23
> family LilyJAZZ-26
>  LilyJAZZ\-26:style=26
> 
> Adding the fonts from lilyjazz-master to Mac OS’s font book does not change 
> the output of the   -dshow-available-fonts option shown above.
> 
> JM
> 
>  lilyjazz-master to Mac
> 
> OS’s FontBook does not change the output.
> 
>> Le 3 avr. 2022 à 21:48, Xavier Scheuer  a écrit :
>> 
>> On Sun, 3 Apr 2022 at 12:44, Jacques Menu  wrote:
>> >
>> > Hello Knute,
>> >
>> > Same result replacing define fonts by direct includes.
>> 
>> Hello Jacques,
>> 
>> Have you properly installed the fonts lilyjazz-text and lilyjazz-chord on 
>> your operating system?
>> Do they appear in the list of fonts obtained via lilypond 
>> -dshow-available-fonts ?
>> 
>> See NR 1.8.3 Fonts
>> http://lilypond.org/doc/v2.23/Documentation/notation/fonts.html
>> 
>> Cheers,
>> Xavier
>> 
>> -- 
>> Xavier Scheuer 
>> 
> 


Re: Lilyjazz font and Score.markFormatter problem with Lily 2.23.6

2022-04-03 Thread Jacques Menu
Hello Xavier,

Thanks for the suggestion!

Here are the LilyJAZZ fonts available to LilyPond:

jacquesmenu@macmini: ~/Desktop > lilypond -dshow-available-fonts  > 
lilypond_available_fonts.txt 2>&1

jacquesmenu@macmini: ~/Desktop > grep LilyJAZZ lilypond_available_fonts.txt 
family LilyJAZZ-Brace
 LilyJAZZ\-Brace:style=Brace
family LilyJAZZ-11
 LilyJAZZ\-11:style=11
family LilyJAZZ-13
 LilyJAZZ\-13:style=13
family LilyJAZZ-14
 LilyJAZZ\-14:style=14
family LilyJAZZ-16
 LilyJAZZ\-16:style=16
family LilyJAZZ-18
 LilyJAZZ\-18:style=18
family LilyJAZZ-20
 LilyJAZZ\-20:style=20
family LilyJAZZ-23
 LilyJAZZ\-23:style=23
family LilyJAZZ-26
 LilyJAZZ\-26:style=26

Adding the fonts from lilyjazz-master to Mac OS’s font book does not change the 
output of the   -dshow-available-fonts option shown above.

JM

 lilyjazz-master to Mac

OS’s FontBook does not change the output.

> Le 3 avr. 2022 à 21:48, Xavier Scheuer  a écrit :
> 
> On Sun, 3 Apr 2022 at 12:44, Jacques Menu  > wrote:
> >
> > Hello Knute,
> >
> > Same result replacing define fonts by direct includes.
> 
> Hello Jacques,
> 
> Have you properly installed the fonts lilyjazz-text and lilyjazz-chord on 
> your operating system?
> Do they appear in the list of fonts obtained via lilypond 
> -dshow-available-fonts ?
> 
> See NR 1.8.3 Fonts
> http://lilypond.org/doc/v2.23/Documentation/notation/fonts.html 
> 
> 
> Cheers,
> Xavier
> 
> -- 
> Xavier Scheuer mailto:x.sche...@gmail.com>>
> 



Re: Lilyjazz font and Score.markFormatter problem with Lily 2.23.6

2022-04-03 Thread Xavier Scheuer
On Sun, 3 Apr 2022 at 12:44, Jacques Menu  wrote:
>
> Hello Knute,
>
> Same result replacing define fonts by direct includes.

Hello Jacques,

Have you properly installed the fonts lilyjazz-text and lilyjazz-chord on
your operating system?
Do they appear in the list of fonts obtained via lilypond
-dshow-available-fonts ?

See NR 1.8.3 Fonts
http://lilypond.org/doc/v2.23/Documentation/notation/fonts.html

Cheers,
Xavier

-- 
Xavier Scheuer 


Re: Lilyjazz font and Score.markFormatter problem with Lily 2.23.6

2022-04-03 Thread Knute Snortum
I'm at the end of my knowledge about this problem.  Abraham Lee is the
author of LilyJAZZ fonts and the support document says he can be
connected at i...@musictypefoundry.com, but that was six years ago.
You could also try tisimst.lilyp...@gmail.com.

--
Knute Snortum

On Sun, Apr 3, 2022 at 3:44 AM Jacques Menu  wrote:
>
> Hello Knute,
>
> Same result replacing define fonts by direct includes.
>
> JM
>
> > Le 2 avr. 2022 à 16:30, Knute Snortum  a écrit :
> >
> > On Sat, Apr 2, 2022 at 6:21 AM Jacques Menu  wrote:
> > [snip]
> >> \paper {
> >>  #(define fonts
> >> (set-global-fonts
> >>  #:music "lilyjazz"
> >>  #:brace "lilyjazz"
> >>  #:roman "lilyjazz-text"
> >>  #:sans "lilyjazz-chord"
> >>  #:factor (/ staff-height pt 20)
> >>  ))
> >> }
> >
> > Try removing  #(define fonts in the paper block and instead, add this
> > near the top of your input file:
> >
> > \include "jazzchords.ily"
> > \include "lilyjazz.ily"
> > \include "jazzextras.ily"
> >
> > --
> > Knute Snortum
>



Re: Lilyjazz font and Score.markFormatter problem with Lily 2.23.6

2022-04-03 Thread Jacques Menu
Hello Knute,

Same result replacing define fonts by direct includes.

JM

> Le 2 avr. 2022 à 16:30, Knute Snortum  a écrit :
> 
> On Sat, Apr 2, 2022 at 6:21 AM Jacques Menu  wrote:
> [snip]
>> \paper {
>>  #(define fonts
>> (set-global-fonts
>>  #:music "lilyjazz"
>>  #:brace "lilyjazz"
>>  #:roman "lilyjazz-text"
>>  #:sans "lilyjazz-chord"
>>  #:factor (/ staff-height pt 20)
>>  ))
>> }
> 
> Try removing  #(define fonts in the paper block and instead, add this
> near the top of your input file:
> 
> \include "jazzchords.ily"
> \include "lilyjazz.ily"
> \include "jazzextras.ily"
> 
> --
> Knute Snortum




Re: Lilyjazz font and Score.markFormatter problem with Lily 2.23.6

2022-04-02 Thread Knute Snortum
On Sat, Apr 2, 2022 at 6:21 AM Jacques Menu  wrote:
[snip]
> \paper {
>   #(define fonts
>  (set-global-fonts
>   #:music "lilyjazz"
>   #:brace "lilyjazz"
>   #:roman "lilyjazz-text"
>   #:sans "lilyjazz-chord"
>   #:factor (/ staff-height pt 20)
>   ))
> }

Try removing  #(define fonts in the paper block and instead, add this
near the top of your input file:

\include "jazzchords.ily"
\include "lilyjazz.ily"
\include "jazzextras.ily"

--
Knute Snortum



Re: Lilyjazz font and Score.markFormatter problem with Lily 2.23.6

2022-04-02 Thread Tim's Bitstream



> On Apr 2, 2022, at 8:22 AM, Jacques Menu  wrote:
> The default Lilypond in Frescobaldi is:
> 
>   /Applications/LilyPond/lilypond-2.23.6/bin/lilypond
> 
> With:
> 
> \paper {
>   #(define fonts
>  (set-global-fonts
>   #:music "lilyjazz"
>   #:brace "lilyjazz"
>   #:roman "lilyjazz-text"
>   #:sans "lilyjazz-chord"
>   #:factor (/ staff-height pt 20)
>   ))
> }

Try explicitly defining the path to the fonts relative to the main Lilypond 
directory, maybe, rather than just the font name (e.g., ../../lilyjazz)?  I had 
to do that as shown in the example I posted in order to get it to work.



Re: Lilyjazz font and Score.markFormatter problem with Lily 2.23.6

2022-04-02 Thread Jacques Menu
Hello Knute,

> Le 1 avr. 2022 à 16:31, Knute Snortum  a écrit :
> 
> How did you install the LilyJAZZ fonts?  If you go to this URL...
> 
> https://github.com/OpenLilyPondFonts/lilyjazz 
> 
> 
> ...and click on the green Code button, you can download the fonts as a Zip 
> file.  Unzip it somewhere, then follow the instructions in the 
> LilyPond-Fonts-and -Installation-Guide.txt file.  Note that where you put the 
> fonts must match the version of LilyPond you're using, if you have multiple 
> versions. 

Thanks for the link, much appreciated.

I now have Lily 2.23.6 installed in /Applications/LilyPond/lilypond-2.23.6:,

jacquesmenu@macmini: /Applications/LilyPond/lilypond-2.23.6 > ls -sal bin
total 21576
0 drwxr-xr-x  12 jacquesmenu  staff   384 Feb  7 10:45 .
0 drwxr-xr-x@  9 jacquesmenu  staff   288 Feb  8 17:59 ..
8 -rwxr-xr-x   1 jacquesmenu  staff93 Feb  7 10:45 abc2ly
8 -rwxr-xr-x   1 jacquesmenu  staff97 Feb  7 10:45 convert-ly
8 -rwxr-xr-x   1 jacquesmenu  staff93 Feb  7 10:45 etf2ly
8 -rwxr-xr-x   1 jacquesmenu  staff95 Feb  7 10:45 lilymidi
21504 -rwxr-xr-x   1 jacquesmenu  staff  11009976 Feb  7 10:45 lilypond
8 -rwxr-xr-x   1 jacquesmenu  staff   100 Feb  7 10:45 lilypond-book
8 -rwxr-xr-x   1 jacquesmenu  staff   241 Feb  7 10:45 
lilypond-invoke-editor
8 -rwxr-xr-x   1 jacquesmenu  staff95 Feb  7 10:45 lilysong
8 -rwxr-xr-x   1 jacquesmenu  staff94 Feb  7 10:45 midi2ly
8 -rwxr-xr-x   1 jacquesmenu  staff98 Feb  7 10:45 musicxml2ly

 with the lily jazz fonts files in ‘font’ sub-directory:

jacquesmenu@macmini: /Applications/LilyPond/lilypond-2.23.6 > find . -name 
"*lilyjazz*" -print
./share/lilypond/2.23.6/fonts/svg/lilyjazz-13.svg
./share/lilypond/2.23.6/fonts/svg/lilyjazz-11.svg
./share/lilypond/2.23.6/fonts/svg/lilyjazz-14.svg
./share/lilypond/2.23.6/fonts/svg/lilyjazz-16.svg
./share/lilypond/2.23.6/fonts/svg/lilyjazz-26.svg
./share/lilypond/2.23.6/fonts/svg/lilyjazz-18.svg
./share/lilypond/2.23.6/fonts/svg/lilyjazz-20.svg
./share/lilypond/2.23.6/fonts/svg/lilyjazz-brace.svg
./share/lilypond/2.23.6/fonts/svg/lilyjazz-23.svg
./share/lilypond/2.23.6/fonts/otf/lilyjazz-26.otf
./share/lilypond/2.23.6/fonts/otf/lilyjazz-18.otf
./share/lilypond/2.23.6/fonts/otf/lilyjazz-20.otf
./share/lilypond/2.23.6/fonts/otf/lilyjazz-brace.otf
./share/lilypond/2.23.6/fonts/otf/lilyjazz-23.otf
./share/lilypond/2.23.6/fonts/otf/lilyjazz-13.otf
./share/lilypond/2.23.6/fonts/otf/lilyjazz-11.otf
./share/lilypond/2.23.6/fonts/otf/lilyjazz-14.otf
./share/lilypond/2.23.6/fonts/otf/lilyjazz-16.otf

The default Lilypond in Frescobaldi is:

/Applications/LilyPond/lilypond-2.23.6/bin/lilypond

With:

\paper {
  #(define fonts
 (set-global-fonts
  #:music "lilyjazz"
  #:brace "lilyjazz"
  #:roman "lilyjazz-text"
  #:sans "lilyjazz-chord"
  #:factor (/ staff-height pt 20)
  ))
}

I get:



while I used to get:



Hence my OP...

JM









Re: Lilyjazz font and Score.markFormatter problem with Lily 2.23.6

2022-04-01 Thread Jean Abou Samra

Le 01/04/2022 à 19:08, Tim McNamara a écrit :
Note that I use a very outdated Lilypond version because it works for 
me just fine; the updates make for changes in input that I just don’t 
have the time or energy to learn.



convert-ly does a good job of updating input syntax. Usually, little 
remains to convert by hand.


Jean



Re: Lilyjazz font and Score.markFormatter problem with Lily 2.23.6

2022-04-01 Thread Tim McNamara

> What I’d like is to have the chord names such Em7 in the lilyjazz font too, 
> though.

Note that I use a very outdated Lilypond version because it works for me just 
fine; the updates make for changes in input that I just don’t have the time or 
energy to learn.  I am a part time hobbyist musician with no background in 
coding, hence my resistance to change.  ;-)  I am also using this on a 9 year 
old Mac that is a couple of MacOS-es behind, with Frescobaldi as the front-end. 
 Macs historically have had issues with where the fonts are placed (had to be 
within the Lilypond directory rather than the usual system font location; that 
may not be true with newer versions of Lilypond).

This is the whole template for my charts, including some stuff that’s not 
germane to the discussion.  The template is also pretty old-fashioned and at 
least 10 years old; there are certainly much better ways to do this.  But it 
works for me and I can put together charts for the whole band in short order.  
I don’t know if it will be helpful to you since it is so outdated.

in \chordmode and \markup, the command 

\override ChordNames . ChordName #'font-name = “LilyJAZZText” 

invokes the use of the font.  I have always been puzzled as to why fonts for 
all forms of text (chordnames, markup, etc.) can’t be globally specified with a 
single statement (maybe it can in newer versions of Lilypond).  

in \melody, \jazzOn initiates using the font for notes and glyphs; \jazzOff 
terminates it and the font goes back to the default.




\version "2.18.2"

#(ly:set-option 'delete-intermediate-files #t)

\paper {
#(set-paper-size "letter")
indent = 0.0
ragged-last = ##f

} 

\header {
title = \markup {  \override #'(font-name . "LilyJAZZText")
   \fontsize #4  “Title" }
  subtitle = \markup {  \override #'(font-name . "LilyJAZZText")
   \fontsize #2  “Subtitle" }
  composer = \markup {  \override #'(font-name . "LilyJAZZText") 
  “Name" }
  meter = \markup {  \override #'(font-name . "LilyJAZZText")
  “Groove" }
  copyright = \markup {  \override #'(font-name . "LilyJAZZText")
   “As Needed" }
}

\include "../../roemer-chords.ly"
\include "../../LilyJAZZ.ily"
% \include "../../multimeasure.ly"
% \include "../../naturalize.scm"

\markup {  \override #'(font-name . "LilyJAZZText")
\fill-line {
\column {
\line { These are used for specifying soloing order }
\line { And other arrangement concerns }
\line { \hspace #0 }
}
}
}


harmonies =  \chordmode {
\override ChordNames . ChordName #'font-name = "LilyJAZZText"
\override ChordName #'font-size = #3
\override ParenthesesItem #'font-size = #1

% chords go here

}

melody =\relative c' {
\jazzOn
\numericTimeSignature
\time 4/4
\clef treble
\key 

\set Score.markFormatter = #format-mark-box-alphabet
% \mark #1

% \override Staff.KeySignature #'break-visibility = #all-invisible
% \override Staff.Clef #'break-visibility = #all-invisible
% \once \override Score.RehearsalMark #'break-visibility = 
begin-of-line-invisible

\set Score.markFormatter = #format-mark-box-alphabet
% \mark #1

% melody goes here

 
}

\score {
  <<

\new ChordNames
 {
  \set chordChanges = ##t
  \harmonies
}
\new Staff \melody
  >>  

}



Re: Lilyjazz font and Score.markFormatter problem with Lily 2.23.6

2022-04-01 Thread Knute Snortum
How did you install the LilyJAZZ fonts?  If you go to this URL...

https://github.com/OpenLilyPondFonts/lilyjazz

...and click on the green Code button, you can download the fonts as a Zip
file.  Unzip it somewhere, then follow the instructions in the
LilyPond-Fonts-and -Installation-Guide.txt file.  Note that where you put
the fonts must match the version of LilyPond you're using, if you have
multiple versions.

--
Knute Snortum



On Fri, Apr 1, 2022 at 6:53 AM Jacques Menu  wrote:

> Hello Knute,
>
> Your example runs here too, giving:
>
>
> What I’d like is to have the chord names such Em7 in the lilyjazz font
> too, though.
>
> Thanks if you can help!
>
> JM
>
> Le 1 avr. 2022 à 02:11, Knute Snortum  a écrit :
>
> Any hint why the chord names don’t use the lilyjazz font?
>
>
> \paper {
> #(define fonts
>(set-global-fonts
> #:music "lilyjazz"
> #:brace "lilyjazz"
> #:roman "lilyjazz-text"
> #:sans "lilyjazz-chord"
> #:chords "lilyjazz-chord"
>
>
> You don't need all the fonts defined in the \paper section, and I
> don't think you have needed them since 2.19.11.  The code below works
> for me:
>
> %%%
> \version "2.23.6"
>
> \include "jazzchords.ily"
> \include "lilyjazz.ily"
> \include "jazzextras.ily"
>
> \markup { Some text }
>
> myChordSequence = \chordmode {
>  \set chordChanges = ##t
>  %\set chordNameExceptions = #chExceptions
>  e2:m7 a:7 | e:m7 a:7 |
> }
>
> Part_POne_Staff_One_Voice_One = \absolute {
>  \language "nederlands"
>
>  \set Score.rehearsalMarkFormatter = #format-mark-box-letters
>  %  \set Score.rehearsalMarkFormatter = #format-mark-box-alphabet % pour
> le "I"
>  \override Score.RehearsalMark.font-size = #+5
>  \textLengthOn
>
>  \key d \major
>
>  \mark \default
>
>  \clef "treble"
>  b'8 [ a' b' a'  ~ ] a' b'4. | % 6
>  \barNumberCheck #2
>  r8 b'4. a'8 b'4. ^\markup {\musicglyph #"scripts.segno" } | % 7
>  \barNumberCheck #3
>  | % 7
> }
>
> \score {
>  <<
>
>\new ChordNames \myChordSequence
>
>\new Staff = "Part_POne_Staff_One"
>\with {
>}
><<
>  \context Voice = "Part_POne_Staff_One_Voice_One" <<
>\Part_POne_Staff_One_Voice_One
>
>
>
>
>
> }
> %%%
>
> --
> Knute Snortum
>
>
>


Re: Lilyjazz font and Score.markFormatter problem with Lily 2.23.6

2022-04-01 Thread Jacques Menu
Hello Knute,

Your example runs here too, giving:



What I’d like is to have the chord names such Em7 in the lilyjazz font too, 
though.

Thanks if you can help!

JM

> Le 1 avr. 2022 à 02:11, Knute Snortum  a écrit :
> 
>>> Any hint why the chord names don’t use the lilyjazz font?
>>> 
>>> 
> \paper {
> #(define fonts
>(set-global-fonts
> #:music "lilyjazz"
> #:brace "lilyjazz"
> #:roman "lilyjazz-text"
> #:sans "lilyjazz-chord"
> #:chords "lilyjazz-chord"
> 
> You don't need all the fonts defined in the \paper section, and I
> don't think you have needed them since 2.19.11.  The code below works
> for me:
> 
> %%%
> \version "2.23.6"
> 
> \include "jazzchords.ily"
> \include "lilyjazz.ily"
> \include "jazzextras.ily"
> 
> \markup { Some text }
> 
> myChordSequence = \chordmode {
>  \set chordChanges = ##t
>  %\set chordNameExceptions = #chExceptions
>  e2:m7 a:7 | e:m7 a:7 |
> }
> 
> Part_POne_Staff_One_Voice_One = \absolute {
>  \language "nederlands"
> 
>  \set Score.rehearsalMarkFormatter = #format-mark-box-letters
>  %  \set Score.rehearsalMarkFormatter = #format-mark-box-alphabet % pour le 
> "I"
>  \override Score.RehearsalMark.font-size = #+5
>  \textLengthOn
> 
>  \key d \major
> 
>  \mark \default
> 
>  \clef "treble"
>  b'8 [ a' b' a'  ~ ] a' b'4. | % 6
>  \barNumberCheck #2
>  r8 b'4. a'8 b'4. ^\markup {\musicglyph #"scripts.segno" } | % 7
>  \barNumberCheck #3
>  | % 7
> }
> 
> \score {
>  <<
> 
>\new ChordNames \myChordSequence
> 
>\new Staff = "Part_POne_Staff_One"
>\with {
>}
><<
>  \context Voice = "Part_POne_Staff_One_Voice_One" <<
>\Part_POne_Staff_One_Voice_One
>>> 
>>> 
> 
>>> 
> }
> %%%
> 
> --
> Knute Snortum



Re: Lilyjazz font and Score.markFormatter problem with Lily 2.23.6

2022-03-31 Thread Knute Snortum
> > Any hint why the chord names don’t use the lilyjazz font?
> >
> >
> >>> \paper {
> >>>  #(define fonts
> >>> (set-global-fonts
> >>>  #:music "lilyjazz"
> >>>  #:brace "lilyjazz"
> >>>  #:roman "lilyjazz-text"
> >>>  #:sans "lilyjazz-chord"
> >>>  #:chords "lilyjazz-chord"

You don't need all the fonts defined in the \paper section, and I
don't think you have needed them since 2.19.11.  The code below works
for me:

%%%
\version "2.23.6"

\include "jazzchords.ily"
\include "lilyjazz.ily"
\include "jazzextras.ily"

\markup { Some text }

myChordSequence = \chordmode {
  \set chordChanges = ##t
  %\set chordNameExceptions = #chExceptions
  e2:m7 a:7 | e:m7 a:7 |
}

Part_POne_Staff_One_Voice_One = \absolute {
  \language "nederlands"

  \set Score.rehearsalMarkFormatter = #format-mark-box-letters
  %  \set Score.rehearsalMarkFormatter = #format-mark-box-alphabet % pour le "I"
  \override Score.RehearsalMark.font-size = #+5
  \textLengthOn

  \key d \major

  \mark \default

  \clef "treble"
  b'8 [ a' b' a'  ~ ] a' b'4. | % 6
  \barNumberCheck #2
  r8 b'4. a'8 b'4. ^\markup {\musicglyph #"scripts.segno" } | % 7
  \barNumberCheck #3
  | % 7
}

\score {
  <<

\new ChordNames \myChordSequence

\new Staff = "Part_POne_Staff_One"
\with {
}
<<
  \context Voice = "Part_POne_Staff_One_Voice_One" <<
\Part_POne_Staff_One_Voice_One
  >>
>>

  >>
}
%%%

--
Knute Snortum



Re: Lilyjazz font and Score.markFormatter problem with Lily 2.23.6

2022-03-31 Thread Jean Abou Samra

Le 31/03/2022 à 08:54, Jacques Menu a écrit :

Le 30 mars 2022 à 21:06, Valentin Petzel  a écrit :

For me changing the font make no problems. You might want to check if 
you have
the relevant font files in the font path. Are you on Linux or 
Windows? Maybe

are some point something about font-config has changed.

About markFormatter: This one changed to rehearsalMarkFormatter, 
along with

adding formatter options for the all kinds of marks.


Thanks Jean and Valentin, that solves this issue. I’ve probably used 
an outdated convert-ly.


Any hint why the chord names don’t use the lilyjazz font?



\paper {
 #(define fonts
(set-global-fonts
 #:music "lilyjazz"
 #:brace "lilyjazz"
 #:roman "lilyjazz-text"
 #:sans "lilyjazz-chord"
 #:chords "lilyjazz-chord"



#:chords is not, and as far as I can see has never been a valid
keyword argument to set-global-fonts. Are you using an include
file redefining set-global-fonts?

What version of LilyJAZZ are you using? There are so many of them in
the wild ... Can you send it? Remember that some of them require 
installation

in LilyPond's internal folders; did you perform that operation if relevant?

Jean



Re: Lilyjazz font and Score.markFormatter problem with Lily 2.23.6

2022-03-31 Thread Jacques Menu
> Le 30 mars 2022 à 21:06, Valentin Petzel  a écrit :
> 
> For me changing the font make no problems. You might want to check if you 
> have 
> the relevant font files in the font path. Are you on Linux or Windows? Maybe 
> are some point something about font-config has changed.
> 
> About markFormatter: This one changed to rehearsalMarkFormatter, along with 
> adding formatter options for the all kinds of marks.

Thanks Jean and Valentin, that solves this issue. I’ve probably used an 
outdated convert-ly.

Any hint why the chord names don’t use the lilyjazz font?



>> \paper {
>>  #(define fonts
>> (set-global-fonts
>>  #:music "lilyjazz"
>>  #:brace "lilyjazz"
>>  #:roman "lilyjazz-text"
>>  #:sans "lilyjazz-chord"
>>  #:chords "lilyjazz-chord"
>>  #:factor (/ staff-height pt 20)
>>  ))

JM




Re: Lilyjazz font and Score.markFormatter problem with Lily 2.23.6

2022-03-30 Thread Valentin Petzel
For me changing the font make no problems. You might want to check if you have 
the relevant font files in the font path. Are you on Linux or Windows? Maybe 
are some point something about font-config has changed.

About markFormatter: This one changed to rehearsalMarkFormatter, along with 
adding formatter options for the all kinds of marks.

Cheers,
Valentin

Am Mittwoch, 30. März 2022, 13:23:39 CEST schrieb Jacques Menu:
> Hello folks,
> 
> The setting:
> 
>\set Score.markFormatter = #format-mark-box-letters
> 
> has no effect here from version 2.23 on, see attached
> 
> Also, the usual :
> 
> \paper {
>   #(define fonts
>  (set-global-fonts
>   #:music "lilyjazz"
>   #:brace "lilyjazz"
>   #:roman "lilyjazz-text"
>   #:sans "lilyjazz-chord"
>   #:chords "lilyjazz-chord"
>   #:factor (/ staff-height pt 20)
>   ))
> 
> has no effect on chord names:
> 
> 
> 
> Thanks for your help!
> 
> JM
> 
> --
> 
> %%
> 
> \version "2.23.6"
> 
> \paper {
>   #(define fonts
>  (set-global-fonts
>   #:music "lilyjazz"
>   #:brace "lilyjazz"
>   #:roman "lilyjazz-text"
>   #:sans "lilyjazz-chord"
>   #:factor (/ staff-height pt 20)
>   ))
> }
> 
> \markup { Some text }
> 
> myChordSequence = \chordmode {
>   \set chordChanges = ##t
>   %\set chordNameExceptions = #chExceptions
>   e2:m7 a:7 | e:m7 a:7 |
> }
> 
> Part_POne_Staff_One_Voice_One = \absolute {
>   \language "nederlands"
> 
>   \set Score.markFormatter = #format-mark-box-letters
>   %  \set Score.markFormatter = #format-mark-box-alphabet % pour le "I"
>   \override Score.RehearsalMark.font-size = #+5
>   \textLengthOn
> 
>   \key d \major
> 
>   \mark \default
> 
>   \clef "treble"
>   b'8 [ a' b' a'  ~ ] a' b'4. | % 6
>   \barNumberCheck #2
>   r8 b'4. a'8 b'4. ^\markup {\musicglyph #"scripts.segno" } | % 7
>   \barNumberCheck #3
> 
>   | % 7
> 
> }
> 
> \score {
>   <<
> 
> \new ChordNames \myChordSequence
> 
> \new Staff = "Part_POne_Staff_One"
> \with {
> }
> <<
>   \context Voice = "Part_POne_Staff_One_Voice_One" <<
> \Part_POne_Staff_One_Voice_One
> 
> 
> 
> 
> }
> 
> 
> %%



signature.asc
Description: This is a digitally signed message part.


Re: Lilyjazz font and Score.markFormatter problem with Lily 2.23.6

2022-03-30 Thread Jean Abou Samra

Hi Jacques,

Le 30/03/2022 à 13:23, Jacques Menu a écrit :

Hello folks,

The setting:

 \set Score.markFormatter = #format-mark-box-letters

has no effect here from version 2.23 on, see attached



I don't have comments on LilyJAZZ right now, but about markFormatter: 
run convert-ly to update your file.


Cheers,
Jean