Re: Create custom arpeggio-like engraver

2021-11-21 Thread Dimitris Marinakis
Hi Lukas, Sorry for the confusion. I'll try to explain it better. I avoid overriding the default engravers because I utilise many of them at the same time attached to the same note or context. I cannot afford to modify the default arpeggios because I try to implement things with a bit more

Re: Help

2021-11-21 Thread Thomas Morley
Am So., 21. Nov. 2021 um 01:58 Uhr schrieb Leonid Hrabovsky : > > Hi Thomas, here is my attempt to make a new notehead out of the grob > neomensural94 - > > \version "2.20.0" > \language "english" > >\score { > \new Staff { > > MyNoteHeads = \override NoteHead.stencil = \musiglyph >

Re: Create custom arpeggio-like engraver

2021-11-21 Thread Jean Abou Samra
Le 17/11/2021 à 20:50, Dimitris Marinakis a écrit : I need a generic engraver that works similar to the default arpeggio one but I don't want to override the arpeggio engraver or any other default ones in case I need to have multiple events simultaneously. I saw a similar thread with a

Re: "abbreviations" as found in a Rubanks Intermediate Method book

2021-11-21 Thread David Kastrup
Kenneth Wolcott writes: > Hi Carl; > > When I try this tremolo with the colons, it displays fine, but midi > sounds as if there is no abbreviation. Of course, I see that the colon > syntax is not supported for midi with Lilypond. > > So I try the same with the \repeat tremolo syntax, it

Re: Exclude staves from keep-alive-together

2021-11-21 Thread Jean Abou Samra
Le 20/11/2021 à 11:54, David Stephen Grant a écrit : Hi all, Can individual staves in eg. a StaffGroup with \consists "Keep_alive_together_engraver" be excluded from keep-alive-together? I'm aware of VerticalAxisGroup.remove-layer which possibly does what I need it to, but this morning I

Re: Fwd: Help

2021-11-21 Thread Jean Abou Samra
Le 21/11/2021 à 15:50, Leonid Hrabovsky a écrit : Jean, there is the log of my attempt to do your code - # -*-compilation-*- Processing `C:/Users/LH/Documents/Scores/LilyPond Scores/Hrabovsky Lines Test-1.ly' Parsing... error: program too old: 2.20.0 (file requires: 2.22.1) Finding the ideal

Re: Fwd: Help

2021-11-21 Thread Jean Abou Samra
Hi Leonid, Regarding your last request: Le 20/11/2021 à 03:17, Leonid Hrabovsky a écrit : 3) I see (=guess) that tweaking with numerical data of the /squiggleLine/ (in order to enlarge it strictly proportionally when preserving its angles and/or curvatures) will create the two types of

Re: Create custom arpeggio-like engraver

2021-11-21 Thread Lukas-Fabian Moser
Hi Dimitris, Am 17.11.21 um 20:50 schrieb Dimitris Marinakis: I need a generic engraver that works similar to the default arpeggio one but I don't want to override the arpeggio engraver or any other default ones in case I need to have multiple events simultaneously. I'm not sure I understand

Re: Create custom arpeggio-like engraver

2021-11-21 Thread Dimitris Marinakis
Wow thanks Jean! This is really helpful. I'll study the code. A lot of useful stuff in it. I noticed the interesting squiggle-line-markup. I hope we eventually see more advanced options for spanners in the future. e.g. patterns of dots and dashes or segmented lines that can have angles between

Re: Create custom arpeggio-like engraver

2021-11-21 Thread Jean Abou Samra
Le 21/11/2021 à 14:48, Dimitris Marinakis a écrit : I noticed the interesting squiggle-line-markup. I hope we eventually see more advanced options for spanners in the future. e.g. patterns of dots and dashes or segmented lines that can have angles between the segments. Really excited with the

Re: Help

2021-11-21 Thread Thomas Morley
Again, please keep the list cc'ed. I don't like private mails for LilyPond-support. For your pupose, as far as I understand it, I'd go for a different coding: Basically, combine two circles to build the new NoteHead. You surely want to adjust 'stem-attachment as well: { \override

Re: "abbreviations" as found in a Rubanks Intermediate Method book

2021-11-21 Thread Thomas Morley
Am So., 21. Nov. 2021 um 07:21 Uhr schrieb Kenneth Wolcott : > > Hi Carl; > > When I try this tremolo with the colons, it displays fine, but midi > sounds as if there is no abbreviation. Of course, I see that the colon > syntax is not supported for midi with Lilypond. > > So I try the same

Re: Help

2021-11-21 Thread Thomas Morley
Am Sa., 20. Nov. 2021 um 19:55 Uhr schrieb Leonid Hrabovsky : > > Thomas, > And might DurationLine continue not only individual notes, but framed groups > of notes, too? I just need the zigzag line you introduced, but increased in > vertical size to, say triple size - is it possible to get by

Re: Chromatic clashes

2021-11-21 Thread Thomas Morley
Am So., 14. Nov. 2021 um 18:07 Uhr schrieb Dimitris Marinakis : > > First let's look at a few sources that show the expected behaviour. I have > attached an example from Gould pg.71 and the output from Dorico and last the > output from your code. The Gould-excerpt is cut off, thus I can't view

Re: Fwd: Help

2021-11-21 Thread Leonid Hrabovsky
Thanks! Mille merci, Jean, I will try it after implementing the corrections from Thomas Morley letter. Will keep in touch with you. Best, *Леонід - Leonid* On Sun, Nov 21, 2021 at 5:59 AM Jean Abou Samra wrote: > Hi Leonid, > > Regarding your last request: > > Le 20/11/2021 à 03:17, Leonid

Re: Fwd: Help

2021-11-21 Thread Leonid Hrabovsky
Thank you! Sorry for omitting the option of answer to Mailing List - bit I was sure that it is going by default... will look at it. *Леонід - Leonid* On Sun, Nov 21, 2021 at 10:52 AM Jean Abou Samra wrote: > Le 21/11/2021 à 15:50, Leonid Hrabovsky a écrit : > > Jean, there is the log of my

Re: "abbreviations" as found in a Rubanks Intermediate Method book

2021-11-21 Thread Kenneth Wolcott
Thank you all for additional information. I thought I was missing something very simple. On Sun, Nov 21, 2021 at 2:17 AM David Kastrup wrote: > > Kenneth Wolcott writes: > > > Hi Carl; > > > > When I try this tremolo with the colons, it displays fine, but midi > > sounds as if there is no

Re: Version 2.22.1 problem

2021-11-21 Thread Leonid Hrabovsky
Hi colleagues, - who of you, if anybody, uses Windows version 2.22.1 ? There are two .dll missing and install fails so far. *Леонід - Leonid* On Sun, Nov 21, 2021 at 12:10 PM Thomas Morley wrote: > Am So., 21. Nov. 2021 um 17:15 Uhr schrieb Leonid Hrabovsky > : > > > > Thomas and colleagues,

Re: Version 2.22.1 problem

2021-11-21 Thread Anders Eriksson
One thing that I do that might help is NOT letting Lilypond install under Program files (x86), whichis default. I always change this to C:\Lilypond-version e.g. C:\lilypond-2-22-1 Windows has special security rules for the Program files (86) directory. Which teoretically would be satisfied by

Version 2.22.1 problem

2021-11-21 Thread Leonid Hrabovsky
Thomas and colleagues, my attempt to download new version for Windows failed - two .dll files missing (nrs. 1 & 6) and the install cannot continue. Your advices? *Леонід - Leonid*

Re: Version 2.22.1 problem

2021-11-21 Thread Leonid Hrabovsky
Ok, I will check. My Windows version is 8. The errors are: "Error opening file for writing: C:\Program Files (x86)\LilyPond\usr\ bin\libexpat-1.dll Click Abort to stop the installation, Retry to try again, or Ignore to skip this file." "Error opening file for writing: C:\Program Files

Re: Version 2.22.1 problem

2021-11-21 Thread Brian Barker
At 12:33 21/11/2021 -0500, Leonid Hrabovsky wrote: ... Windows version 2.22.1 ? There are two .dll missing and install fails so far. At 12:52 21/11/2021 -0500, Leonid Hrabovsky wrote: My Windows version is 8. (Out of support for five years or more.) The errors are: "Error opening file

Re: Check if a font is currently installed

2021-11-21 Thread Valentin Petzel
Hello Paolo, Theoretically it should be enough to check if #(ly:font-config-get-font-file font-name) is false, but at least on my system this returns just some arbitrary but fixed font file if the font is not found. It should definitely not behave this way, gotta look into this. Cheers,

Re: Version 2.22.1 problem

2021-11-21 Thread Leonid Hrabovsky
Thanks Brian, I will immediately try this. *Леонід - Leonid* On Sun, Nov 21, 2021 at 1:21 PM Brian Barker wrote: > At 12:33 21/11/2021 -0500, Leonid Hrabovsky wrote: > >... Windows version 2.22.1 ? There are two .dll missing and install > >fails so far. > > At 12:52 21/11/2021 -0500, Leonid

Re: Version 2.22.1 problem

2021-11-21 Thread Leonid Hrabovsky
Unfortunately, Run as an administrator option doesn't help to install - the .dlls are missing *Леонід - Leonid* On Sun, Nov 21, 2021 at 3:21 PM Leonid Hrabovsky wrote: > Thanks Brian, I will immediately try this. > > > *Леонід - Leonid* > > > On Sun, Nov 21, 2021 at 1:21 PM Brian Barker >

Re: Version 2.22.1 problem

2021-11-21 Thread Leonid Hrabovsky
Unfortunately disabling Avast didn't help this time - these two .dlls are missing and install stops... *Леонід - Leonid* On Sun, Nov 21, 2021 at 12:56 PM Leonid Hrabovsky wrote: > Thank you, Anders, for that suggestion! I could guess it myself, - in the > past, it happened several times that

Re: Check if a font is currently installed

2021-11-21 Thread David Wright
On Sun 21 Nov 2021 at 19:12:33 (+0100), Paolo Prete wrote: > On Sun, Nov 21, 2021 at 6:37 PM David Wright wrote: > > On Sun 21 Nov 2021 at 17:29:37 (+0100), Paolo Prete wrote: > > > > > > it would be useful to have a functions that checks if a font with a > > > specific font-name is currently

Re: Check if a font is currently installed

2021-11-21 Thread Paolo Prete
What I mean is that a font-name attribute can be in the form: "Bitstream Vera Sans, sans-serif, Oblique Bold" If you want to check that the font-name is accepted, you have to inspect the output of the list and then see if it can be a valid combination of font + style attributes (see:

Re: Check if a font is currently installed

2021-11-21 Thread Paolo Prete
Thank you Valentin, a fix for this would be very useful. Best, Paolo On Sun, Nov 21, 2021 at 8:52 PM Valentin Petzel wrote: > Hello Paolo, > > Theoretically it should be enough to check if > #(ly:font-config-get-font-file > font-name) is false, but at least on my system this returns just some >

Re: Check if a font is currently installed

2021-11-21 Thread David Wright
On Sun 21 Nov 2021 at 17:29:37 (+0100), Paolo Prete wrote: > > it would be useful to have a functions that checks if a font with a > specific font-name is currently installed, so to have the produced score > without visual errors that are not always easy to detect. Would the list produced by

Re: Version 2.22.1 problem

2021-11-21 Thread Jean Abou Samra
Le 21/11/2021 à 18:33, Leonid Hrabovsky a écrit : Hi colleagues, - who of you, if anybody, uses Windows version 2.22.1 ? There are two .dll missing and install fails so far. I run Ubuntu and cannot test anything either. Could you paste the precise error message though? That could give a clue.

Re: Version 2.22.1 problem

2021-11-21 Thread Hans Aikema
I just installed it in my window (32 bit, Windows 10) without any issue. So must be something specific to your environment that makes it break. There’s no DLL missing in the installer, at least not for my install. > On 21 Nov 2021, at 18:33, Leonid Hrabovsky wrote: > > Hi colleagues, - who

Re: Version 2.22.1 problem

2021-11-21 Thread Leonid Hrabovsky
Thank you, Anders, for that suggestion! I could guess it myself, - in the past, it happened several times that just my anti-virus Avast prevented some .dlls from downloading! Going to disable Avast for these minutes needed... Best, *Леонід - Leonid* On Sun, Nov 21, 2021 at 12:50 PM Anders

Re: Check if a font is currently installed

2021-11-21 Thread Paolo Prete
Sorry, it doesn't help. It just shows a long list of the available fonts. Not what I was searching for... Best, P On Sun, Nov 21, 2021 at 6:37 PM David Wright wrote: > On Sun 21 Nov 2021 at 17:29:37 (+0100), Paolo Prete wrote: > > > > it would be useful to have a functions that checks if a font

Re: Check if a font is currently installed

2021-11-21 Thread Valentin Petzel
Hello Paolo, After looking into this it seems like this is intended behaviour for font- config. Basically this does not perform an exact match, but calculates some distance and returns the font with best distance. Maybe it would be somehow possible to get that distance and decide upon it?

print log content to a pdf

2021-11-21 Thread ming tsang
Dear lilyponders, The following lilypond code #(ly:font-config-display-fonts) generate a log output. Is it possible to generate a pdf by lilypond? Shalom, yMing. -- ming (lyndon) tsang

Check if a font is currently installed

2021-11-21 Thread Paolo Prete
Hello, it would be useful to have a functions that checks if a font with a specific font-name is currently installed, so to have the produced score without visual errors that are not always easy to detect. I searched a bit in the list of the scheme helper functions, and could find only:

Re: Version 2.22.1 problem

2021-11-21 Thread Thomas Morley
Am So., 21. Nov. 2021 um 17:15 Uhr schrieb Leonid Hrabovsky : > > Thomas and colleagues, > my attempt to download new version for Windows failed - two .dll files > missing (nrs. 1 & 6) and the install cannot continue. Your advices? > > Леонід - Leonid No clue, I'm on Linux Cheers, Harm

Re: Version 2.22.1 problem

2021-11-21 Thread Anders Eriksson
I also have 2.22.1 installed and working I would look at the ant-virus software and if it blocks the dll's // Anders On 2021-11-21 18:46, Hans Aikema wrote: I just installed it in my window (32 bit, Windows 10) without any issue. So must be something specific to your environment that makes it

ANN: Pygments support for LilyPond

2021-11-21 Thread Jean Abou Samra
Pygments, a syntax highlighter written in Python, just received support for LilyPond. This means that, using the latest version of Pygments, you can get highlighted LilyPond source in LaTeX documents, Sphinx documentation, Wordpress sites, the output of various other tools, and any format you

Re: Version 2.22.1 problem

2021-11-21 Thread Brian Barker
At 15:32 21/11/2021 -0500, Leonid Hrabovsky wrote: Unfortunately, Run as an administrator option ... It's not necessarily sufficient to "run as *an* administrator", as you put it: you need to use "Run as administrator". ... doesn't help to install - the .dlls are missing I've still not

Dotted \markup \note - tweaking the dot position

2021-11-21 Thread Adam M. Griggs
Hello again, I'm working with version 2.23.4. Looking at the documentation for \note and \note-by-number (https://lilypond.org/doc/v2.23/Documentation/notation/music), it lists style, flag-style and font-size as overridable if I'm reading it correctly. In a dotted \markup \note, a dotted minim

Re: print log content to a pdf

2021-11-21 Thread David Wright
On Sun 21 Nov 2021 at 16:01:43 (-0500), ming tsang wrote: > The following lilypond code > > #(ly:font-config-display-fonts) > > generate a log output. > > Is it possible to generate a pdf by lilypond? $ lilypond your-fontname-generator-code.ly > fontslist $ edit fontslist (because there's

lyrics and melismas

2021-11-21 Thread Kees van den Doel
I'd like to indicate long melismas in the notes instead of counting - - - in the lyrics, but I don't want a gigantic slur showing. Is there an alternative to using () slur marks to do this? Thanks, Kees

Re: Version 2.22.1 problem

2021-11-21 Thread Helge Kruse
On 21.11.2021 18:52, Leonid Hrabovsky wrote: Ok, I will check. My Windows version is 8. The errors are: "Error opening file for writing: C:\Program Files (x86)\LilyPond\usr\ bin\libexpat-1.dll Ther is a space in front of the "bin" in the directory name. That's strange. If this is not a typo

Re: lyrics and melismas

2021-11-21 Thread Kees van den Doel
Darn, of course I find it in the docs as soon as I ask: melisma \melismaEnd On Sun, Nov 21, 2021 at 9:59 PM Kees van den Doel wrote: > I'd like to indicate long melismas in the notes instead of counting - - - > in the lyrics, but I don't want a gigantic slur showing. > Is there an