Re: lily jazz
Thanks guys, it's beginning to make a little more sense now. My script is here: %% \include "lilyjazz.ily" \score { \new Staff { \jazzOn c'4 c' \tuplet 3/2 { d'8-- es'-- e'-- } g'4 ~ | g'4 r r8 f'-^ \noBeam es' c'-> \bar "|." } } \version "2.20.0" % necessary for upgrading to future LilyPond versions. %%% I've downloaded all the files which Jacques shows in the /otf directory (didn't bother with the svg and woff files since i'm only interested in pdf output at this point ... am i assuming correctly?). Also put lilyjazz.ily, lilyjazz-chord, and lilyjazz-text in the same directory, but on compiling the above script, the result is the same result: "error: cannot find file: lilyjazz.ily. I can think of two possible issues: 1) Do the .ily files have to go in a specific directory? 2) I copied and pasted the .ily files into separate text files (couldn't see any way to download or install them directly from GitHub) and saved those in the /otf directory ... are the .ily files something more than just text? Anyway, thanks for your help so far. Jeff PS I imply from Robin's suggestion that spaces are characters ... are we also case sensitive? On Fri, Apr 17, 2020 at 5:30 PM Jacques Menu wrote: > I keep an old version of LilyPond with the lilyjazz fonts in it in the > /Applications folder, and copy the latter to new versions with this script: > > *menu@macbookprojm*: ~/Documents/PartitionsLilypond > cat > InstallLilyJazzFontsForLilyPond.bash > #!/bin/bash > > set -x > > cd /Applications > > ls > LilyPondWithLilyjazzFont.app/Contents/Resources/share/lilypond/current/lilyjazz_fonts/* > ls LilyPond.app/Contents/Resources/share/lilypond/current/fonts/* > > cp -p \ > LilyPondWithLilyjazzFont.app/Contents/Resources/share/lilypond/current/lilyjazz_fonts/otf/* > \ > LilyPond.app/Contents/Resources/share/lilypond/current/fonts/otf > cp -p \ > LilyPondWithLilyjazzFont.app/Contents/Resources/share/lilypond/current/lilyjazz_fonts/svg/* > \ > LilyPond.app/Contents/Resources/share/lilypond/current/fonts/svg > > ls LilyPond.app/Contents/Resources/share/lilypond/current/fonts/* > > set +x > > > #and then: > # > #\paper { > # #(define fonts > # (set-global-fonts > # #:music "lilyjazz" > # #:brace "lilyjazz" > # #:roman "lilyjazz-text" > # #:sans "lilyjazz-chord" > # #:factor (/ staff-height pt 20) > # )) > #} > > JM > > Le 17 avr. 2020 à 23:23, Jacques Menu a écrit : > > Hello Jeff and Robin, > > Here is what I have in the /Application folder, and lilyjazz is found by > LilyPond: > > LilyPond.app/Contents/Resources/share/lilypond/current/fonts/otf: > C059-BdIta.otf emmentaler-14.otf lilyjazz-26.otf > C059-Bold.otf emmentaler-16.otf lilyjazz-brace.otf > C059-Italic.otf emmentaler-18.otf texgyrecursor-bold.otf > C059-Roman.otf emmentaler-20.otf texgyrecursor-bolditalic.otf > NimbusMonoPS-Bold.otf emmentaler-23.otf texgyrecursor-italic.otf > NimbusMonoPS-BoldItalic.otf emmentaler-26.otf texgyrecursor-regular.otf > NimbusMonoPS-Italic.otf emmentaler-brace.otf texgyreheros-bold.otf > NimbusMonoPS-Regular.otf lilyjazz-11.otf texgyreheros-bolditalic.otf > NimbusSans-Bold.otf lilyjazz-13.otf texgyreheros-italic.otf > NimbusSans-BoldItalic.otf lilyjazz-14.otf texgyreheros-regular.otf > NimbusSans-Italic.otf lilyjazz-16.otf texgyreschola-bold.otf > NimbusSans-Regular.otf lilyjazz-18.otf texgyreschola-bolditalic.otf > emmentaler-11.otf lilyjazz-20.otf texgyreschola-italic.otf > emmentaler-13.otf lilyjazz-23.otf texgyreschola-regular.otf > > LilyPond.app/Contents/Resources/share/lilypond/current/fonts/svg: > emmentaler-11.svg emmentaler-18.woff lilyjazz-11.svg lilyjazz-18.woff > emmentaler-11.woff emmentaler-20.svg lilyjazz-11.woff lilyjazz-20.svg > emmentaler-13.svg emmentaler-20.woff lilyjazz-13.svg lilyjazz-20.woff > emmentaler-13.woff emmentaler-23.svg lilyjazz-13.woff lilyjazz-23.svg > emmentaler-14.svg emmentaler-23.woff lilyjazz-14.svg lilyjazz-23.woff > emmentaler-14.woff emmentaler-26.svg lilyjazz-14.woff lilyjazz-26.svg > emmentaler-16.svg emmentaler-26.woff lilyjazz-16.svg lilyjazz-26.woff > emmentaler-16.woff emmentaler-brace.svg lilyjazz-16.woff > lilyjazz-brace.svg > emmentaler-18.svg emmentaler-brace.woff lilyjazz-18.svg > lilyjazz-brace.woff > > JM > > Le 17 avr. 2020 à 22:55, Robin Bannister a écrit : > > Jeff Knox wrote: > > I chose these locations because the error message i get on compiling a > simple .ly file gives them as "search paths" (among others). Obviously, the > wrong locations as I get a message: "cannot find file: 'lily jazz.ily" > > > > Somewhere near the start of your .ly file you should have the line > > \include "lilyjazz.ily" > > The filename has no spaces in it, has it? > > > Cheers, > Robin > > > > > > > >
Re: GS problem with Lily 2.21.0
On 16.04.20 20:15, Timothy Lanfear wrote: On my machine /usr/local/lilypond-2.21.0/lilypond/usr/bin/gs --version returns 9.26, conflicting with /usr/local/lilypond-2.21.0/lilypond/usr/share/ghostscript/9.21 I hadn't noticed because I run my distribution's gs not Lilypond's. A packaging error somewhere? Well spotted! That’s the case for both my 2.20.0 and 2.21.0, which I installed unaltered directly from the website. I’ll ask about that on -devel. Best, Simon
Re: GS problem with Lily 2.21.0
On 16.04.20 18:09, Mats Bengtsson wrote: On 4/16/20 2:46 PM, Simon Albrecht wrote: Hello everyone, I’m having a problem with my newly installed Lilypond versions 2.20.0 and 2.21.0: Any compilation I start aborts while GS tries writing a PDF. I installed both versions yesterday, and the first tests were successful, before this problem came up. Inbetween I mounted and unmounted an SD card. Any clues for how to investigate/proceed? A complete, verbose log is found below. I hope you don't find this question insulting, Only in the slightest ;-) but you didn't by chance have the PDF files open in Adobe reader or some other PDF viewer that locks the file? If so, the simple solution is to close the PDF file before trying to run Lilypond. If not, it might help others to provide debugging hints if you tell what operating system you use. I’m using Ubuntu 18, so that’s definitely not the reason. Best, Simon
Re: lily jazz
I keep an old version of LilyPond with the lilyjazz fonts in it in the /Applications folder, and copy the latter to new versions with this script: menu@macbookprojm: ~/Documents/PartitionsLilypond > cat InstallLilyJazzFontsForLilyPond.bash #!/bin/bash set -x cd /Applications ls LilyPondWithLilyjazzFont.app/Contents/Resources/share/lilypond/current/lilyjazz_fonts/* ls LilyPond.app/Contents/Resources/share/lilypond/current/fonts/* cp -p \ LilyPondWithLilyjazzFont.app/Contents/Resources/share/lilypond/current/lilyjazz_fonts/otf/* \ LilyPond.app/Contents/Resources/share/lilypond/current/fonts/otf cp -p \ LilyPondWithLilyjazzFont.app/Contents/Resources/share/lilypond/current/lilyjazz_fonts/svg/* \ LilyPond.app/Contents/Resources/share/lilypond/current/fonts/svg ls LilyPond.app/Contents/Resources/share/lilypond/current/fonts/* set +x #and then: # #\paper { # #(define fonts # (set-global-fonts # #:music "lilyjazz" # #:brace "lilyjazz" # #:roman "lilyjazz-text" # #:sans "lilyjazz-chord" # #:factor (/ staff-height pt 20) # )) #} JM > Le 17 avr. 2020 à 23:23, Jacques Menu a écrit : > > Hello Jeff and Robin, > > Here is what I have in the /Application folder, and lilyjazz is found by > LilyPond: > > LilyPond.app/Contents/Resources/share/lilypond/current/fonts/otf: > C059-BdIta.otfemmentaler-14.otf > lilyjazz-26.otf > C059-Bold.otf emmentaler-16.otf > lilyjazz-brace.otf > C059-Italic.otf emmentaler-18.otf > texgyrecursor-bold.otf > C059-Roman.otfemmentaler-20.otf > texgyrecursor-bolditalic.otf > NimbusMonoPS-Bold.otf emmentaler-23.otf > texgyrecursor-italic.otf > NimbusMonoPS-BoldItalic.otf emmentaler-26.otf > texgyrecursor-regular.otf > NimbusMonoPS-Italic.otf emmentaler-brace.otf > texgyreheros-bold.otf > NimbusMonoPS-Regular.otf lilyjazz-11.otf > texgyreheros-bolditalic.otf > NimbusSans-Bold.otf lilyjazz-13.otf > texgyreheros-italic.otf > NimbusSans-BoldItalic.otf lilyjazz-14.otf > texgyreheros-regular.otf > NimbusSans-Italic.otf lilyjazz-16.otf > texgyreschola-bold.otf > NimbusSans-Regular.otflilyjazz-18.otf > texgyreschola-bolditalic.otf > emmentaler-11.otf lilyjazz-20.otf > texgyreschola-italic.otf > emmentaler-13.otf lilyjazz-23.otf > texgyreschola-regular.otf > > LilyPond.app/Contents/Resources/share/lilypond/current/fonts/svg: > emmentaler-11.svg emmentaler-18.woff lilyjazz-11.svg > lilyjazz-18.woff > emmentaler-11.woffemmentaler-20.svg lilyjazz-11.woff > lilyjazz-20.svg > emmentaler-13.svg emmentaler-20.woff lilyjazz-13.svg > lilyjazz-20.woff > emmentaler-13.woffemmentaler-23.svg lilyjazz-13.woff > lilyjazz-23.svg > emmentaler-14.svg emmentaler-23.woff lilyjazz-14.svg > lilyjazz-23.woff > emmentaler-14.woffemmentaler-26.svg lilyjazz-14.woff > lilyjazz-26.svg > emmentaler-16.svg emmentaler-26.woff lilyjazz-16.svg > lilyjazz-26.woff > emmentaler-16.woffemmentaler-brace.svglilyjazz-16.woff > lilyjazz-brace.svg > emmentaler-18.svg emmentaler-brace.woff lilyjazz-18.svg > lilyjazz-brace.woff > > JM > >> Le 17 avr. 2020 à 22:55, Robin Bannister a écrit : >> >> Jeff Knox wrote: >> >>> I chose these locations because the error message i get on compiling a >>> simple .ly file gives them as "search paths" (among others). Obviously, the >>> wrong locations as I get a message: "cannot find file: 'lily jazz.ily" >> >> >> Somewhere near the start of your .ly file you should have the line >> >> \include "lilyjazz.ily" >> >> The filename has no spaces in it, has it? >> >> >> Cheers, >> Robin >> >> >> >> >> >
Re: lily jazz
Hello Jeff and Robin, Here is what I have in the /Application folder, and lilyjazz is found by LilyPond: LilyPond.app/Contents/Resources/share/lilypond/current/fonts/otf: C059-BdIta.otf emmentaler-14.otf lilyjazz-26.otf C059-Bold.otf emmentaler-16.otf lilyjazz-brace.otf C059-Italic.otf emmentaler-18.otf texgyrecursor-bold.otf C059-Roman.otf emmentaler-20.otf texgyrecursor-bolditalic.otf NimbusMonoPS-Bold.otf emmentaler-23.otf texgyrecursor-italic.otf NimbusMonoPS-BoldItalic.otf emmentaler-26.otf texgyrecursor-regular.otf NimbusMonoPS-Italic.otf emmentaler-brace.otf texgyreheros-bold.otf NimbusMonoPS-Regular.otflilyjazz-11.otf texgyreheros-bolditalic.otf NimbusSans-Bold.otf lilyjazz-13.otf texgyreheros-italic.otf NimbusSans-BoldItalic.otf lilyjazz-14.otf texgyreheros-regular.otf NimbusSans-Italic.otf lilyjazz-16.otf texgyreschola-bold.otf NimbusSans-Regular.otf lilyjazz-18.otf texgyreschola-bolditalic.otf emmentaler-11.otf lilyjazz-20.otf texgyreschola-italic.otf emmentaler-13.otf lilyjazz-23.otf texgyreschola-regular.otf LilyPond.app/Contents/Resources/share/lilypond/current/fonts/svg: emmentaler-11.svg emmentaler-18.woff lilyjazz-11.svg lilyjazz-18.woff emmentaler-11.woff emmentaler-20.svg lilyjazz-11.woff lilyjazz-20.svg emmentaler-13.svg emmentaler-20.woff lilyjazz-13.svg lilyjazz-20.woff emmentaler-13.woff emmentaler-23.svg lilyjazz-13.woff lilyjazz-23.svg emmentaler-14.svg emmentaler-23.woff lilyjazz-14.svg lilyjazz-23.woff emmentaler-14.woff emmentaler-26.svg lilyjazz-14.woff lilyjazz-26.svg emmentaler-16.svg emmentaler-26.woff lilyjazz-16.svg lilyjazz-26.woff emmentaler-16.woff emmentaler-brace.svglilyjazz-16.woff lilyjazz-brace.svg emmentaler-18.svg emmentaler-brace.woff lilyjazz-18.svg lilyjazz-brace.woff JM > Le 17 avr. 2020 à 22:55, Robin Bannister a écrit : > > Jeff Knox wrote: > >> I chose these locations because the error message i get on compiling a >> simple .ly file gives them as "search paths" (among others). Obviously, the >> wrong locations as I get a message: "cannot find file: 'lily jazz.ily" > > > Somewhere near the start of your .ly file you should have the line > > \include "lilyjazz.ily" > > The filename has no spaces in it, has it? > > > Cheers, > Robin > > > > >
Re: lily jazz
Jeff Knox wrote: I chose these locations because the error message i get on compiling a simple .ly file gives them as "search paths" (among others). Obviously, the wrong locations as I get a message: "cannot find file: 'lily jazz.ily" Somewhere near the start of your .ly file you should have the line \include "lilyjazz.ily" The filename has no spaces in it, has it? Cheers, Robin
lily jazz
Hello All: I recently installed LilyPond 2.20.0 and it seems to be working well with the default font. However, I'd like to use the lily jazz and chord fonts and style sheet and have downloaded the .otf files and .ily files to do so ... but where do they go? I put the otf files here: Applications/LilyPond.app/Contents/Resources/share/lilypond/current/fonts/otf and the ily files here: Applications/LilyPond.app/Contents/Resources/share/lilypond/current/ly I chose these locations because the error message i get on compiling a simple .ly file gives them as "search paths" (among others). Obviously, the wrong locations as I get a message: "cannot find file: 'lily jazz.ily" Nice that LilyPond is robust enough to spit out the pdf in default font, as if to say: "just use the fonts everybody else uses kid, everything will be OK". using a Mac BTW. Curious that the archives show no discussion after 2014? Any help? Regards, JeffK
Windows Installer (was Re: [Frescobaldi] ANN: Frescobaldi 3.1.2)
and thanks to Jörg Hoffmann, the Windows installer is only now too! All the best! Wilbert -- Wilbert Berendsen (www.wilbertberendsen.nl)
Re: Warning on missing fonts
On Fri 17 Apr 2020 at 22:32:47 (+1000), Andrew Bernard wrote: > My memory may be faulty but I thought lilypond when compiling reports > on missing fonts. Version 2.20.0 does not. Is there a way to enable > this instaed of only silently substituting (which sometimes I don't > notice when in a hurry). Not being conversant with font handling, I can only suggest a workaround, which is to add a call of pdffonts at the end of your lilypond script¹: $ pdffonts turkey-carol/vocal.pdf name type encoding emb sub uni object ID --- --- --- - XGQZVR+Emmentaler-14 Type 1C Custom yes yes no 16 0 TZUBJS+Emmentaler-16 Type 1C Custom yes yes yes 12 0 DRGFSU+TeXGyreSchola-BoldType 1C WinAnsi yes yes no 8 0 HKSZJO+TeXGyreSchola-Italic Type 1C WinAnsi yes yes no 14 0 SDCKJA+TeXGyreSchola-Regular Type 1C Custom yes yes yes 10 0 OOJTOW+Emmentaler-11 Type 1C Custom yes yes no 28 0 $ … piped into grep -v to eliminate fonts which you use/know about (which would be all of them here): $ grep -v -e '^name ' -e '^-' -e 'Emmentaler-1[146]' -e 'TeXGyreSchola-Bold' -e 'TeXGyreSchola-Italic' -e 'TeXGyreSchola-Regular' Typically, one would use a file for the numerous patterns: $ pdffonts turkey-carol/vocal.pdf | grep -v -f some-file $ cat some-file ^name ^- Emmentaler-1[146] TeXGyreSchola-Bold TeXGyreSchola-Italic TeXGyreSchola-Regular $ … so any output would be fonts to suspect of being substitutes (or else forgotten fonts, which you could add to some-file). ¹ I squeezed the spacing to shorten the lines. Cheers, David.
Manual in the terminal
Hi all, I know you can access to the manual page inside a terminal with "info lilypond", but I was wondering if there was also a similar option available to access the "internal documentation", without having an access to the internet and without having to download the pdf page? It would be so helpful to do something like "lilypond --internal | grep Slurs" which will show me instantly the options available! -- Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html
Re: Alignment issues of Time signature above the staff
Hi Aaron, I've looked through the scheme code, and it doesn't seem like there is a variable that controls how much horizontal space is given to the other staves. So I wonder whether using a custom time signature engraver helps. Due to a problem with the format in which I replied e-mails, I apologize for the messy thread. If you are interested, please have a look at the attached file which summarizes all the problems I have come across with. Thanks, Leo \version "2.19.0" %% Ported from time-signature-engraver.cc: #(define (Time_signature_engraver_scm context) (let ((time-signature #f) (last-time-fraction #f) (time-cause '())) (define (make-time-signature engraver) (let ((time-fraction (ly:context-property context 'timeSignatureFraction))) (and (pair? time-fraction) (not (eq? time-fraction last-time-fraction)) (begin (set! time-signature (ly:engraver-make-grob engraver 'TimeSignature time-cause)) (ly:grob-set-property! time-signature 'fraction time-fraction) (or last-time-fraction (ly:grob-set-property! time-signature 'break-visibility (ly:context-property context 'initialTimeSignatureVisibility))) (let ((denom (cdr time-fraction))) (or (eqv? 1 (logcount denom)) (ly:event-warning (ly:grob-property time-signature 'cause) "strange time signature found: ~a/~a" (car time-fraction) denom))) (set! last-time-fraction time-fraction) (make-engraver (listeners ((time-signature-event engraver event) (set! time-cause event))) ((process-music engraver) (or (ly:grob? time-signature) (make-time-signature engraver))) ((stop-translation-timestep engraver) (and (ly:grob? time-signature) (ly:prob? time-cause) (let ((measure-position (ly:context-property context 'measurePosition)) (partial-busy (ly:context-property context 'partial-busy #f))) (and (ly:moment? measure-position) (< 0 (ly:moment-main measure-position)) (not partial-busy) (ly:event-warning (ly:grob-property time-signature 'cause) "mid-measure time signature without \\partial" (set! time-signature #f) (set! time-cause '()) timeSignatures = { \tempo 4 = 80 \time 4/4 s1 \time 3/8 s4. \time 3/4 s2. \time 4/4 s1 \time 2/4 \acciaccatura s8 s2} \score { \layout { \context { \Score \override MetronomeMark.break-align-symbols = #'(clef time-signature) \remove "Bar_number_engraver" } \context { \Staff \override TimeSignature.stencil = #(lambda (grob) (grob-interpret-markup grob (markup ""))) \override MultiMeasureRest.spacing-pair = #'(clef . staff-bar) %\remove "Time_signature_engraver" } \context { \Score } } << \new Dynamics \with { \consists \Time_signature_engraver_scm \consists "Axis_group_engraver" \override TimeSignature.font-size = #8 \override TimeSignature.break-align-symbol = #'staff-bar \override TimeSignature.X-offset = #ly:self-alignment-interface::x-aligned-on-self \override TimeSignature.self-alignment-X = #LEFT \numericTimeSignature } { \timeSignatures } \new StaffGroup \with {} << \new Staff \with { \consists "Bar_number_engraver" } \relative c' { \textLengthOn \time 4/4 c4 ( _\markup \column { "â Objects failed to appear" "below the time signature" "when using \\textLengthOn" } \textLengthOff d4 e4 f4 ) \time 3/8 a'4 ( g8 ) \time 3/4 R2. \time 4/4 c1 \time 2/4 a8 ^\markup \column { "â Time signature appear twice" "when one staff has a grace note" "as the first note in a bar" } g8 f8 e8 } \new Staff \relative c' { \time 4/4 R1 \time 3/8 R4. \clef bass \time 3/4 a,2. \> \startTextSpan \break \time 4/4 c2 _\markup \column { " " "â" "Harpin stops below the time signature" } ^\markup \column { "TextSpanner stops below the time signature" "â" } e2 \! \stopTextSpan \clef treble \time 2/4 \acciaccatura f'8 a8 g8 f8 e8 } \new Staff \relative c' { \clef bass \time 4/4 R1 \time 3/8
Warning on missing fonts
My memory may be faulty but I thought lilypond when compiling reports on missing fonts. Version 2.20.0 does not. Is there a way to enable this instaed of only silently substituting (which sometimes I don't notice when in a hurry).
Re: Access Clef during after-line-breaking of ClefModifier
Hi Aaron, thanks a lot. This line was what I was looking for (ly:grob-parent grob X) Cheers, Joram
Re: eartraining with lilypond?
On Thu, 2020-04-16 at 23:40 +0200, Stefan Thomas wrote: > Dear Richard, > thanks for the hint! I didn't know that one can play games with > Denemo. Well, not only can you play games with Denemo, but you can write them too, or modify existing ones to suit your needs. To do that you get the script into the Scheme Window (right-click on the game menu item), modify it and save it (as a new game possibly), again by right-clicking on the menu item. Richard > > Am Do., 16. Apr. 2020 um 13:29 Uhr schrieb Richard Shann ann.plus.com>: > > On Thu, 2020-04-16 at 12:04 +0200, Stefan Thomas wrote: > > > Dear community, > > > has someone experiences and/or ideas for using lilypond for > > > eartraining-purposes? > > Denemo (a graphical front end for LilyPond) has various educational > > games. One I added recently works by playing a few notes at random > > from > > a bar of music and the waiting for you to play the last played note > > on > > your MIDI keyboard. The idea is that you create a bar of music with > > a > > selection of notes you want to practice and then run the game on > > that. > > Some of the older games play intervals and ask you to name them, > > etc. > > Not really anything to do with LilyPond though... > > > > Richard Shann > >