Re: within \markup, how to \translate by width of another markup?

2022-05-17 Thread Werner LEMBERG
> Sth like > > \markup \box \number \column \with-dimensions-from \right-align "0" > \right-align { 11 10 6 5 4 3 2 1 } While this is an ingenious solution – thanks! – it doesn't fit my needs, alas, since two-digit numbers stick out to the left of the box. This is exacerbated by the fact that

Re: within \markup, how to \translate by width of another markup?

2022-05-16 Thread Werner LEMBERG
>> * Single-digit numbers are left-aligned. > > Why? They have equal width. Do you rather mean that the reference > point is supposed to be on the left edge? Yes. Sorry for the sloppy wording. > What is the alignment supposed to be if there are _only_ two-digit > numbers? This situation

Re: within \markup, how to \translate by width of another markup?

2022-05-16 Thread Werner LEMBERG
> Again, I have no idea what you are trying to achieve here and how > kerning has anything to do with it. OK. Next try. Here are the assumptions. * Numbers 0, 1, 2, ..., 9 all have a width of 100 units. * Number 10, however, has a kerning of -50 units between digits 0 and 1, making a total

Re: within \markup, how to \translate by width of another markup?

2022-05-16 Thread Werner LEMBERG
The problem at hand is stacking fixed-width single-digit and two-digit numbers. Single-digit numbers should be left-aligned for various reasons: ``` 9 8 7 ``` If there is a two-digit number, it should be right-aligned at the

Re: within \markup, how to \translate by width of another markup?

2022-05-16 Thread Werner LEMBERG
> How about > > \markup \typewriter \column { 9 \general-align #X #CENTER 10 } Nope, this doesn't align properly – see my answer to David's e-mail for a longer explanation. Werner

Re: within \markup, how to \translate by width of another markup?

2022-05-16 Thread Werner LEMBERG
>> The problem at hand is stacking fixed-width single-digit and >> two-digit numbers. Single-digit numbers should be left-aligned for >> various reasons: >> >> ``` >> 9 >> 8 >> 7 >> ``` >> >> If there is a two-digit number, it should be right-aligned at the >> right edge of the left-aligned

Re: within \markup, how to \translate by width of another markup?

2022-05-16 Thread Werner LEMBERG
>> Within a markup, I want to `\translate` an object by the x-extent >> of another markup. How can I do that? >> >> While we have `\with-dimensions` and friends to adjust the size of >> an object, it seems to me that we don't have something similar for >> offsets... Would it be necessary to

within \markup, how to \translate by width of another markup?

2022-05-16 Thread Werner LEMBERG
Within a markup, I want to `\translate` an object by the x-extent of another markup. How can I do that? While we have `\with-dimensions` and friends to adjust the size of an object, it seems to me that we don't have something similar for offsets... Would it be necessary to define

Re: An issue with kerning in a defined dynamic "sfffz" solved

2022-05-13 Thread Werner LEMBERG
> Some time ago I wrote saying that I could not get the marking > "sfffz" to kern properly. Someone replied that it did for them, and > I let it sit there, waiting until I needed a solution, which point I > have now reached. I have been slow and dense in recognising where > the issue lies - I

Re: top-level markup in Scheme

2022-05-13 Thread Werner LEMBERG
>> On the other hand, a LilyPond input file containing only >> >> ``` >> #(make-italic-markup "foo") >> ``` >> >> prints nothing. I now wonder how I can modify the latter to make >> it actually work – what is the 'appropriate hook'? > > s/#/$ This did the trick, thanks! Reading the

Re: top-level markup in Scheme

2022-05-13 Thread Werner LEMBERG
>> What is the Scheme equivalent to a top-level markup like >> >> ``` >> \markup \italic "foo" >> ``` >> >> ? I can't find it in the documentation. > > I am not a fan of the markup macro, but of course > > (make-italic-markup "foo") > > will also work. Thanks. > It is not clear what you mean

top-level markup in Scheme

2022-05-13 Thread Werner LEMBERG
What is the Scheme equivalent to a top-level markup like ``` \markup \italic "foo" ``` ? I can't find it in the documentation. Werner

Re: Annotation brackets,Annotation brackets

2022-05-02 Thread Werner LEMBERG
> I’ve created some code for creating well behaved annotation brackets > for some SE question, which I want to share with you all in case > someone of you can use it. Very nice! This smells like a good snippet for the LSR :-) Werner

Re: Unwanted font ligature

2022-04-15 Thread Werner LEMBERG
> I am trying to write the dynamic "sfffz".  But when I write > \markup\dynamic"sfffz" the first sf is made a ligature, then the > last two are made another ligature - the difference in spacing of > the f's is ugly, as in the attached image - is there anything I can > do about it? A quick would

Re: bug in magnetic snapping lyrics engraver

2022-04-14 Thread Werner LEMBERG
ainly room for improvements. Attached is another version for testing without the need to patch LilyPond. Werner % magnetic-lyrics.ily % % written by % Jean Abou Samra % Werner Lemberg % % Version 2022-Apr-15 \version "2.23.7" #(define (Left_hyphen_pointer_engraver context)

Re: bug in magnetic snapping lyrics engraver

2022-04-14 Thread Werner LEMBERG
>> Attached. In the end the necessary modifications were surprisingly >> minor. Please comment, there is certainly room for improvements. > > Thanks. This is a bit what I feared: in this state, there is > potential for things going wrong with other after-line-breaking > callbacks. Those are

Re: bug in magnetic snapping lyrics engraver

2022-04-14 Thread Werner LEMBERG
> How did you do that? Sorry to rain on your parade, but I would not > want you to put a lot of work in it if it will not be of mergeable > quality. Attached. In the end the necessary modifications were surprisingly minor. Please comment, there is certainly room for improvements. Werner

Re: bug in magnetic snapping lyrics engraver

2022-04-14 Thread Werner LEMBERG
> There is a problem with ligatures at the syllable boundaries (and > kerning). [...] it is not sufficient to shift the right syllable > in a syllable pair to the left. Instead, the following should be > done. [...] Meanwhile I could implement this :-) I will submit a MR soon. Werner

Re: how to change extents of a grob?

2022-04-14 Thread Werner LEMBERG
>> Or to ask in a different way: At the time when properties are >> processed and you have to manipulate stencils, changing the stencil >> of a grob doesn't change the extents of this grob, AFAICS. > > You are not supposed to change stencils at all. They are not > entities with identity. > >

how to change extents of a grob?

2022-04-13 Thread Werner LEMBERG
Dear LilyPonders, I can get the extents of a grob with `ly:grob-extent`. What is the corresponding Scheme function to set the extents? Or to ask in a different way: At the time when properties are processed and you have to manipulate stencils, changing the stencil of a grob doesn't change

Re: bug in magnetic snapping lyrics engraver

2022-04-13 Thread Werner LEMBERG
>> This is ingenious :-) Thanks *a lot* for this solution. In my >> tests it seems to work fine > > You're welcome. I spoke too soon :-) There is a problem with ligatures at the syllable boundaries (and kerning). While this can be considered an ugliness in languages based on the latin script,

Re: bug in magnetic snapping lyrics engraver

2022-04-07 Thread Werner LEMBERG
>> Did I miss something? > > Whoops, big problem at line breaks ... This is ingenious :-) Thanks *a lot* for this solution. In my tests it seems to work fine. Two comments. * I *strongly* vote for polishing and documenting this so that it can be added to LilyPond. It's an invaluable

Re: bug in magnetic snapping lyrics engraver

2022-04-07 Thread Werner LEMBERG
> The second bug is super hard to fix: when you tell LilyPond about > spacing constraints between lyrics, before line breaking, you need > to assume a lyric syllable won't be moved to the left by > 'magnetism', because if you do, the spacer might think it can space > its right neighbor more to

Re: bug in magnetic snapping lyrics engraver

2022-04-06 Thread Werner LEMBERG
> Here is an example where it fails to position lyrics correctly (see > last system in the image). And while we are at it: Here is another bug, already reported in https://lists.gnu.org/archive/html/lilypond-user/2020-03/msg00289.html I've slightly sharpened the test to exclude the

Re: problem with extending 'magnetic snapping lyrics' engraver

2022-04-06 Thread Werner LEMBERG
>> but how about just >> changing >> >>    (let* ((hyphen-sten (ly:lyric-hyphen::print hyphen)) >> >> to >> >>    (let* ((hyphen-sten (ly:grob-property hyphen 'stencil)) >> >> >> ? Then you can do \override LyricHyphen.stencil = #what-you-want to >> get the result. > > D'oh, so simple, thanks

bug in magnetic snapping lyrics engraver

2022-04-06 Thread Werner LEMBERG
ride LyricHyphen.minimum-distance = #0 \override LyricSpace.minimum-distance = #1 } } \version "2.23.7" %% CHANGELOG %% %% 2022-04-21 Werner Lemberg %% %% * Update `add-grob-definition` to make it work with current development %% version (2.23.7). %% %% 2019-05-28 Thomas Morley %% %% *

Re: problem with extending 'magnetic snapping lyrics' engraver

2022-04-06 Thread Werner LEMBERG
> It's uncomfortable to have grob properties of procedure type, since > they are automatically resolved as callbacks. You set > LyricWord.hyphen-formatter to ly:lyric-hyphen::print. Then, when > you do > >   (ly:grob-property grob 'hyphen-formatter) > > this not only looks up

problem with extending 'magnetic snapping lyrics' engraver

2022-04-06 Thread Werner LEMBERG
I'm trying to generalize the 'magnetic snapping lyrics' engraver (the most recent version posted as https://lists.gnu.org/archive/html/lilypond-user/2019-05/msg00389.html) by providing a new property `hyphen-formatter`, to be used instead of the hard-coded `ly:lyric-hyphen::print`. Attached you

Re: Feature request: Fix cascading error messages

2022-03-29 Thread Werner LEMBERG
>> This sounds sensible; maybe this suppression of processing `\score` >> blocks can be implemented in Scheme so that LilyPond with a special >> command line option acts as a syntax checker. > > Have you actually tried? Apart from scores placed in explicit books > and bookparts, LilyPond

Re: Feature request: Fix cascading error messages

2022-03-29 Thread Werner LEMBERG
> Why make the user wait so long to make him fix a misspelled word or > make him put a curly brace? A first pass should be done without > \score blocks and abort (or at least ask if you want to continue!) > if this first pass produces errors. This sounds sensible; maybe this suppression of

Re: Feature request: Fix cascading error messages

2022-03-29 Thread Werner LEMBERG
> But shouldn't Lilypond check first if the syntax is correct instead > of spending several seconds/minutes compiling a code that's doomed > to visually fail? Sometimes I want to see the output inspite of errors. Aborting immediately if there is a syntax problem is definitely not always the

Re: Feature request: Fix cascading error messages

2022-03-29 Thread Werner LEMBERG
> In this context I could imagine a paramater that kind of highlights > the first few error messages (or only shows the first N error > messages) being very forthcoming to some people without a dev > background. Or maybe at the end of the compilation output a clearly > marked: "First (few?)

Re: 'baroque' time signatures

2022-03-21 Thread Werner LEMBERG
> May be you can use something like: > \override Staff.TimeSignature #'stencil = #ly:text-interface::print > \override Staff.TimeSignature #'text = \markup \musicglyph #"timesig.C44" > \time 4/2 Yes, I thought of that, but... > I'm pretty sure there is a simpler solution, but I don't remember

Re: 'baroque' time signatures

2022-03-21 Thread Werner LEMBERG
>> In modern transcriptions of baroque music it is custom to use time >> signatures for half the length. For example, if you have 4/2 bar, >> the time signature shows 'C'; if you have a 6/1 bar, the time >> signature shows '3/1'. >> >> Is there a simple way to get the equivalent to the following

'baroque' time signatures

2022-03-21 Thread Werner LEMBERG
In modern transcriptions of baroque music it is custom to use time signatures for half the length. For example, if you have 4/2 bar, the time signature shows 'C'; if you have a 6/1 bar, the time signature shows '3/1'. Is there a simple way to get the equivalent to the following (invalid)

Re: Should \partial accept music instead of duration?

2022-03-20 Thread Werner LEMBERG
> A convert-ly rule would probably not be possible given the > limited power of regular expressions. As such, \partial might > need to support both duration and music arguments. Initially I > thought this might not be possible, given that a naked duration > can be treated

Re: `TextSpanner` vs. `DynamicTextSpanner`

2022-03-05 Thread Werner LEMBERG
>> Sometimes, this would be very helpful, yes (see attached image from >> the last scene of 'Wozzeck'). I guess a possible work-around would >> be to (ab)use `DynamicTextSpanner` for that. > > [...] There is also this kind of code: [...] See issue #3176. Very nice, thanks! Maybe this should

Re: `TextSpanner` vs. `DynamicTextSpanner`

2022-03-03 Thread Werner LEMBERG
>> Is there a similar auxiliary grob for `TextSpanner`? > > No, since consecutive text spanners are not aligned vertically. > > { > c'1\tweak bound-details.left.text "aaa" \startTextSpan > c'1\stopTextSpan\tweak bound-details.left.text ""\startTextSpan > c'1\stopTextSpan > } > > >

`TextSpanner` vs. `DynamicTextSpanner`

2022-03-03 Thread Werner LEMBERG
For `DynamicTextSpanner` grobs there exists the auxiliary `DynamicLineSpanner` grob, providing a vertical baseline to align successive dynamic grobs within a staff. LilyPond provides other such pairs like `CenteredBarNumber` vs. `CenteredBarNumberLineSpanner`, or `SostenutoPedal` vs.

Re: skip-of-length and \unfoldRepeats

2022-02-16 Thread Werner LEMBERG
>>> Now that I know to look for it, the definition of `\skip` in >>> >>> does describe this behavior. But I would never have found this on >>> my own. >> >> OK, how did you search exactly? Where

Re: skip-of-length and \unfoldRepeats

2022-02-15 Thread Werner LEMBERG
>> In recent versions, like version 2.23.6 which you are using, you >> can use >> >> \skip \musicA >> >> which is nicer syntax-wise and plays well with \unfoldRepeats. > > Now that I know to look for it, the definition of `\skip` in >

Re: Blind and visually impaired users learning LilyPond

2022-02-13 Thread Werner LEMBERG
> I rather like the idea of there being a section in the documentation > for visually impaired users; I would even be willing to help > contribute to such a section. Excellent, and thanks for the offer. If you find time to write such a section, simply send your suggested text to this list,

Re: edition engraver problems (was: Installing Alternate Music Fonts)

2022-02-10 Thread Werner LEMBERG
>> I haven't had time to /really/ focus on this and I don't want to >> break everything so what I would like to do is eliminate the >> MacPorts install and do the official install with the 1.8 version >> of Guile (I'm guessing Guile 2.2 is what's breaking the scheme >> functions in Edition

Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-09 Thread Werner LEMBERG
> Werner - I've done just that: The file compiles just fine unless I > try to change the font. [...] This very much smells like a bug in LilyPond's font handling, probably specific to the Windows platform (otherwise we would have seen from Abrahan, the author of the Beethoven fonts0. It might

Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-09 Thread Werner LEMBERG
>> Werner - I've done just that: The file compiles just fine unless I >> try to change the font. [...] > > This very much smells like a bug in LilyPond's font handling, > probably specific to the Windows platform (otherwise we would have > seen from Abrahan, the author of the Beethoven fonts0.

Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-09 Thread Werner LEMBERG
> Looks like it's finding the font in the folder, but then crashing > midway through the build. Here are the last few lines of the verbose > output. > > ``` > Preprocessing graphical objects... > Grob count 1289 > [/opt/local/share/lilypond/2.23.1/fonts/otf/beethoven-11.otf > CFF name for font

Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-09 Thread Werner LEMBERG
> Valentin -- That's exactly the path I've been trying to no avail. I > tracked down that folder but the fonts just aren't being recognized > as having been installed. If you call the `lilypond` binary on the command line with ``` lilypond --verbose ``` You can see where LilyPond tries to

Re: Delay for list posts to arrive

2022-02-01 Thread Werner LEMBERG
>> Lately I've found myself a couple times duplicating answers already >> provided on this list by others up to almost three hours earlier >> because I had not received these replies yet. [...] > > Check the timestamps in the email headers. This tends to be what I > see: [...] There were

Re: Rendering Two Dots Above a Character,Re: Rendering Two Dots Above a Character

2022-01-25 Thread Werner LEMBERG
> Maybe something like this could work. Nice! Note, however, that Omid uses + + in his input file. This clearly indicates that he wants the dots stacked vertically, not horizontally. Your solution is perfect in case the vertical stacking is not intended – Unicode provides no means to

Re: Rendering Two Dots Above a Character

2022-01-25 Thread Werner LEMBERG
>> I am trying to create some sort of tablature for Kalimba, treating >> it like a one-string instrument with fret-labels. I want to use >> letters like c, ċ, ċ̇ (or cཉ), etc. I figured there are Unicode >> characters to do exactly that, "combining dot above" and "combining >> two dots above",

Re: Stem length of beamed notes

2022-01-25 Thread Werner LEMBERG
> \once \override Beam.positions = #'(1 . 0.5) g8 fis > > Indeed, AFAICS this is not clearly documented in the NR manual. Can you provide a patch? Werner

Re: Rendering Two Dots Above a Character

2022-01-25 Thread Werner LEMBERG
> I am trying to create some sort of tablature for Kalimba, treating > it like a one-string instrument with fret-labels. I want to use > letters like c, ċ, ċ̇ (or cཉ), etc. I figured there are Unicode > characters to do exactly that, "combining dot above" and "combining > two dots above", etc.

Re: fonts on windows

2022-01-15 Thread Werner LEMBERG
>> Yes, I managed to figure that out. It would be nice if Lilypond >> could find fonts for the current user too. > > Definitely. Looks to be an issue with fontconfig [1] and not > LilyPond. > > [1]: https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/144 The issue even has a patch

Re: Tenuto marking too close to note

2021-12-28 Thread Werner LEMBERG
> I would like to have the tenuto mark a bit farther away from the > note. I had a similar issue with tuplet numbers and then "\override > TupletNumber.Y-offset = #-2.5" fixed the issue. I don't know what I > should replace "TupletNumber" by in the case of tenuto lines. Have a look at this

Re: better control of balloon positioning

2021-12-26 Thread Werner LEMBERG
>> [...] What must I do to get, for example, >> >>Balloon text >> / >> / >> grob >> >> this alignment? Please advise. > > One solution is to wait for the patch that accidentally I am >

better control of balloon positioning

2021-12-26 Thread Werner LEMBERG
A balloon's `X-offset` property results in the following three alignments for a given x value. x < 0: Balloon text \ \ grob x = 0: Balloon text | |

Iranian classical music support

2021-12-14 Thread Werner LEMBERG
Dear LilyPond community, based on Kees van den Doel's `persian.ly`, I've submitted a Merge Request to integrate support for Iranian classical music into LilyPond. https://gitlab.com/lilypond/lilypond/-/merge_requests/1060 Please comment (and ideally, revise)! You have to sign in to

Re: Crescendo after custom dynamic marking

2021-12-13 Thread Werner LEMBERG
> c): Add \dynamic know and later find a special name for Harm's > dynamic engine. (d) You add now `\dynamic` in a first MR. Eventually, Harm's stuff gets applied in another MR under the same name, extending your stuff.[*] IMHO there is no necessity to provide `convert-ly` rules

Re: Persian accidentals (koron and sori)

2021-12-06 Thread Werner LEMBERG
> One comment: When looking at Fig. 11 in your PDF, two suggestions > came to my mind. The handwritten accidentials show some less sharp > edges because the ink is flowing in the inner angles of the glyph. > As you already take the liberty to match the style of classical > accidentials, how

Re: Persian accidentals (koron and sori)

2021-12-06 Thread Werner LEMBERG
>>> https://w3c.github.io/smufl/latest/tables/persian-accidentals.html >> >> Yes, and it is soo ugly. > > It is best consulting some with traditional Persian sheet music. > But the few ones I have seen tend to be hand drawn, not of very high > quality, but similar. > > The accidentals were

Re: Persian accidentals (koron and sori)

2021-12-06 Thread Werner LEMBERG
>> In case there are experts on Persian music notation: please have a >> look here >> >> https://gitlab.com/lilypond/lilypond/-/merge_requests/1047 >> >> and comment on the design. > > Here is how they look at SMuFL. Rather thin and of equal thickness, > contrary to the standard accidentals.

Persian accidentals (koron and sori)

2021-12-06 Thread Werner LEMBERG
In case there are experts on Persian music notation: please have a look here https://gitlab.com/lilypond/lilypond/-/merge_requests/1047 and comment on the design. Werner

Re: `\textLengthOn` for `TextSpanner` grobs

2021-11-30 Thread Werner LEMBERG
>>> Does David N's text-spanner work solve this problem, I wonder? >> What are you referring to? > > https://github.com/davidnalesnik/lilypond-text-spanner-inner-texts This is veeery nice! Thanks for the link. Werner

Re: `\textLengthOn` for `TextSpanner` grobs

2021-11-28 Thread Werner LEMBERG
Hello Kieren, >>> Use >>> \override TextSpanner.minimum-length = 30 >>> \override TextSpanner.springs-and-rods = #ly:spanner::set-spacing-rods >> Thanks. Alas, doesn't work correctly for broken spanners > > Yeah, I saw that coming… as well as the fundamental > "trial-and-error" problem.

Re: `\textLengthOn` for `TextSpanner` grobs

2021-11-28 Thread Werner LEMBERG
>> please have a look at this example >> >> ``` >> { >>\set Score.skipBars = ##t >>\override TextSpanner.bound-details.left.text = "poco a poco tempo I" >>\override TextSpanner.bound-details.right.text = "Tempo I" >>R1*4\startTextSpan | >>R1\stopTextSpan >> } >> ``` >> >> What

`\textLengthOn` for `TextSpanner` grobs

2021-11-28 Thread Werner LEMBERG
Folks, please have a look at this example ``` { \set Score.skipBars = ##t \override TextSpanner.bound-details.left.text = "poco a poco tempo I" \override TextSpanner.bound-details.right.text = "Tempo I" R1*4\startTextSpan | R1\stopTextSpan } ``` What is the equivalent of

\tag and \tweak

2021-11-26 Thread Werner LEMBERG
This time a syntax question: Is it possible to combine `\tag` with `\tweak`? I have tried the following: g-\tag #'score \tweak X-offset #-3 _\markup { "foo" } | However, this makes the `\markup` disappear if `\keepWithTag` doesn't contain `#'score` (which is kind-of

Re: quoted tuplet bracket within staff

2021-11-26 Thread Werner LEMBERG
>> Well, you got the wrong property here. outside-staff-priority >> tells how to stack outside-staff objects with one another. What >> you need here is >> >> \override CueVoice.TupletBracket.staff-padding = ##f Aah, I only tried `padding` to no avail. Thanks a lot! > So, Werner, this

Re: quoted tuplet bracket within staff

2021-11-26 Thread Werner LEMBERG
>> For a general solution, one could probably write a callback for the >> positions property. > > I was hoping to use #'outside-staff-priority to try to allow the > tuplet to float into the staff automatically, [...] Me too. Werner

Re: quoted tuplet bracket within staff

2021-11-26 Thread Werner LEMBERG
>>\override CueVoice.TupletBracket.direction = #DOWN >>\override CueVoice.TupletBracket.edge-height = #'(-0.7 . -0.7) >>\override CueVoice.TupletBracket.extra-offset = #'(0 . 4.75) >>\override CueVoice.TupletNumber.extra-offset = #'(0 . 4.75) > > Hold the heavy machinery :-). You

Re: quoted tuplet bracket within staff

2021-11-26 Thread Werner LEMBERG
>> What must I do to make the tuplet bracket be positioned within the >> staff, that is, below the rest? > > There's surely a more elegant way… but if you're stuck, you can > always hack it: [...] Thanks a lot! Of course I would like to have a solution that avoids `extra-offset` :-) > x = {

quoted tuplet bracket within staff

2021-11-26 Thread Werner LEMBERG
Folks, plesae consider the following example. x = { r2 \tuplet 3/2 { g4 a b } } \addQuote "qx" \x { r2 \cueDuring #"qx" #DOWN { \override CueVoice.TupletBracket.direction = #UP r2 } } What must I do to make the tuplet bracket be positioned

Re: Help

2021-11-20 Thread Werner LEMBERG
> Nevetheless, in my modest opinion, the easiness of modern notation > in LilyPond would be greatly upgraded if one might take the book of > Edgard Karkoschka on the XX century notation and check out most > common features used by all composers discussed in this very > informative book This is

Re: Unusual angular and wavy lines

2021-11-20 Thread Werner LEMBERG
> I need to draw horizontal lines shown in the attachment - [...] *Never* send DOCX files that don't contain all embedded fonts – I only see boxes for missing glyphs because I obviously don't have the same fonts installed on my GNU/Linux box as on your machine. It is much better to send a

Re: Help

2021-11-20 Thread Werner LEMBERG
>> there is a significant reason related to the nature of contemporary >> notation: it is usually nonstandard. Every composer has their own >> systems. Given that, it's hard to know what is relevant for >> putting in the core. > > That is true to a great extent… but there are things (like the

Re: Pat Waing Notation

2021-11-15 Thread Werner LEMBERG
> I'm working on a piece for Pat Waing, a traditional instrument from > Myanmar consisting of 20 tuned drums. Musicians from Myanmar use a > special form of notation, using numbers for the pitches with dots > underneath or above indicating the octave. This notation is looks like jiǎnpǔ (簡譜);

Re: How to increase the distance between the last note of a measure and the following bar line

2021-11-11 Thread Werner LEMBERG
>>> This appears to me as an additional issue instead a *must do*. >>> Formatting as pdf (or plain text) an API doc with an OO paradygm >>> and plenty of links is IMHO meaningless. I give you a personal >>> advice: don't spend your time in the creation of this kind of >>> document; what now

Re: Vertical positioning of rests

2021-09-23 Thread Werner LEMBERG
> There are a number of internal mechanisms under the hood here. > [...] Good stuff! Do we have something like this in the manual somewhere? Otherwise I suggest that you add it as an example. Werner

Re: Extending the width of a glissando

2021-09-20 Thread Werner LEMBERG
> If I understand it correctly, the "reference point" of a layout object > should be its relative (0,0) coordinate. It is possible to display > that point using a small function: [...] It would be very nice if appendix A.8, "The Emmentaler font", could display the metrics boxes as given in the

Re: Latest lilypond git master creating PDF 1.4 files instead of 1.7,Re: Latest lilypond git master creating PDF 1.4 files instead of 1.7

2021-09-11 Thread Werner LEMBERG
> Okay. Basically the problem is that conversion from PDF to PS get’s > really complicated at some point, and results in really large PS > files. > > I’ve tracked down the responsible commit to be > cf2ae39e9d93c2dcdc50afd7d0389c314898273c, which implements > transparency for PDF. Now this

Re: How does this software run on macOS 11 with arm64 architecture?

2021-08-25 Thread Werner LEMBERG
>> I cannot find a binary package for arm64 and macOS 11 on the >> official website. I don't know how to compile this software on my >> platform. > > Install macports > > https://www.macports.org/install.php > > then say > > sudo port install lilypond > > on the command line. If you

Re: How does this software run on macOS 11 with arm64 architecture?

2021-08-25 Thread Werner LEMBERG
> I cannot find a binary package for arm64 and macOS 11 on the > official website. I don't know how to compile this software on my > platform. Install macports https://www.macports.org/install.php then say sudo port install lilypond on the command line. Werner

LilyPond available on Wikipedia again

2021-08-20 Thread Werner LEMBERG
Due to security concerns the ` ... ` extension to embed LilyPond (and ABC) scores in Wikipedia pages that are displayed automatically were disabled for more than a year. https://phabricator.wikimedia.org/T257066 This has been reactivated now. It seems, however, that not all details have

Re: Different TeX Gyre Schola fonts (Mac/Win)

2021-08-18 Thread Werner LEMBERG
> > I’ve got an issue with Mac/Win TeX Gyre Schola font versions when engraving > arrows in LilyPond 2.22.1. > > The vertical arrows seem to be similar, but the oblique ones are different. > Here is the Mac OS version: >

Re: Is Lilypond’s G-Clef too straight?

2021-08-12 Thread Werner LEMBERG
>> Lilypond has a very characteristic G-Clef. I’ve only seen a handful >> of Bärenreiter scores with a similar clef. Actually, I consider it the most beautiful glyph of Emmentaler. >> I personally find the Lilypond-Clef beautiful, but quite some >> people find it a bit too characteristic. I

Re: Move chord name down onto staff?

2021-07-10 Thread Werner LEMBERG
>> I'm not sure how to move the chord names down so they are centered >> on the staff. Essentially I want the changes on an empty stave but >> I'm unclear on how to do that. [...] > > Here's one way to do this: > > > \version "2.20" > > harmony = \chordmode { a1:m s1 f1:m7 s1 } > tune

Re: repeatTie question

2021-05-02 Thread Werner LEMBERG
> It's ironic that \laissezVibrer follows on directly from \repeatTie > on page 57, but you might miss it if the name means nothing to you, > and the next illustration doesn't catch your eye. In https://gitlab.com/lilypond/lilypond/-/merge_requests/751 I've added a paragraph at the beginning

Re: repeatTie question

2021-04-29 Thread Werner LEMBERG
> Okay, so here's a thing: I don't know this term (let vibrate), and > if I did, I'm not sure how it would apply in this context (it's a > tie, right?). Have you actually looked into the Notation Reference, section 'Ties'? A few paragraphs after the start of the section you can find

Re: maple leaf rag mutopia

2021-04-27 Thread Werner LEMBERG
> Always a bit of a risk to change the call signature of existing > exported functions. It may be called by more than just > \unfoldRepeats , with \applyMusic only being a somewhat weird old > use case. Ok. Do you have a better suggestion? Maybe a warning in `convert-ly`? Werner

Re: maple leaf rag mutopia

2021-04-27 Thread Werner LEMBERG
From: David Kastrup Subject: Re: maple leaf rag mutopia Date: Tue, 27 Apr 2021 13:31:22 +0200 > Werner LEMBERG writes: > >>>> Replace \applyMusic #unfold-repeats with \unfoldRepeats ? >> >> Missing `convert-ly` rule? > > Last examples of \app

Re: maple leaf rag mutopia

2021-04-27 Thread Werner LEMBERG
>> Replace \applyMusic #unfold-repeats with \unfoldRepeats ? Missing `convert-ly` rule? Werner

Re: Accidental placement below accidental-carrying tie

2021-04-16 Thread Werner LEMBERG
> While not an ideal solution, just killing the (invisible) accidental's > stencil seems to work: > > \version "2.20.0" > > noAccidental = \tweak Accidental.stencil ##f \etc > > \score { >   \new Staff << >     \key a \major \time 4/2 \partial 2 >     \clef "bass" >     << { c'2~ \noAccidental

Re: A work-in-progress guide to extending LilyPond

2021-04-06 Thread Werner LEMBERG
> [...] I wrote up the start of something that could someday resemble > an introduction to extending and a guide covering programming > topics. [...] This looks very good, thanks! > On the long-term, this might make its way into the official > documentation in an adapted form. Yes, please!

Re: Suggestion: Use non powers of 2 for tuplets

2021-03-26 Thread Werner LEMBERG
>> For example: We could use 3 for 2*3/2, 5 for 4*5/4, 6 for 4*3/2, 7 >> for 8*7/8, 9 for 8*9/8, 10 for 8*5/4, 11 for 8*11/8, 12 for 8*3/2 >> and so on. > > LilyPond is a notation program first, and your proposal does not map > to notation since tuplets also involve choices of beaming and >

Re: Suggestion: Use non powers of 2 for tuplets,Suggestion: Use non powers of 2 for tuplets

2021-03-26 Thread Werner LEMBERG
> Currently Lilypond only supports powers of 2 for specifying > duration. Could we use the other numbers for common divisions? > > For example: We could use 3 for 2*3/2, 5 for 4*5/4, 6 for 4*3/2, 7 > for 8*7/8, 9 for 8*9/8, 10 for 8*5/4, 11 for 8*11/8, 12 for 8*3/2 > and so on. > > This would

Re: Workaround for (not-allowed) numbers in variable names?

2021-03-07 Thread Werner LEMBERG
> Yes, it's documented in the Notation Reference Manual section 3.1.5 > File Structure. It doesn't seem the obvious place to put the syntax > of variable names. Well, there is a proper index entry... However, documentation for the 'foo.1.bar.2' trick is still missing. Do you have a better

Re: Posting problem

2021-02-08 Thread Werner LEMBERG
> I have, for some reason unknown to me, been blocked from posting in > nabbler. As I have never spammed, not even argued with anyone for > that matter, and in one instance the discussion from a question of > mine lead to a snippet - which means that my questions for the most > part are not

Re: LilyPond 2.22.0 released!

2021-02-01 Thread Werner LEMBERG
> I'm still looking for a 64bit MacOS Lilypond 2.22. I tried the > 32bit version and it fails to run (obviously). > > I'm running MacOS 11.1 (Big Sur) on Intel 64bit CPU (not the Apple > M1 chip). https://ports.macports.org/port/lilypond/summary Werner

Re: avoid alignment of hairpin and dynamic text

2021-02-01 Thread Werner LEMBERG
[we are actually on the wrong e-mail list, but...] >> Reason is that the order of events at a given moment is not >> specified. [...] > > Are you sure about the order of events not being guaranteed? Yes, see David's response to something similar syntax-wise that I tried some time ago: For

Re: avoid alignment of hairpin and dynamic text

2021-01-31 Thread Werner LEMBERG
>> Note that `spanner-broken` is an internal property, not to be >> modified by the user. A search in the code yields the command >> `\breakDynamicSpan` as user syntax – introduced more than 10 years >> ago in version 2.13.23... I will document that soon. > > Excellent! > >> Unfortunately,

<    1   2   3   4   5   6   7   8   9   10   >