Re: Removing all dynamics from MIDI

2022-04-18 Thread David Kastrup
his is handled by the Note_performer . -- David Kastrup

Re: Unwanted font ligature

2022-04-15 Thread David Kastrup
f f z } and should be perfectly equivalent. > See > http://lilypond.org/doc/v2.23/Documentation/notation/formatting-text.html > > Best, > Jean > > > -- David Kastrup

Re: how to change extents of a grob?

2022-04-14 Thread David Kastrup
el exists for that, it does not make sense to export an interface. > How can I adjust the extents at this stage to fit the dimensions of > the stencil (even if LilyPond no longer needs and/or uses the values > for positioning)? Create a new stencil with different dimensions and use that. -- David Kastrup

Re: How do I merge a quarter-note with the second eighth-note of a pair?

2022-04-12 Thread David Kastrup
; > \oneVoice > a8. g16 g4 r8 g8 | > \bar "|." > } > } > > \score { > \new Staff { \melody } > } > %%% WHY would you merge the B quarter-note with the B eighth-note? They are not even in the same time-step. -- David Kastrup

Re: Question on multiple markups

2022-04-12 Thread David Kastrup
ide Score.MetronomeMark.X-offset=#10 c4 _"marc." ^"arco" \f c c c } -- David Kastrup

Re: installing lilypond-mode for emacs on Linux

2022-04-07 Thread David Kastrup
Paul Scott writes: > On 4/7/22 15:08, David Kastrup wrote: >> Paul Scott writes: >> >>> On 4/7/22 14:15, David Kastrup wrote: >>>> Paul Scott writes: >>>> >>>>> On 4/7/22 13:02, David Kastrup wrote: >>>>>> Paul

Re: installing lilypond-mode for emacs on Linux

2022-04-07 Thread David Kastrup
Paul Scott writes: > On 4/7/22 14:15, David Kastrup wrote: >> Paul Scott writes: >> >>> On 4/7/22 13:02, David Kastrup wrote: >>>> Paul Scott writes: >>>> >>>>> Greetings, >>>>> >>>>> I've forgotte

Re: installing lilypond-mode for emacs on Linux

2022-04-07 Thread David Kastrup
Paul Scott writes: > On 4/7/22 13:02, David Kastrup wrote: >> Paul Scott writes: >> >>> Greetings, >>> >>> I've forgotten too much.  I see the instructions for activating >>> lilypond-mode and am not remembering enough to get it to work. &g

Re: installing lilypond-mode for emacs on Linux

2022-04-07 Thread David Kastrup
Paul Scott writes: > Greetings, > > I've forgotten too much.  I see the instructions for activating > lilypond-mode and am not remembering enough to get it to work. > > TIA for any help, cd elisp make sudo make install probably. -- David Kastrup

Re: Unable to use repeat volta

2022-04-07 Thread David Kastrup
Omer Katzir writes: >> On 7 Apr 2022, at 18:03, David Kastrup wrote: >> >> Omer Katzir writes: >> >>> Using on macOS Monterey, compiled from macports >>> >>> Taken the snippet from >>> https://lilypond.org/doc/v2.23/Documentati

Re: German chords with uppercase bass

2022-04-07 Thread David Kastrup
le I don’t believe that this is common in Germany, I really would > like to get German chords (i.e. H instead of B) with uppercase bass > notes – as I know it from all my (German) songbooks. Any accordion music uses uppercase for bass notes and lowercase for chords. -- David Kastrup

Re: Unable to use repeat volta

2022-04-07 Thread David Kastrup
> Starting lilypond 2.22.2 [Untitled]... There is no guarantee that future extensions of LilyPond will be undocumented, so if you use documentation for future versions of LilyPond (compared to the version you use), you might run into problems occasionally. -- David Kastrup

Re: Mutopia?

2022-03-31 Thread David Kastrup
t one has to wonder what they need the Wayback Archive for. -- David Kastrup

Re: Mutopia?

2022-03-31 Thread David Kastrup
t 31, 2019. <https://github.com/MutopiaProject/MutopiaProject> The last activity of Chris Sawer on GitHub overall was in 2020. His Twitter account at https://twitter.com/cjsawer however appears still active. Maybe try contacting him via GitHub? -- David Kastrup

Re: missing something obvious about creating hairpins above the staff

2022-03-29 Thread David Kastrup
Kenneth Wolcott writes: > Hi; > > I'm obviously missing something trivially simple. > > I see how to display dynamics above the staff, but I do not see how > to display hairpins above the staff. Same way? { c'1^\< c'1\! } works just fine here. -- David Kastrup

Re: Feature request: Fix cascading error messages

2022-03-29 Thread David Kastrup
citly cranking out stuff with thin individual user-convenience layers on top. We don't have the equivalence of document classes, and no coherent system of what amounts to LaTeX's package system. -- David Kastrup

Re: Feature request: Fix cascading error messages

2022-03-29 Thread David Kastrup
eady delegates the typesetting until after the whole input file has been parsed. -- David Kastrup

Re: Feature request: Fix cascading error messages

2022-03-29 Thread David Kastrup
n up by more waste in programming" is a universal phenomenon. -- David Kastrup

Re: Feature request: Fix cascading error messages

2022-03-28 Thread David Kastrup
ror log off sequentially these days rather than just restarting compilation after fixing a limited set of problems. -- David Kastrup

Re: Should \partial accept music instead of duration?

2022-03-27 Thread David Kastrup
Jean Abou Samra writes: > Le 27/03/2022 à 16:23, David Kastrup a écrit : >> It doesn't share the same music objects for different notes since $(...) >> makes a ly:music-deep-copy anyway that will deduplicate the elements of >> SequentialMusic while copying them. The in

Re: Should \partial accept music instead of duration?

2022-03-27 Thread David Kastrup
intermediate expression is indeed not fit for every use, but the final deep copy fixes that. -- David Kastrup

Re: LilyPond 2.23.7 released

2022-03-27 Thread David Kastrup
the syntax changed? > > This example works completely fine for me (on Linux). Where are you > testing this, on Linux, macOS, or Windows? This is very likely also quite locale-dependent. -- David Kastrup

Re: Help with ties and accidentals

2022-03-26 Thread David Kastrup
mes apparently try to tell LilyPond how the notes are to be _printed_ rather than how they are to _sound_. This is not how LilyPond's pitch entry works. Please read the Learning Manual section about pitches in <https://lilypond.org/doc/v2.22/Documentation/learning/pitches-and-key-signatures#warni

Re: Help with ties and accidentals

2022-03-26 Thread David Kastrup
o write bes ~ bes here. You might want to read the LilyPond tutorial: it is intended to be comparatively compact sequential reading introducing the main LilyPond concepts and get you started. -- David Kastrup

Re: 'baroque' time signatures

2022-03-22 Thread David Kastrup
st beat moments other than 4 or possibly 8. Which means that you have to juggle with \scaleDurations and its ilk when generating MIDI. If we don't get to see actual compilable code and/or the generated MIDI files, I doubt we will be able to help him. -- David Kastrup

Re: Should \partial accept music instead of duration?

2022-03-21 Thread David Kastrup
not really on-board with the same regarding \partial/\pickup : the overlap in semantics is different in character. -- David Kastrup

Re: can someone point me to complete documentation for the partial command argument syntax?

2022-03-20 Thread David Kastrup
Wols Lists writes: > On 19/03/2022 20:01, David Kastrup wrote: >> Sam Roberts writes: >> >>> I tried so hard to be accurate, but I missed something: >>> >>> On Sat, Mar 19, 2022 at 12:38 PM Sam Roberts wrote: >>>> After experimentation,

Re: Should \partial accept music instead of duration?

2022-03-20 Thread David Kastrup
be issued whenever a user applies the older syntax; > this would inform the user of the impending breaking change while > still allowing existing code to compile. When it is convenient, a > future release would only support music as the argument. 4. _is_ valid music. -- David Kastrup

Re: can someone point me to complete documentation for the partial command argument syntax?

2022-03-19 Thread David Kastrup
nce_ a full bar but how long it is _to_ a full bar. As such, you'd usually see ... \time 3/4 \partial 4 c4 | ... in typical contexts. -- David Kastrup

Re: Opposite of Laissez Vibrer?

2022-03-11 Thread David Kastrup
ities, but not really fundamentally defining what they actually are, and if you have need for both, their utterly different naming and manual location essentially doubles the search work to figure out how to use them. -- David Kastrup

Re: How to change appearance of multimeasure rest?

2022-03-07 Thread David Kastrup
measure. What am I missing? > > Or is there a better way to obtain what I want? \override MultiMeasureRest.usable-duration-logs = #'(0) -- David Kastrup

Re: [HELP] Change notehead font-size depending on note duration

2022-03-01 Thread David Kastrup
default) (let ((scale (magstep (- 2 (ly:duration-log (ly:event-property (event-cause grob) 'duration)) (ly:stencil-scale default scale scale) \relative c' { \temporary \override NoteHead.stencil = #resized-stencil c1 | c2 d4 e8 f16 g32 a64 b128 c } -- David Kastrup

Re: My Tuba+Piano engravings: during midi playback, the Piano dominates the Tuba; why?

2022-02-28 Thread David Kastrup
)) ("violin" . (0.2 . 1.0)) ("viola" . (0.1 . 0.7)) ("cello" . (0.2 . 0.8)) ("contrabass" . (0.2 . 0.8)) ) I don't know what MIDI-expander those values were intended for, to be honest. -- David Kastrup

Re: Alternative to \parallelMusic?

2022-02-21 Thread David Kastrup
ure to line up with the > half notes. Maybe something like this? \new Voice = "main" { \key d \major fis8 g b e' fis g b b'~ | 4. 8 \voices 1,"main" << { a' a' g' fis'~ | 4. } \\ { \voiceTwo 2 \oneVoice } >> } -- David Kastrup

Re: Failure to properly display appoggiatura inside a repeat volta

2022-02-16 Thread David Kastrup
wo } >> \new Staff << { \lh_one } \\ { \lh_two } >> >> >> \layout {} } \score { \unfoldRepeats { << \new Staff { \set Staff.midiInstrument = "trumpet" \trumpet } \new Staff { \set Staff.midiInstrument = "acoustic grand" << { \rh_one } \\ { \rh_two } >> } \new Staff { \set Staff.midiInstrument = "acoustic grand" << { \lh_one } \\ { \lh_two } >> } >> } \midi {} } -- David Kastrup

Re: Possible bug: Grace note at the beginning makes instrumentName disappear?

2022-02-16 Thread David Kastrup
th { instrumentName = ... } ... in order to have instrumentName exist from the beginning of the context's life-time rather than from its first beat (which may be later in the case of grace notes). -- David Kastrup

Re: Lilypond and Windows XP 32 bits

2022-02-14 Thread David Kastrup
is also very insecure > by now. If you cannot, the only solution I can imagine > will be to run an outdated version of LilyPond like 2.18. Well, wouldn't it be reasonable then if our download page ceased declaring Windows 2000 and Windows XP as supported by our installers? -- David Kastrup

Re: More about stencil

2022-02-14 Thread David Kastrup
this task. Though it can be the first step of getting it there. -- David Kastrup

Re: Markup problem

2022-02-13 Thread David Kastrup
"TeXGyre Schola" #:factor (/ staff-height pt 20) )) top-margin = 2 \cm left-margin = 2 \cm bottom-margin = 2\cm right-margin = 2\cm } and yes, that's a stupid interface for achieving that purpose. -- David Kastrup

Re: inconsistent \RemoveEmptyStaves action

2022-02-12 Thread David Kastrup
xt { > \Staff >\RemoveEmptyStaves > } > } > \midi { } > } > Please point to my stupid errors. > thanks > J File: lilypond-internals.info, Node: PianoStaff, Next: RhythmicStaff, Prev: PetrucciVoice, Up: Contexts 2.1.24 ‘PianoStaff’ --- Just like ‘GrandStaff’, but the staves are only removed together, never separately. -- David Kastrup

Re: LilyPond 2.23.6 released

2022-02-09 Thread David Kastrup
tiple installed versions of LilyPond. -- David Kastrup

Re: Setting relative pitch as a global declaration?

2022-02-09 Thread David Kastrup
vement2_part2 \movement3_part2 } I find that a pretty bad idea since changes in \movement1_part1 can shift the octave of movement2_part1 around. I think it makes more sense to do octave shifts via \transpose rather than tieing the internals of one passage to the next passage at a completely different place in the source. -- David Kastrup

Re: Setting relative pitch as a global declaration?

2022-02-09 Thread David Kastrup
Jean Abou Samra writes: >> Le 09/02/2022 14:43, David Kastrup a écrit : >> >> > Though this might not be considered very clean. >> The word "atrocity" readily suggests itself. >> >> I don't think I have thought of using #{ ... \etc #} as k

Re: Setting relative pitch as a global declaration?

2022-02-09 Thread David Kastrup
before and/or connecting this to toplevel-music-functions now that the functions in there don't need a "parser" argument anymore. So that is a quite appealing piece of code, just that one would wanted to see its power applied for good. -- David Kastrup

Re: LilyPond 2.23.6 released

2022-02-08 Thread David Kastrup
b property path > > \once \override > > ParenthesesItem.stencils = #(lambda (grob) > > > I've had this in my standard include file for quite some time. What might I > need to change to remove the error? You could try running convert-ly on the file to find out. -- David Kastrup

Re: Font kerning

2022-02-07 Thread David Kastrup
her awkward, making something like shelf{}full omit the ff ligature only somewhat reliably: if there is a hyphenation pass over the paragraph in question, TeX will create the ff ligature in the "reconstitution pass". > Thus my "no" means to say that there is in fact not such a direct way > to adjust letter spacing in Lilypond. -- David Kastrup

Re: Font kerning

2022-02-07 Thread David Kastrup
it will get removed), and \hspace can take flexible glue specifications. And I am not sure but \kern may be transparent to hyphenation. LilyPond's \hspace takes no flexible glue specifications and cannot become a breakpoint either, and hyphenation is not a thing. So I have no idea what your "No." is supposed to mean. -- David Kastrup

Re: Font kerning

2022-02-07 Thread David Kastrup
Francesco Napoleoni writes: > In data lunedì 7 febbraio 2022 21:40:05 CET, David Kastrup ha scritto: >> Have you tried negative \hspace ? > > Yes, that’s what Valentin suggested, and indeed it does the trick. So how would you characterise this being any different from \kern ? -- David Kastrup

Re: Font kerning

2022-02-07 Thread David Kastrup
Francesco Napoleoni writes: > Thanks to all for your answers. The trick suggested by Valentin works for me. > > Anyway it looks like there’s no option to directly adjust letter spacing, > something like \kern macro in LaTeX, right? Have you tried negative \hspace ? -- David Kastrup

Re: How to catch post-events inside chords in an event listener?

2022-02-06 Thread David Kastrup
ons property of the a~ in the chord. Members of 'articulations are broadcast from non-chord notes (from which they are then removed) iff there is a listener for them, otherwise they just stay put on the broadcast notes. Members of 'articulations from chord notes are never broadcast. They always stay on the notes. -- David Kastrup

Re: Delay for list posts to arrive

2022-02-01 Thread David Kastrup
been similar with either the mailing list servers and/or the mail transport server itself for gnu.org. -- David Kastrup

Re: \include inside function

2022-02-01 Thread David Kastrup
] > > (my emphasis) > > So it's not going to work, because you can't "call" it. > It just inserts the contents of the file at that point. The point of calling \include was between #{ ... #} and nothing in there inherently gets "called". But you cannot place assignments in there. -- David Kastrup

Re: \include inside function

2022-02-01 Thread David Kastrup
ion. That will apparently be easier than to prove viability to me. -- David Kastrup

Re: \include inside function

2022-02-01 Thread David Kastrup
ing like > > fileA = \include "fileA.ly" > \fileA.score > > or something, whatever. Indeed, whatever all over. -- David Kastrup

Re: \include inside function

2022-02-01 Thread David Kastrup
s, actions that have immediate consequences _while_ still reading ahead. -- David Kastrup

Re: \include inside function

2022-02-01 Thread David Kastrup
tponing assignment. Since you removed every single bit of context, it's not even possible to say anymore what you want to be talking about. -- David Kastrup

Re: \include inside function

2022-02-01 Thread David Kastrup
d make using stuff in a different file much > more clean than the current include method. That's not possible because things like assignments aren't structure but action, and the subsequent interpretation of the file may well depend on those assignments being executed. -- David Kastrup

Re: \include inside function

2022-02-01 Thread David Kastrup
uot;2.23.3" > > includeFunction = #(define-void-function (filename) (string?) > #{ \include #filename #} ) > > \include "includetest.ily" > > % \includeFunction "includetest.ily" > > \score { \music } > > -- David Kastrup

Re: Remove My Address from Your Email List

2022-01-31 Thread David Kastrup
e should in most mail readers set up a message that, if sent, will unsubscribe the sending mailing address from the list. -- David Kastrup

Re: tagGroup question

2022-01-28 Thread David Kastrup
eping. I'll take a look, hopefully not affecting too many scores. -- David Kastrup

Re: tagGroup question

2022-01-28 Thread David Kastrup
David Kastrup writes: > Simon Albrecht writes: > >> Dear list, >> >> I have encountered some unexpected behaviour with tags and >> tagGroups. In the following example, I thought the two staffs should >> look the same, even without the \remo

Re: tagGroup question

2022-01-28 Thread David Kastrup
and b belong to different tag groups: that would point to even my expectations being more in line with yours than with what the implementation does. -- David Kastrup

Re: Extracting a "score diff" from two [or more] Lilypond sources

2022-01-24 Thread David Kastrup
ositions to apply them to? I just have problems figuring out the rationale behind that constraint. -- David Kastrup

Re: Extracting a "score diff" from two [or more] Lilypond sources

2022-01-24 Thread David Kastrup
, I would not think of paying them for the additional effort taken by hobbling themselves in that manner. -- David Kastrup

Re: Extracting a "score diff" from two [or more] Lilypond sources

2022-01-22 Thread David Kastrup
output with the new score. What version control system are you using for your score? It will probably easiest to look at the source code diffs and do a manual summary from those. -- David Kastrup

Re: learning (names of) markup commands in scheme: documentation

2022-01-21 Thread David Kastrup
kup ...), respectively, in scheme. > > > Yes, and not only make-CMD-markup, but more importantly > CMD-markup CMD-markup-function > which is the function into which your definition gets turned into, in > charge of doing the markup interpretation. -- David Kastrup

Re: Lilypond's English Horn MIDI instrument is non-transposing?

2022-01-15 Thread David Kastrup
as f gets printed as c . \transpose f c' means what you write as f gets printed as c' . > 2) Is VLC GM compatible. VLC does not play MIDI. You probably have some plugin active that diverts to another synth. Pretty much all of them, given suitable sound fonts, are GM2 compatible since we are talking about a standard more than 20 years old. -- David Kastrup

Re: Lilypond's English Horn MIDI instrument is non-transposing?

2022-01-13 Thread David Kastrup
ative c'' { % not strictly necessary, but a good reminder \transposition c' \key c \major g4( c8) r c r c4 } \new Staff = "clarinet" \with { instrumentName = \markup { Cl (B\flat) } midiInstrument = "clarinet" } \relative c'' { \transposition bes \key d \major a4( d8) r d r d4 } >> -- David Kastrup

Re: Transposing pitches in the lilypond file itself?

2022-01-13 Thread David Kastrup
Alasdair McAndrew writes: >> On Thursday 13 January 2022 01:02:17 (+11:00), David Kastrup wrote: >> >>> Emacs' LilyPond-mode is an abomination in desperate need of >>> maintenance or possibly rewriting from scratch. There is no reason >>> to use it unl

Re: Transposing pitches in the lilypond file itself?

2022-01-12 Thread David Kastrup
Paul Scott writes: > On 1/12/22 11:59, David Kastrup wrote: >> Paul Scott writes: >> >>> On 1/12/22 11:00, David Kastrup wrote: >>>> Paul Scott writes: >>>> >>>>> On 1/12/22 08:33, David Kastrup wrote: >>>

Re: Transposing pitches in the lilypond file itself?

2022-01-12 Thread David Kastrup
Paul Scott writes: > On 1/12/22 11:00, David Kastrup wrote: >> Paul Scott writes: >> >>> On 1/12/22 08:33, David Kastrup wrote: > (snip) >>> Even with the infrequent alignment problem I am quite happy with >>> lilypond-mode. >> Well, I use i

Re: Transposing pitches in the lilypond file itself?

2022-01-12 Thread David Kastrup
Paul Scott writes: > On 1/12/22 08:33, David Kastrup wrote: >> Paul Scott writes: >> >>>> On 1/12/22 07:02, David Kastrup wrote: >>>>> Alasdair McAndrew writes: >>>>> >>>>> Emacs' LilyPond-mode is an abomination i

Re: Transposing pitches in the lilypond file itself?

2022-01-12 Thread David Kastrup
to bring them all and in the darkness bind them. -- David Kastrup

Re: Chemnitzer Linuxtage 2022 Call for Presentations/Participation/Lectures

2022-01-10 Thread David Kastrup
Jonas Hahnfeld writes: > Am Montag, dem 10.01.2022 um 15:57 +0100 schrieb David Kastrup: >> Jonas Hahnfeld via Discussions on LilyPond development >> writes: >> >> > Am Mittwoch, dem 15.12.2021 um 23:44 +0100 schrieb David Kastrup: >> > > Hi, >

Re: Chemnitzer Linuxtage 2022 Call for Presentations/Participation/Lectures

2022-01-10 Thread David Kastrup
Jonas Hahnfeld via Discussions on LilyPond development writes: > Am Mittwoch, dem 15.12.2021 um 23:44 +0100 schrieb David Kastrup: >> Hi, >> >> after the "big" Linuxtag event folded, the Chemnitzer Linuxtage are the >> largest such event in Germany, typicall

Re: Feedback wanted: syntax highlighting in the LilyPond documentation

2022-01-04 Thread David Kastrup
gt;> horizontal alignment was something handled by the system not the >> programmer. Though I do concede this was probably a novelty, seeing >> as >> these days terminals and editors still rely on fixed pitch. >> >> [1]: http://www.literateprogramming.com/knuthweb.pdf >> >> >> -- Aaron Hill -- David Kastrup

Re: Feedback wanted: syntax highlighting in the LilyPond documentation

2022-01-03 Thread David Kastrup
r r 4. 8 } where the 4. is sucked into the second r likely unintentionally. Highlighting this is helpful. When there is a general "angry fruit salad" flavor pervading the highlighting with lots of colors everywhere, there just is not a lot of attention one can draw to actually important things. -- David Kastrup

Re: Feedback wanted: syntax highlighting in the LilyPond documentation

2022-01-01 Thread David Kastrup
haphazard, being neither systematically related to the actual category of the tokens nor to their function in user input. There does not appear to be a coherent payback for the inherent lowering of readability (and printability) from the lower contrast of colored passages. What is the information you want to convey better? -- David Kastrup

Re: Updating alists

2021-12-30 Thread David Kastrup
Processing `/tmp/bab.ly' Parsing.../usr/local/share/lilypond/2.23.5/scm/lily/lily.scm:978:21: In procedure ly:parse-file in expression (ly:parse-file file-name): /usr/local/share/lilypond/2.23.5/scm/lily/lily.scm:978:21: Wrong type (expecting pair): 0 And frankly, I don't see something wrong with that. Could use a better error locator, sure. But it's not the same as a core dump. -- David Kastrup

Re: Updating alists

2021-12-30 Thread David Kastrup
save the cost > of detecting them, as it does not seem to be a code path used heavily > at all. Overrides of subproperties are used pretty extensively in some newer code. Maybe it would make sense to check where code is being used before trying to change it? -- David Kastrup

Re: Updating alists

2021-12-30 Thread David Kastrup
s search for a matching pair, it could well set the > last cdr to add the new pair at the end. An empty list does not have a last cdr. -- David Kastrup

Re: point-and-click default

2021-12-30 Thread David Kastrup
personal idea would be to use relative links anyway, but that might possibly not work with the kind of "URL helper" setup that typically ends up calling lilypond-invoke-editor . -- David Kastrup

Re: Updating alists

2021-12-30 Thread David Kastrup
David Kastrup writes: > For stuff like > > > midiDrumPitches.ridecymbal = fis,, > midiDrumPitches.ridecymbala = b > midiDrumPitches.ridecymbalb = a > midiDrumPitches.crashcymbal = g > > > \midi > { > \context { > \Score > drumPitchT

Re: Updating alists

2021-12-30 Thread David Kastrup
is,, midiDrumPitches.ridecymbala = b midiDrumPitches.ridecymbalb = a midiDrumPitches.crashcymbal = g \midi { \context { \Score drumPitchTable = #(alist->hash-table midiDrumPitches) } } you'll get across-session bleed of assignments when making them destructive. Another option is, of course, to do what amounts to an in-place modification of a structural copy. -- David Kastrup

Re: \omit-ing a specific type of Script [globally or via edition-engraver]

2021-12-26 Thread David Kastrup
; Thanks, > Kieren. Sort of butt-ugly: \version "2.21" \layout { \context { \Score \override Script.stencil = #(grob-transformer 'stencil (lambda (grob default) (and (not (string=? (ly:event-property (event-cause grob)'articulation-type) "fermata")) default))) } } { c''1^\fermata_\espressivo } -- David Kastrup

Re: global alignment tweak for ChordName

2021-12-21 Thread David Kastrup
(seems like a Lisp rather than Scheme idea to me) but shouldn't be used by users for stuff not formally fitting the predicate. In my handwavy impression of trying to sort-of guess unwritten coding conventions. -- David Kastrup

Re: global alignment tweak for ChordName

2021-12-21 Thread David Kastrup
Valentin Petzel writes: > Hello Jean, hello David, hello Kieren, > > you should even be able to write (if sten (ly:stencil-extent sten)), > as the stencil should always be a stencil or #f. The return value will still be neither #f nor a dimension unless you replace "if"

Re: global alignment tweak for ChordName

2021-12-21 Thread David Kastrup
(let* ((xex (ly:stencil-extent sten X)) >   (width (interval-length xex))) > (max -2 (* -0.5 (max 0 (- width 2 >     } >   } > } > Your "if" has no else path. Maybe replace it with "and", assuming that ChordName knows how to deal with an X-offset of #f (which tends to be a valid setting for any predicate in grob properties). -- David Kastrup

Re: global alignment tweak for ChordName

2021-12-21 Thread David Kastrup
position 1 (expecting Stencil): #f > > Any thoughts about what might be going wrong? It is applied to a grob that has been given the \omit treatment? -- David Kastrup

Re: String at the bottom of a cover page without using \markup

2021-12-18 Thread David Kastrup
rs will automatically figure out just by repeatedly hearing in essence "no, that's wrong". You will need to more actively participate in defining what will and what will not be a manner of arriving at a page layout that you deem acceptable. -- David Kastrup

Chemnitzer Linuxtage 2022 Call for Presentations/Participation/Lectures

2021-12-15 Thread David Kastrup
nts, one will likely still meet up afterwards in the virtual space at the lecture hall and walk the usual tables looking for the usual participants, from the space of one's private computer. Anyone interested in promoting LilyPond there? -- David Kastrup

Re: String at the bottom of a cover page without using \markup

2021-12-15 Thread David Kastrup
Paolo Prete writes: > Hello, > > on the very first page of a score, is there a way to place a string at the > bottom (minus the bottom margin), possibly without using the footer markup? Isn't that more or less what the copyright header field is for? -- David Kastrup

Re: starting the first page on the left [in 2.21]

2021-12-14 Thread David Kastrup
bers (because my titling is based on > bookpart-page-number). > > Thanks, > Kieren. > > -- David Kastrup

Re: starting the first page on the left [in 2.21]

2021-12-14 Thread David Kastrup
ve a dim view towards this approach, too. Just want to mention this, recently having disassembled a Laserjet2300DTN in order to replace decomposed solenoid padding with felt pads so that it's good for longer runs of double-sided printing again. It's actually a nice music printer, doing black double-sided printing on a remarkably margin-less area. And the network interface makes it pretty fast, too. -- David Kastrup

Re: Crescendo after custom dynamic marking

2021-12-12 Thread David Kastrup
p pass collecting loose pieces in sequential expressions but it does not come in time for assembling the arguments of music functions. > In fact, the warning applies to 2.19.83, but not to 2.20, which > surprises me (as I had thought that commits to 2.20 were a subset of > those to 2.19.83.) -- David Kastrup

Re: Crescendo after custom dynamic marking

2021-12-12 Thread David Kastrup
Aaron Hill writes: > On 2021-12-12 3:19 pm, David Kastrup wrote: >> and one could instead define it as >> make-dynamic-script = >> #(define-event-function (str) (ly:markup?) >>(make-music 'AbsoluteDynamicEvent 'text str)) > > Did you mean just markup? or

Re: Crescendo after custom dynamic marking

2021-12-12 Thread David Kastrup
) (make-music 'AbsoluteDynamicEvent 'text str)) and one could instead define it as make-dynamic-script = #(define-event-function (str) (ly:markup?) (make-music 'AbsoluteDynamicEvent 'text str)) which would retain the old functionality while also providing \make-dynamic-script which of course does not follow naming conventions. Sigh. At any rate, it should be defined using define-event-function rather than define-music-function . -- David Kastrup

Re: Weird interference between OLL, input mode, note name language

2021-12-04 Thread David Kastrup
rser-include-string "\\include \"oll-core/internal/init.ily\""))) This will include oll-core/internal/init.ily if it hasn't yet been loaded, and that will likely be responsible for messing with the language. In short, what you quoted likely doesn't contain the culprit. -- David Kastrup

Re: clef change, invisible

2021-12-02 Thread David Kastrup
the bass clef at the end of the first line here: [code] > > Dear David, > thanks for Your reply. > Can it also be done with \once \override? a) why not ask LilyPond instead of me? b) why would you want to have an inconsistent style of changing clefs in your music? -- David Kastrup

Re: Adding to header using module-define! and alist with markups

2021-12-02 Thread David Kastrup
{ >\column { > \fromproperty #'header:piece > \justify-field #'header:instruction >} > } > } Well, \justify-field just takes a string, like \justify-string does. Maybe it should check for markup lists and pass them through \justify . -- David Kastrup

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