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 c

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 alread

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 proce

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 bes

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?) Error(

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) syntax

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 as

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 > } > > > Ma

`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. `SostenutoP

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 di

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, indi

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 Engrave

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 be

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 fin

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 indee

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 's

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 f

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 Vis

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 > preparing

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 comment

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 about

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 des

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 i

`\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 `\textLength

\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 logical)

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 sh

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 = { r

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 within

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 c

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 genera

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ǔ (簡譜); hav

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 seem

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 pr

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 seems

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 pre

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 been

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: > https://drive.google.com/file/d/1XDkgUUR3l5cjMLJElrjsE5J7ekT9uGjB/view?usp=s

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 thi

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 documentatio

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 \applyMus

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 > divi

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

2021-03-25 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 sug

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 trivi

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 s

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, it

Re: avoid alignment of hairpin and dynamic text

2021-01-29 Thread Werner LEMBERG
>> How can I avoid the vertical alignment of a hairpin and a dynamic >> text that starts or stops the hairpin? For example, in this >> situation >> >>{ f1\< | e''\p } >> >> I want to make LilyPond position the `\p` independently of the the >> crescendo – in particular, I don't want to fiddle

avoid alignment of hairpin and dynamic text

2021-01-27 Thread Werner LEMBERG
How can I avoid the vertical alignment of a hairpin and a dynamic text that starts or stops the hairpin? For example, in this situation { f1\< | e''\p } I want to make LilyPond position the `\p` independently of the the crescendo – in particular, I don't want to fiddle with `padding`, `extra-

Re: LilyPond on macOS 11 with Apple M1 Processor

2021-01-23 Thread Werner LEMBERG
> has anyone already tried to run LilyPond and MacPorts on an Apple M1? https://ports.macports.org/port/lilypond/summary Werner

lilypond on Apple silicon

2021-01-16 Thread Werner LEMBERG
According to https://ports.macports.org/port/lilypond/summary the problems with the dependencies have been fixed; this means that lilypond should now install fine using MacPorts on Apple silicon. Werner

Re: Why does -dbackend=svg -dcrop remove system-system-spacing?

2021-01-14 Thread Werner LEMBERG
>> Oh, sorry, I thought it was obvious. I vote against adding a new >> argument to `-dcrop`. > > Why? The description quoted shows that an argumant is optional. My objection is by principle. Backward compatibility doesn't make sense to me for situations that are (a) completely buggy, and (b)

Re: Why does -dbackend=svg -dcrop remove system-system-spacing?

2021-01-13 Thread Werner LEMBERG
>> > Perhaps the syntax and functionality of -dcrop could be extended to >> > include: >> > >> > ie default #f: as now, no cropped output >> > -dcrop ie #t: preserve whitespace, set as one long cropped >> > *page* >> > -dcrop num separate cropped *systems* by num mm o

Re: Why does -dbackend=svg -dcrop remove system-system-spacing?

2021-01-13 Thread Werner LEMBERG
> Perhaps the syntax and functionality of -dcrop could be extended to > include: > > ie default #f: as now, no cropped output > -dcrop ie #t: preserve whitespace, set as one long cropped *page* > -dcrop num separate cropped *systems* by num mm of whitespace > (mm is al

Re: convert-ly error

2021-01-13 Thread Werner LEMBERG
> `convert-ly` is a python script. For Windows, rename the file > > c:\Program Files (x86)\usr\bin\convert-ly > > to > > convert-ly.py > > Then Windows will know to run the python interpreter on this file. > > NOTE: This script works as is on Linux because the first line of the > script sa

Re: Why does -dbackend=svg -dcrop remove system-system-spacing?

2021-01-12 Thread Werner LEMBERG
> In the upcoming release of Abjad’s docs, my workaround has been to > add transparent markup “struts” above notes in the top system, [...] Nice idea! For multi-system cropped output this is a good temporary workaround IMHO. > Knowing all this, would it be possible to allow for a > non-system-p

Re: Why does -dbackend=svg -dcrop remove system-system-spacing?

2021-01-11 Thread Werner LEMBERG
>> For me, it's a bug, mainly because the behaviour is completely >> unexpected. Also, `-dhelp` says >> >> crop (#f)Match the size of the normal output to the >>typeset image. >> >> which differs from the reality. Note the words 'normal output'. >>

Re: Why does -dbackend=svg -dcrop remove system-system-spacing?

2021-01-08 Thread Werner LEMBERG
>> $ lilypond-2.21.80-1.linux-64/bin/lilypond --svg -dcrop Bača.ly >> will produce the tightly packed: >> E ┌──┐ >> │▒▒│ >> │▒▒│ >> │▒▒│ >> └──┘ >> which is what you implied you didn't want (by saying "Is this >> suppose

Re: Staff space size

2021-01-07 Thread Werner LEMBERG
> On 2021-01-06 6:41 pm, Andrew Bernard wrote: >> If staff height is 20 points, then what is the staff space size? Maybe >> I am overthinking this but suddenly I thought there may be some factor >> of including or not including the staff lines in the measurement. It >> is not immediately apparent t

Re: Please help

2021-01-03 Thread Werner LEMBERG
> I would like to get in touch with J. B. He did/engraved (?) "Du süße > Lieb, schenk uns deine Gunst" by LilyPond on 27. 8. 12. On the > score sheet it says "Music engraving by LilyPond 2.16.0. (Would this > information help?) No, this is doesn't help. However, a quick search in the internet f

Re: Placement of tuplet brackets

2021-01-03 Thread Werner LEMBERG
> I am trying to build a package for Persian percussion (for tombak > and daf instruments) while learning Lilypond. Interesting! > Back to my current struggle with tuplets: I cannot find a way to > tweak Lilypond through its tuplet-bracket interface (or any other) > to place tuplet brackets whe

Re: A comment about the documentation

2021-01-02 Thread Werner LEMBERG
> Perhaps Hans can help you do the build using MacPorts. BTW, all ingredients for building the complete documentation on a mac with MacPorts are there, AFAIK – except texi2html 1.82, for which no MacPorts package exists (yet). Werner

Re: Use TTF font for text in working directory?

2020-12-07 Thread Werner LEMBERG
> Is it somehow possible to tell Lilypond to look for the .ttf file in > the working directory, ie. the directory in which the .ly file is > that is being compiled? Yes. Here's some documentation from the current development version; the two mentioned scheme functions, however, are present in 2

Re: Summer of Code 2021

2020-11-18 Thread Werner LEMBERG
> Dear list, will the Lilypond google "summer of code" program run in > summer 2021? Probably yes. > Who should I be in touch with regarding possible projects and > preparation? I suggest that you contact the 'lilypond-devel' list. Werner

Re: OTF text font family with optical sizes : unable to access regular font

2020-11-09 Thread Werner LEMBERG
> No, I haven’t. See the attachment. Thanks. Looking around in the internet, searching for "Arno Pro" fontconfig I found the following. https://github.com/gadmm/fix-fontconfig-opentype-size It looks to me that this is exactly what you need. Werner

Re: OTF text font family with optical sizes : unable to access regular font

2020-11-07 Thread Werner LEMBERG
>> I’m having an issue using the Arno Pro typeface as a text font in >> LilyPond. [...] Have you already sent us the output of fc-list | grep 'Arno Pro' ? Werner

Re: vertical positioning of text spanners and hairpins

2020-11-05 Thread Werner LEMBERG
>> So one would *think* the following would work: >> >> \new Dynamics { >> s2\tweak DynamicLineSpanner.outside-staff-priority #1000 \< >> s2\tweak outside-staff-priority #0 >> \tweak bound-details.left.text "rit." >> \startTextSpan | >> s1\!\stopTextSpan >> } >> >> However, there’s a

Re: how to give more horizontal space to the voice follower

2020-11-02 Thread Werner LEMBERG
>> Looking up the e-mail archive for 'lilypond-devel' I couldn't find >> relevant info. Do you have a link? > > Have a look at > https://lilypond.org/doc/v2.21/Documentation/notation/spanners.fr.html > > Apparently some spacing calculations need to be triggeredby hand. Well, that's exactly the

Re: how to give more horizontal space to the voice follower

2020-11-02 Thread Werner LEMBERG
>> >> \override VoiceFollower.springs-and-rods = #ly:spanner::set-spacing-rods >> >> In case there aren't serious reasons against doing it I suggest to >> change the default; I would also prepare a patch. > > I vaguely remember having #ly:spanner::set-spacing-rods the default > caused problems

Re: how to give more horizontal space to the voice follower

2020-11-02 Thread Werner LEMBERG
>>> Why doesn't the `VoiceFollower` grob obey the `minimum-length` >>> property (inspite of supporting the `spanner-interface`)? What am >>> I missing? >> >> add >> >> \override VoiceFollower.springs-and-rods = #ly:spanner::set-spacing-rods What's actually the reason to not have this set by d

Re: how to give more horizontal space to the voice follower

2020-11-01 Thread Werner LEMBERG
>> Why doesn't the `VoiceFollower` grob obey the `minimum-length` >> property (inspite of supporting the `spanner-interface`)? What am I >> missing? > > add > \override VoiceFollower.springs-and-rods = #ly:spanner::set-spacing-rods > ;) Thanks! Werner

how to give more horizontal space to the voice follower

2020-11-01 Thread Werner LEMBERG
Dear LilyPond community, please consider this MWE: << \new Staff = "R" { \showStaffSwitch s2. c'''4 | \change Staff = "L" a4 \override VoiceFollower.minimum-length = #20 s2 a4 | \change Staff = "R" c'''4 } \new Staff = "L" { s1 | s1 | s4 } >> W

Re: Point & Click with Atom

2020-11-01 Thread Werner LEMBERG
> ¹ I'm not sure of the distinction between Character and Column in the > textedit string. Perhaps it's used by spreadsheets or something. There exist 'wide characters', for example CJKV ideographs, which use two columns per character on the terminal. Werner

Re: vertical positioning of text spanners and hairpins

2020-10-31 Thread Werner LEMBERG
> From > : > "changing outside-staff-priority of the Hairpin object will have no > effect on the vertical positioning of hairpins – you must change > outside-staff-priority of the associated DynamicLineSpanner object

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