Re: Vertically align objects of same class?

2024-06-25 Thread Werner LEMBERG
> Knute, to your point I think that the Dynamics context, while > slightly better than lyricMode for this use case still has a similar > issue given that the project I'm working on is of considerable size > and would require a significant refactor. Feasible but I'd like to > avoid doing this if

Re: Vertically align objects of same class?

2024-06-25 Thread Werner LEMBERG
> I have a bunch of objects of the same type that I’d like to all be > aligned to the same Y-level on a per staff basis. Increase the `staff-padding` property. Werner

Re: LSR down?

2024-06-24 Thread Werner LEMBERG
>> The LSR looks like it's down. I don't know who is responsible for >> it so I thought I'd just post here. > > Thanks. I've written an e-mail to Sebastiano. And its online again. Werner

Re: LSR down?

2024-06-23 Thread Werner LEMBERG
> The LSR looks like it's down. I don't know who is responsible for > it so I thought I'd just post here. Thanks. I've written an e-mail to Sebastiano. Werner

Re: markup function accepting either markup or markup list as argument

2024-06-22 Thread Werner LEMBERG
>> I want to write a user-friendly markup command that can accept either >> a markup or a markup list as arguments. Example: >> >> ``` >> % \ornament >> \markup \ornament \number ♭ >> \musicglyph "scripts.turn" >> \number ♮ >> \markup \ornament { \number ♭

Re: markup function accepting either markup or markup list as argument

2024-06-22 Thread Werner LEMBERG
> The documentation clearly states: > > > >Arguments are distinguished according to their type: >• a markup, corresponding to type predicate ‘markup?’; >• a list of markups, corresponding to

markup function accepting either markup or markup list as argument

2024-06-22 Thread Werner LEMBERG
Folks, I would like to write a markup function that can either accept a markup or a markup list as an argument. The code below works fine, reporting ``` bar: (#) baz: 1 bar: ((#) (#)) baz: 1 ``` as expected. (The `baz` argument is inserted in the demo code to avoid interference with

Re: accessing markup properties via \tweak?

2024-06-20 Thread Werner LEMBERG
>> Ah, yes, I forgot that it is possible to extend the `props` alist. >> Thanks a lot! > > This is not exactly extending the probs, but passing additional > parameters in details. Yep, I answered too quickly and was too lazy to correct myself :-) > It would be great to generally have a grob

Re: accessing markup properties via \tweak?

2024-06-20 Thread Werner LEMBERG
>> In the example below, I want to set the markup property `bar` as a >> tweak to influence `\foo`. > > you could of course do something like > > %%% > #(define-markup-command (foo-markup layout props) () >#:properties ((bar #f) (details '())) >(interpret-markup > layout props >

Re: accessing markup properties via \tweak?

2024-06-20 Thread Werner LEMBERG
Hello David, >> is it possible to access markup properties like `baseline-skip` via >> \tweak? > > Have you tried? Well, yes, but ... > Check out the following example where I just add a few lines in > front of what you wrote: ... it didn't occur to me to go this route. Thanks a lot!

accessing markup properties via \tweak?

2024-06-19 Thread Werner LEMBERG
Folks, is it possible to access markup properties like `baseline-skip` via \tweak? It is often necessary to define a markup command that gets in turn wrapped into a music function, and for such situations a tweak-like command would be quite handy. In the example below, I want to set the

Re: Spanner start and end in different voices or hack

2024-06-13 Thread Werner LEMBERG
> I’d like for the bracket to extend to the end of the bar. [...] If you use `<< { } // { } >>`, the voices are using names '0', '1', etc. However, if you use `<< { } \new Voice { } >>`, the name of the first voice in `<<>>` doesn't change. This might lead to the following solution. ```

Re: hairpin over bar line and over end of line

2024-06-11 Thread Werner LEMBERG
> >> It's in the "expressive marks" snippets, though I admit I > >> couldn't have found it myself without searching the docs source > >> code. > > > > Could you suggest index entries that I can add to the NR? > > Thank you for following up on this. Paul, the question is addressed to you, too

Re: hairpin over bar line and over end of line

2024-06-11 Thread Werner LEMBERG
>> How would I have found that in the documentation? > > It's in the "expressive marks" snippets, though I admit I couldn't > have found it myself without searching the docs source code. Could you suggest index entries that I can add to the NR? Werner

Re: search term

2024-06-10 Thread Werner LEMBERG
> Which term in the notation index would take me to instructions for > > Cresc. - - -- -- ff Have you *really* tried to search in the index of the Notation Reference? There is an entry for a keyword called `\cresc` (properly sorted as 'cresc'). If you follow that link,

Re: color text in markup

2024-06-10 Thread Werner LEMBERG
> I really need to be able to make the first syllable of a word, the > beginning of a sentence of a song or a romance or a psalm in red or > any other color for my next sets of notes. It is very much requested > that you teach me how to do this. As the specificity of my set will > often meet

Re: color text in markup

2024-06-09 Thread Werner LEMBERG
> Tell me how to make the first letter in the \markup department red. > > d4^\markup { "Tell me how to make" } d4 Try ``` { d'4^\markup \concat { \with-color #red T ell " me how to make" } d'4 } ``` Werner

Re: Regular Polygons

2024-06-08 Thread Werner LEMBERG
> Thankfully, it should be trivial to make the changes. The question > now is what reference glyph is the best? If you have an argument, the shape should enclose it symmetrically (more or less) – it is up to you how sophisticated the algorithm is to do that in the visually most pleasing way

Re: Regular Polygons

2024-06-08 Thread Werner LEMBERG
> I was playing around with drawing regular polygons, which led to > creating a new markup command with several configurable options. > (Some of these options are inherited via the built-in \polygon > command.) > > There might be a few things to tighten up, but I believe it is in a > pretty

Re: Position of nested tuplet brackets

2024-06-03 Thread Werner LEMBERG
> It seems that the positions of nested tuplet brackets can only be changed > separately if the inner n-tuplet brackets do not start on the downbeat. > > Take this as an example: > > \version "2.25.2" > > { > \once \override TupletBracket.positions = #'(6 . 6) > \tuplet 5/4 { c'4 c' c' c'

Re: how to draw lines independent from the notes

2024-06-02 Thread Werner LEMBERG
> How can I draw a vertical (or even diagonal) line independently > positioned from the notes in the score, that can span across staves, > as shown in the figure? The question is formulated in a very broad way. Assuming that you want to draw something completely independent of the score, you

Re: Graphical markup between objects?

2024-05-29 Thread Werner LEMBERG
> I was looking for something like "shift line" or "line between > fingerings", the latter of which seems to point to the correct page. https://gitlab.com/lilypond/lilypond/-/merge_requests/2357 Werner

Re: Graphical markup between objects?

2024-05-28 Thread Werner LEMBERG
> > Before you go create something yourself, have you looked at what > > LilyPond supports [1]? There are built-in options to change the > > style of the FingerGlideSpanner. Your "V"-bend shape probably > > could be added as a new style. > > This is exactly what I was looking for! I was

Re: Removing the change clef in a first ending (volta 1)

2024-05-21 Thread Werner LEMBERG
>> This information should probably be added to the NR, together with >> an example. Can you prepare a patch (or even an MR) or formulate >> something that I can then massage accordingly? > > Actually this is already in NR 1.1.3 Clef (not specific to volta, > but actually Lily's default kind of

Re: Removing the change clef in a first ending (volta 1)

2024-05-21 Thread Werner LEMBERG
> > is there a way to get rid of the bass change clef indicator in the > > first ending? > > \once \set Staff.explicitClefVisibility = #end-of-line-invisible > before your \break at the end of volta 1. This information should probably be added to the NR, together with an example. Can you

Re: vertical spacing between systems for only part of a score

2024-05-21 Thread Werner LEMBERG
[Please always use 'reply to all'; I've now CCed the mailing list again.] > >>> Here, I want to make 7 lines spread out to fill the entire last > >>> page, but leave the other pages alone. > > > > Ah, I missed 'last page'. Perhaps all you need is > > > > ``` > > \paper { > >

Re: Stem disappearing

2024-05-21 Thread Werner LEMBERG
>> I am typesetting a piece and the stem in the first e quarter note >> disappears when I add \slurUp upper notes. Is this a bug? > > This is the default behaviour of LilyPond: unify stems. What you need > to do is to tell LilyPond not to use `\voiceOne` (up) and `\voiceTwo` > (down) but

Re: Stem disappearing

2024-05-21 Thread Werner LEMBERG
> I am typesetting a piece and the stem in the first e quarter note > disappears when I add \slurUp upper notes. Is this a bug? This is the default behaviour of LilyPond: unify stems. What you need to do is to tell LilyPond not to use `\voiceOne` (up) and `\voiceTwo` (down) but rather

Re: vertical spacing between systems for only part of a score

2024-05-21 Thread Werner LEMBERG
>> Here, I want to make 7 lines spread out to fill the entire last >> page, but leave the other pages alone. Ah, I missed 'last page'. Perhaps all you need is ``` \paper { ragged-last-bottom = ##f } ``` Werner

Re: vertical spacing between systems for only part of a score

2024-05-21 Thread Werner LEMBERG
> I would like to increase the vertical distance between systems for a > specific area in a score. > > I know how to change vertical distance by using the \paper > {system-system etc... route, but that governs the entire score. Here, > I want to make 7 lines spread out to fill the entire last

Re: Moving dynamics onto the staff

2024-05-21 Thread Werner LEMBERG
> Interestingly, the following does *not* work, [...] It's not clear to me how the end result should look like. > The dynamics context doesn't know that there's a staff above it > and/ot the piano staff forbids the dynamics from encroaching on the > staff above. You want to position the 'f'

Re: Moving dynamics onto the staff

2024-05-20 Thread Werner LEMBERG
>> > So why would overriding the dynamic line spanner's >> > outside-staff-priority change where the forte goes? Isn't it >> > DynamicText? If anyone can clear this up for me, I would be very >> > appreciative. >> >> When there are consecutive dynamics like \p \< ... \f \> ... \pp, >> they need

Re: Scoop (jazz notation)

2024-05-14 Thread Werner LEMBERG
> I agree with Tim. It's one of those frequently used jazz-isms that > lilypond doesn't handle very elegantly. What's the procedure for > submitting a feature request like this? You might expand https://gitlab.com/lilypond/lilypond/-/issues/529 with comments – and images of professionally

Re: strange chord

2024-05-12 Thread Werner LEMBERG
> I mean… technically, it’s correct… Thanks. > but yuck. :-) > If I were customizing the name, I would probably have it say > Em(addb4). At the very least it should say Emsusb4. As chord names noob I have no opinion to that. I just wanted to ensure that MR !2335 produces correct results,

Re: strange chord

2024-05-12 Thread Werner LEMBERG
> I tried the following > > ``` > \version "2.25.16" > > chord = \chordmode { c4:6-^1 } > > << > \new ChordNames \chord > \chordmode { \chord } > >> > ``` > > and got the attached result. The displayed chord name looks weird > to me, but I'm no expert for Jazz chords... Is it correct? If

strange chord

2024-05-12 Thread Werner LEMBERG
I tried the following ``` \version "2.25.16" chord = \chordmode { c4:6-^1 } << \new ChordNames \chord \chordmode { \chord } >> ``` and got the attached result. The displayed chord name looks weird to me, but I'm no expert for Jazz chords... Is it correct? If not, how should it be

Re: Tie between staves of a PianoStaff

2024-05-09 Thread Werner LEMBERG
> Thanks for your contributions. They inspired me to an easy bypass: > ties may not work between staves, but slurs do, and the difference > is not really conspicuous. [...] By the way, the original problem is an ooold bug: https://gitlab.com/lilypond/lilypond/-/issues/555 Werner

Re: how difficult would it be to have “auto-correct spacing” (even for just a single measure)?

2024-05-04 Thread Werner LEMBERG
>> You are aware of https://lsr.di.unimi.it/LSR/Item?id=1154 ? > > Oh! I vaguely recall that. Thanks for the reminder. > > I believe I applied it to my score, but it didn‘t make a change in > m7. It might be because of the accidentals…? (See modified snippet > acting as MWE, below.)

Re: how difficult would it be to have “auto-correct spacing” (even for just a single measure)?

2024-05-04 Thread Werner LEMBERG
> If you look at the first measure of the third system, you can see > that the note spacing is distorted by various things (lyrics, > accidentals, etc.). But clearly there’s more than enough horizontal > room to make those eighth notes absolutely even — in fact, that kind > of thing is what the

Re: Frescobaldi... panic alternatives?

2024-05-01 Thread Werner LEMBERG
>> Maybe one of you two can provide some text for >> >>https://lilypond.org/doc/v2.24/Documentation/web/easier-editing > > It happens that my first contribution to the Lilypond documentation > was a rewrite of the Easier Editing section, some 14 years ago or > so. Aaah :-) > If either or

Re: Frescobaldi... panic alternatives?

2024-05-01 Thread Werner LEMBERG
> Yes, I also use that combo. It's fantastic, but you'd have to be > willing to invest some time to climb the admittedly steep learning > curve of (neo)vim. However, it's a time investment that pays off > massively, so I recommend it heartily! Maybe one of you two can provide some text for

Re: Frescobaldi ... panic alternatives?

2024-04-29 Thread Werner LEMBERG
> With not too much work, you could get emacs to do all of that I > think. Well, it would be great if someone could convert the LilyPond mode of Emacs so that it uses the new 'tree-sitter' interface: https://tree-sitter.github.io/tree-sitter/ (look at the 'Playground' link to get a feeling

Re: Transparent box around notes

2024-04-29 Thread Werner LEMBERG
> [...] the snippet is _very_ useful, and certainly much easier to use > than the lsr snippet. Please submit the example as a new LSR snippet. Note that we already have a (slightly different) issue for that: https://gitlab.com/lilypond/lilypond/-/issues/833 It would certainly help if you

Re: PianoPedalBracket.to-barline doesn't always work as expected

2024-04-12 Thread Werner LEMBERG
> Might I suggest that “to-barline” is potentially > misleading/confusing…? > > On the other hand: > > end-at-barline, for a pedal coded for release on a note **just > after** a barline, might be more clearly descriptive of the > current behaviour; and > > extend-to-barline, for

Re: Overriding default text of \f, \p, etc.

2024-04-12 Thread Werner LEMBERG
> However, trying to define f = #(make-dynamic-script ...) doesn't work > because Lilypond interprets f as a note-name. Try ``` "f" = #(make-dynamic-script ...) ``` Werner

Re: Installing 2.24.1

2024-04-07 Thread Werner LEMBERG
>> There is a web page that deals with command-line installation, if >> that's what you want: >> >> https://lilypond.org/doc/v2.24/Documentation/learning/command-line-setup >> > Thanks. So basically "yes", I guessed as much. > > I just need to re-associate the new version of lilypond with .ly >

Re: tremoli under beam

2024-03-30 Thread Werner LEMBERG
Don't you want "\repeat tremolo 2" instead of 4? >> >> Thanks, yes, of course, but the result is still not correct, as >> you've found out. > > Very much not correct! This seems like a bug, no? Let's say it's not supported right now. Filed as

Re: tremoli under beam

2024-03-30 Thread Werner LEMBERG
>>> \repeat tremolo 4 { e32[ c! } >> >> >> Don't you want "\repeat tremolo 2" instead of 4? Thanks, yes, of course, but the result is still not correct, as you've found out. Werner

tremoli under beam

2024-03-30 Thread Werner LEMBERG
Please have a look at the attached image (from the full score of Stravinsky's Firebird, after rehearsal number 32). How do I correctly notate this in LilyPond? AFAICS, there is no real support for that – at least the 'most natural' way to notate it fails with warnings. I could only manage to

Re: a small correction in arithmetic expressions

2024-03-28 Thread Werner LEMBERG
> Here is a small correction in the documentation which does not affect > the use of Lilypond, just for the sake of correctness of the > formulas... [...] Thanks, this is now part of a merge request, see https://gitlab.com/lilypond/lilypond/-/merge_requests/2291 Werner

Re: nested \set ?

2024-03-26 Thread Werner LEMBERG
Dear Valentin and Aaron, > properties handle this by having internally not a single value, but > a list of values, and temporary overriding simply means adding to > that list. Context properties do currently not allow for this > mechanic, but we could simulate it ourselves: [...] Both of your

Re: nested \set ?

2024-03-25 Thread Werner LEMBERG
>> LilyPond provides `\temporary` and `\revert` to set a grob property >> temporarily, and afterwards the value of the grob property is the >> same as before. >> >> Is there a similar possiblity for `\set` (or something usable in >> Scheme)?  I guess not, but I couldn't find this documented >>

Re: nested \set ?

2024-03-25 Thread Werner LEMBERG
> > Yes, thanks, but this is not what I'm looking after: At the start > > of my function (created with `define-music-function`), > > `\autoBeamOff` gets called (i.e., the `autoBeaming` context > > variable is set to `##t`), and after the function returns the > > previous value of `autoBeaming`

Re: nested \set ?

2024-03-25 Thread Werner LEMBERG
>> LilyPond provides `\temporary` and `\revert` to set a grob property >> temporarily, and afterwards the value of the grob property is the >> same as before. >> >> Is there a similar possiblity for `\set` (or something usable in >> Scheme)? I guess not, but I couldn't find this documented >>

nested \set ?

2024-03-25 Thread Werner LEMBERG
LilyPond provides `\temporary` and `\revert` to set a grob property temporarily, and afterwards the value of the grob property is the same as before. Is there a similar possiblity for `\set` (or something usable in Scheme)? I guess not, but I couldn't find this documented somewhere...

Re: Compress Long Rest in Jianpu.

2024-03-24 Thread Werner LEMBERG
[Please always reply to the list!] > Sure, it looks like this > [image: image.png] > and this > [image: image.png] > > seems like it just copies the staff style and removes staff lines. OK, thanks. The un-compression of MM rests is an intentional feature of `jianpu10a.ly`. You should

Fw: Compress Long Rest in Jianpu.

2024-03-24 Thread Werner LEMBERG
[Forwarding private message to have the whole conversation in the archive.] --- Begin Message --- Sure, it looks like this [image: image.png] and this [image: image.png] seems like it just copies the staff style and removes staff lines. Windy Werner LEMBERG 于2024年3月24日周日 01:23写道: > &g

Re: Compress Long Rest in Jianpu.

2024-03-23 Thread Werner LEMBERG
> I want to display both staff and jianpu, but if I enable > \compressMMRests function, the long rests are not compressed when > engraving with jianpu. > > Jianpu support for Lilypond is from file jiapu10a.ly on > https://github.com/nybbs2003/lilypond-Jianpu . Is there any way to > patch the

Re: Control breaks in staff that I get from a variable?

2024-03-10 Thread Werner LEMBERG
>> The classic fix is >> >> << >> \new Devnull { s1*5 \break } >> \staffIGot > > This was exactly what I was after. It’s nice and simple and works > well. Thank you. > > I might wish for it being better documented. I see Devnull > documented well in the Internals Reference, but I didn’t

Re: Best way to center beam between upper/lower staff?

2024-03-08 Thread Werner LEMBERG
> I'm trying to have some notes cross from the lower staff to the > upper staff but want the beam to automatically center. In my > example this is accomplished in measure 3 with much manual work. Is > there a better way? No, there isn't – in general, how shall LilyPond know which note belongs

Re: Using old definition of bass figures for 6\\, 7\\, 9\\ ...

2024-03-06 Thread Werner LEMBERG
> adapted sample from > https://lilypond.org/doc/v2.24/Documentation/bd/lily-a6a3b6ba.ly: > > \paper{ > #(define fonts > (set-global-fonts > #:music "paganini" > )) > } > \figures { > \set figuredBassPlusDirection = #RIGHT > <7\\ 6 4 2\+> <4\+ _-> <3 5\+ 3 > <6\\ 4 3>

Re: Using old definition of bass figures for 6\\, 7\\, 9\\ ...

2024-03-06 Thread Werner LEMBERG
> The special font figures introduced with 2.24 breaks old typesets > using fonts provided by https://github.com/OpenLilyPondFonts > > Is there a way to switch to the old behaviour? Please provide a (small, working) example of the problem you encounter. Werner

Re: tied sharps after line break

2024-03-03 Thread Werner LEMBERG
> 2. LilyPond's default behaviour in this situation is (in my opinion) > sub-optimal. It's a bug known since 15 years... https://gitlab.com/lilypond/lilypond/-/issues/649 Werner

Re: Make D.S. and Coda objects RED

2024-02-29 Thread Werner LEMBERG
> I found how to color certain objects, such as with: > > \override Staff.TimeSignature.color = #(rgb-color 1 0 0) > > but I have yet to find the names of the objects I'm hoping to change. Have a look at https://lilypond.org/doc/v2.25/Documentation/ly-examples/visualindex.pdf

Re: bookOutputName seems broken in 2.25.12

2024-02-29 Thread Werner LEMBERG
> I've tried both of the methods of naming an output file in the book > environment. \bookOutputSuffix works fine. Please give complete examples – I can't reproduce the issue (with current git). I've tried ``` \book { \bookOutputName "Comin-Home-Baby_Tenor-1" { c'4 } } ``` and ```

Re: slur to middle of triplet causes warning

2024-02-02 Thread Werner LEMBERG
> I am trying to slur to the middle of a triplet, which engraves > correclty , but gives a warning. I'd like to get rid of the warning > for a clean build. > > Any solution? > >(e4 d e d | > \tuplet 3/2 {e8 d) b~} b4 r2 | Wrong syntax: Not `(e4` but `e4(`. Werner

Re: Incipit with default noteheads possible?

2024-01-24 Thread Werner LEMBERG
>> This works for the note heads, but if there happen to be >> accidentals around (in my project this is the case), they remain >> mensural style. Is there another override for this, too? > > How about this? Nice! David, what do you think about converting this code into a proper MR?

Re: Footnote separator line

2024-01-23 Thread Werner LEMBERG
>> Simply removing \fill-line will shift the line to the left margin, >> leaving the length the same. > > To my eye that looks a lot better. It's really a matter of style. For example, https://tex.stackexchange.com/questions/214644/how-to-add-a-footnote-separator-rule shows a footnote rule

Re: { } not sounding right.

2024-01-21 Thread Werner LEMBERG
> I rather thought about Lilypond being able to "look ahead|behind" > like (I imagine is working) the "Melody_Engraver" to harmonise (no > pun intended) the pitch shift up or down decision. > > \language "english" > > In my use case : > - the gqs is the note g pitched upward. > - the bqf is

Re: { } not sounding right.

2024-01-19 Thread Werner LEMBERG
> I have a branch (from a few years ago) where I changed LilyPond's MIDI > microtonality from using Pitch Bends (which is a bad idea when using > chords) to using MIDI 1.0 tuning information. This works fine IIRC as > long as you don't construct chords containing really close notes > (e.g. c and

Re: { } not sounding right.

2024-01-18 Thread Werner LEMBERG
> Try this with and without the \new Voice commented. > > \version "2.25.12" > > \language "english" > > \score { > %\new Voice > << > {bf bqf bf} > {g gqs g} > >> > \layout {} > \midi {} > } > > Obviously you would need to listen to the MIDI output. This is a limitation of

Re: Setting the emoji font

2024-01-16 Thread Werner LEMBERG
> I want to use emoji within markup, and I can see in the output log > that Lilypond can't find a character in its default emoji font > (Symbola). I can't figure out how to override the default font. LilyPond does *not* have a default emoji font! It is Pango and FontConfig which choose the

Re: Tempo marking doesn't avoid cross-staff slur

2024-01-11 Thread Werner LEMBERG
>> This issue belongs into the group of the many cross-staff problems. >> AFAICS, we don't have this particular case covered, so please file >> an issue in the LilyPond tracker. > > For reference, it's : https://gitlab.com/lilypond/lilypond/-/issues/6688 Thanks! Werner

Re: Tempo marking doesn't avoid cross-staff slur

2024-01-11 Thread Werner LEMBERG
> I found a weird behavior -- I don't know if it's worthy of an issue > or not, but here it is: > > The tempo marking will not avoid a slur that goes from staff to > staff. Here is a snippet that shows the problem, and I've attached > an image of it: [...] This issue belongs into the group of

Re: Question about \include options

2024-01-08 Thread Werner LEMBERG
> It's true that special characters can cause inconsistent results in > almost anything but if you're searching Documentation for a command > that includes them, you expect the search to be 'complete'; i.e., > encompassing all possibities. The thing is that `#f` and `#t` are nothing special;

Re: Question about \include options

2024-01-08 Thread Werner LEMBERG
> See for example http://lilypond.org/notation.html, which you reach > by clicking on "details of Notation" at > http://lilypond.org/manuals.html. Could anyone please come up with > a better formulation than "details of ...", since it's far from > intuitive what such a link might contain.

Re: how to install lilypond version on linux (ubuntu 22.04)

2024-01-05 Thread Werner LEMBERG
> I managed to build a specific stable lilypond version for my linux > distro (Ubuntu 22.04). Because I can not find the wright > documentation on this subject, I like to know how can I install the > generated build files from my build directory on my linux distro. > When I try to install my

Re: Collision between accidental and tuplet

2024-01-01 Thread Werner LEMBERG
> while typing down the score from an old scan, I discovered a > collision between an accidental and a tuplet spanner, or rather the > number in it: > > > \version "2.24" > \language "deutsch" > > \relative c' { > \tupletUp > \times 2/3 { g'=''8 b4 } des8 h~ h4 r4 > } > > > Perhaps this is

Re: Cascade Chords

2023-12-29 Thread Werner LEMBERG
> Is there a special notation for cascade chords (chords played by > adding successive notes )? I could do it by adding a new voice for > each note, but that seems unwieldly and cluttered. https://lsr.di.unimi.it/LSR/Item?id=408 Werner

Re: Forcing custodes to be always placed at the right-hand margin?

2023-12-28 Thread Werner LEMBERG
> I wanted a more natural text spacing for some chant in modern > notation I am typesetting, using the setting *ragged-right = ##t*. > However, the custodes also moves along with the line, and I would > like it to always be in the same place, at the right-hand margin. > That is, custodes is

Re: horizontal spacing issue with `keyCancellation`

2023-12-27 Thread Werner LEMBERG
Some days ago I wrote: > Consider this snippet. > > ```tex > cancellationFirst = > \override Score.BreakAlignment.break-align-orders = > #(grob-transformer 'break-align-orders > (lambda (grob orig) >(let ((vec (vector-copy orig)) >

Re: Automatically adding extender lines in lyrics

2023-12-23 Thread Werner LEMBERG
> Often, multiple voices in a score have the same lyrics, or the > lyrics have repeating components (such as lines from a poem). Is > there a way to automatically add extender lines to melismata in the > lyrics? Examples, please, both a scan from a real-world example, and ideally some LilyPond

Re: clefs, time signatures, and key signatures

2023-12-22 Thread Werner LEMBERG
> does the new proposed spacing mean that the time signatures are not > aligned across staves any more but were before? No, they are aligned as before. Werner

Re: right indent once, horizontal space

2023-12-22 Thread Werner LEMBERG
> Thank you, yes this works if the measure is the last one. For > exemple in your exemple, I’d need the second staff to have a right > indent. Simply split your music into two scores. You can adjust the distance between the last line of a score and the first line of the next score with the

Re: right indent once, horizontal space

2023-12-22 Thread Werner LEMBERG
> is it possible to add after a bar and before a break some horizontal > space only for a particular system ? Try the `ragged-last` paper variable. Example: ``` \score { { \repeat unfold 60 c'4 } \layout { ragged-last = ##t } } \score { { \repeat unfold 60 d'4 } \layout {

horizontal spacing issue with `keyCancellation`

2023-12-22 Thread Werner LEMBERG
Consider this snippet. ```tex cancellationFirst = \override Score.BreakAlignment.break-align-orders = #(grob-transformer 'break-align-orders (lambda (grob orig) (let ((vec (vector-copy orig)) (middle '(key-cancellation

Re: Why has `NonMusicalPaperColumn` a width?

2023-12-19 Thread Werner LEMBERG
>> Why does the `NonMusicalPaperColumn` grob have a width of 0.5 >> units? Where it is defined? > > Are you referring to the blue arrow from the second-to-last > non-musical column to the last rest? That's not a width, it's the > [ideal] distance to the last rest's musical column. Yes, it was

Re: clefs, time signatures, and key signatures

2023-12-18 Thread Werner LEMBERG
>>> please have a look at Merge Request 2188 and comment there on how >>> to proceed with the new distances between clefs and time >>> signatures, together with the new distances between clefs and key >>> signatures. >>> >>> https://gitlab.com/lilypond/lilypond/-/merge_requests/2188 >>> >>>

Why has `NonMusicalPaperColumn` a width?

2023-12-16 Thread Werner LEMBERG
Consider this example ```tex \version "2.19.2" music = { r4 r r \mark III r } { \music } { \override Score.RehearsalMark.non-musical = #'() \music } \layout { \context { \Score \override NonMusicalPaperColumn.stencil = #ly:paper-column::print \override PaperColumn.stencil =

Re: displaying `script-priority`

2023-12-15 Thread Werner LEMBERG
>> > How can I make LilyPond display the actual values of >> > `script-priority` for a stack of grobs? [...] >> >> Any suggestions how to do that? Otherwise I'll file an issue. > > A few days ago I was looking for something, and stumbled across > https://lsr.di.unimi.it/LSR/Item?id=1017 And I

Re: displaying `script-priority`

2023-12-13 Thread Werner LEMBERG
Walking through some unanswered e-mails of mine I stumbled across this one, asked in October. https://lists.gnu.org/archive/html/lilypond-user/2023-10/msg00222.html > How can I make LilyPond display the actual values of > `script-priority` for a stack of grobs? [...] Any suggestions how to

Re: lilypond "preprocessor"?

2023-12-12 Thread Werner LEMBERG
>> One thing occurred to me.  If the original \score did not have a >> \midi block, would it be possible to ask lilypond to produce midi >> output without modifying the input file? > > No, this is not currently possible, although it would be a nice > addition. Stefano, please file an issue for

Re: clefs, time signatures, and key signatures

2023-12-08 Thread Werner LEMBERG
> I’ve just looked at the images and especially w/r to the Alto clef I > strongly prefer the new spacing. For the others there are spots > where I’m not sure it is too tight but overall the new spacing > appears to be more balanced. > > I thus think the new spacing is better overall. Thanks,

Re: clefs, time signatures, and key signatures

2023-12-08 Thread Werner LEMBERG
>> please have a look at Merge Request 2188 and comment there on how >> to proceed with the new distances between clefs and time >> signatures, together with the new distances between clefs and key >> signatures. >> >> https://gitlab.com/lilypond/lilypond/-/merge_requests/2188 >> >> The

Re: accessing current file name in markup function

2023-12-08 Thread Werner LEMBERG
>> The name "sip" is a bit weird; looking in the commit that added the >> code 19 years ago, it looks like it was meant as "smob input" >> (where smob = Scheme object = LilyPond C++ object made available to >> Scheme). Quickly written documentation by an insider. It should be eventually

Re: accessing current file name in markup function

2023-12-07 Thread Werner LEMBERG
>> Thanks! However, Jean's statement >> >> > markups don't store location info, unfortunately. >> >> is still true, which means that you can't access the current input >> location within `define-markup-command`. > > Yes, sure, but you could inject this during parsing. [...] I'm doing very

Re: accessing current file name in markup function

2023-12-06 Thread Werner LEMBERG
>> Maybe a bit less esoteric: > > Or even less esoteric: Thanks! However, Jean's statement > markups don't store location info, unfortunately. is still true, which means that you can't access the current input location within `define-markup-command`. Werner

Re: accessing current file name in markup function

2023-12-06 Thread Werner LEMBERG
>> How can I access the current LilyPond input file name from within a >> markup command?  Or do I have to use the (undocumented) >> `delay-stencil-evaluation` functionality? > > If you mean the name of the file from which the command is called > (vs. defined), you can't — markups don't store

accessing current file name in markup function

2023-12-06 Thread Werner LEMBERG
How can I access the current LilyPond input file name from within a markup command? Or do I have to use the (undocumented) `delay-stencil-evaluation` functionality? Werner

Re: clefs, time signatures, and key signatures

2023-12-05 Thread Werner LEMBERG
>> please have a look at Merge Request 2188 and comment there on how >> to proceed with the new distances between clefs and time >> signatures, [...] > > FWIW, I think the Petrucci clef distances are a big improvement and > make incipits closer to what they usually look like in sources. Yes,

  1   2   3   4   5   6   7   8   9   10   >