Re: in-stave / between notes spacing?

2017-08-15 Thread Malte Meyn
Am 15.08.2017 um 00:15 schrieb Vlad Kudelin: Hello, thank you again everybody for the fantastic tool! I enjoy it more and more, most things become easier every day, except for those few that become harder ) Hope asking questions once in a while is all right. ...I've found a lot about vertical

Re: Remove all occurrencies of "0" fingerings

2017-08-15 Thread Marc Hohl
Am 08.08.2017 um 12:35 schrieb Thomas Morley: 2017-08-08 11:46 GMT+02:00 Marc Hohl : [...] Hi Marc, your initial code had two problems, comments inline: \override Fingering.stencil = #(lambda (grob) (let* ((text (ly:grob-property grob 'text)) (stencil (if (equal? text "0

Re: Remove all occurrencies of "0" fingerings

2017-08-15 Thread David Kastrup
Marc Hohl writes: > Am 08.08.2017 um 12:35 schrieb Thomas Morley: >> 2017-08-08 11:46 GMT+02:00 Marc Hohl : > [...] >> Hi Marc, >> >> your initial code had two problems, comments inline: >> >> \override Fingering.stencil = >>#(lambda (grob) >> (let* ((text (ly:grob-property grob 'text))

Re: Remove all occurrencies of "0" fingerings

2017-08-15 Thread Marc Hohl
Am 15.08.2017 um 10:15 schrieb David Kastrup: Marc Hohl writes: [...] For the record: First, I used the solution with grob-transformer, but then I found out that removing the grob completely yields to problems with glissando lines between fingerings, so I switched to the solution given above.

XML import (WAS: A premiere by Daahoud Salim, typeset with LilyPond)

2017-08-15 Thread Francisco Vila
>From my work on Daahoud Salim's sextet, I can tell to those interested some things to do and some not to. Today I am focusing on the XML import alone. Long story short: avoid it. This is a very small piece when compared to dozens of huge works we all in the list have seen on the years, but it is

Re: tweaks don't apply to post-function grob

2017-08-15 Thread Kieren MacMillan
Hi David, > The tweak applies fine but self-alignment-X is consulted in the normal > callback for X-offset which has been replaced by a callback using the > formula (- 1 (/ width 2)) . If you want self-alignment-X to be heeded > in there in some manner, you need to incorporate it in the callback

Re: tweaks don't apply to post-function grob

2017-08-15 Thread David Kastrup
Kieren MacMillan writes: > Hi David, > >> The tweak applies fine but self-alignment-X is consulted in the normal >> callback for X-offset which has been replaced by a callback using the >> formula (- 1 (/ width 2)) . If you want self-alignment-X to be heeded >> in there in some manner, you need

Re: XML import (WAS: A premiere by Daahoud Salim, typeset with LilyPond)

2017-08-15 Thread Richard Shann
On Tue, 2017-08-15 at 13:25 +0200, Francisco Vila wrote: > From my work on Daahoud Salim's sextet, I can tell to those interested > some things to do and some not to. Today I am focusing on the XML > import alone. > > Long story short: avoid it. [...] > > My advice to all copyists is: unless you

Re: tweaks don't apply to post-function grob

2017-08-15 Thread Kieren MacMillan
Hi David (et al.), >> Can \dynText or similar be fashioned in such a way that leaves open >> the possibility of [effectively] tweaking the grob later in the >> process? > > I repeat: If you want self-alignment-X to be heeded in there in some > manner, you need to incorporate it in the callback fo

Re: tweaks don't apply to post-function grob

2017-08-15 Thread David Kastrup
Kieren MacMillan writes: > Hi David (et al.), > >>> Can \dynText or similar be fashioned in such a way that leaves open >>> the possibility of [effectively] tweaking the grob later in the >>> process? >> >> I repeat: If you want self-alignment-X to be heeded in there in some >> manner, you need

Re: tweaks don't apply to post-function grob

2017-08-15 Thread Kieren MacMillan
Hi David, > I have no idea how you actually call "seems to work", > namely just _how_ you want self-alignment-X to get factored in, > considering that the whole point of the dynText function is > to figure out an alignment yielding a text-dependent reference point. Sorry I haven't been clear. He

Re: tweaks don't apply to post-function grob

2017-08-15 Thread Kieren MacMillan
Hello David (et al.), > Using the edition-engraver, I'd like to set self-alignment-X = #RIGHT (which > would allow the note spacing to normalize) and then use either X-offset or > extra-offset to nudge the dynamic back to the right (to approximate the > "proper" alignment). If I can do that, th

Re: tweaks don't apply to post-function grob

2017-08-15 Thread David Kastrup
Kieren MacMillan writes: > Hi David, > > I have no idea how you actually call "seems to work", > > namely just _how_ you want self-alignment-X to get factored in, > > considering that the whole point of the dynText function is > to figure out an alignment yielding a text-dependent reference p

Re: tweaks don't apply to post-function grob

2017-08-15 Thread Kieren MacMillan
Hi David, > you still fail to specify _what_ you actually want. Sigh. I have specified exactly what I want. Several times. I'll do it again, in yet another wording, hoping you find this more clear: 1. I want a function which combines text and dynamics (as both \dynamic and \dynText do). 2. I

Re: tweaks don't apply to post-function grob

2017-08-15 Thread David Kastrup
Kieren MacMillan writes: > Hi David, > >> you still fail to specify _what_ you actually want. > > Sigh. I have specified exactly what I want. Several times. I'll do it > again, in yet another wording, hoping you find this more clear: I give up. As long as you refuse to answer the question I hav

Re: tweaks don't apply to post-function grob

2017-08-15 Thread Kieren MacMillan
Hi David, > As long as you refuse to answer the question I have repeated > at least 3 times by now, there is no implementable specification. > > You have again _completely_ failed to specify what you actually expect > self-alignment-X to do over its range of values in the context of \dynText . I

Re: tweaks don't apply to post-function grob

2017-08-15 Thread David Kastrup
Kieren MacMillan writes: > Hi David, > >> As long as you refuse to answer the question I have repeated >> at least 3 times by now, there is no implementable specification. >> >> You have again _completely_ failed to specify what you actually expect >> self-alignment-X to do over its range of val

Re: XML import (WAS: A premiere by Daahoud Salim, typeset with LilyPond)

2017-08-15 Thread Francisco Vila
On 15/08/17 15:01, Richard Shann wrote: > I agree with this advice, which is why Denemo's MusicXML is still so > primitive. It has a few hiccups but it ignores most of what is not the > the music per se but is instead decisions about how the music should > look. I think LilyPond would be well serve

Re: Git version control

2017-08-15 Thread Francisco Vila
On 10/08/17 23:11, Graham King wrote: > \header { > > tagline = \markup{ \center-column{ > \concat {"Music engraving by Lilypond " > $(lilypond-version) "-www.lilypond.org > " > } > \line { "Version control for

functions to ignore grob during spacing calculations

2017-08-15 Thread Kieren MacMillan
Hello all, In the following snippet, there are three macros which "trick" the spacing engine into ignoring a grob during horizontal and/or vertical spacing calculations: SNIPPET BEGINS \version "2.19.64" ignoreH = \tweak horizontal-skylines #f \tweak extra-spacing-width #empty-in

Re: functions to ignore grob during spacing calculations

2017-08-15 Thread David Kastrup
Kieren MacMillan writes: > Hello all, > > In the following snippet, there are three macros which "trick" the > spacing engine into ignoring a grob during horizontal and/or vertical > spacing calculations: > > SNIPPET BEGINS > \version "2.19.64" > > ignoreH = > \tweak horizontal-skylines

Re: functions to ignore grob during spacing calculations

2017-08-15 Thread Kieren MacMillan
Hi David, > It helps to actually test the programs: there are warnings about bad > values for horizontal-skylines and vertical-skylines because #f isn't > the same as ##f . When I run it, this is my log output: Starting lilypond 2.19.64 [tempTest3.ly]... Processing `/Users/kmac/Documents/01_musi

Can \lyricmode be applied to specific measures and exempted from others?

2017-08-15 Thread Reilly Farrell
Hi All, I'm curious to know if there is a way to apply \lyricmode to a certain number of measures and then terminate it. My chief concern is that using lyricmode creates excess space between the system and dynamic markings for measures where no lyrics are present. Ideally, I would like to be abl

Re: Can \lyricmode be applied to specific measures and exempted from others?

2017-08-15 Thread Kieren MacMillan
Hi Reilly, > I'm curious to know if there is a way to apply \lyricmode to a certain number > of measures and then terminate it. My chief concern is that using lyricmode > creates excess space between the system and dynamic markings for measures > where no lyrics are present. Can you give a [c

Re: XML import (WAS: A premiere by Daahoud Salim, typeset with LilyPond)

2017-08-15 Thread Jacques Menu Muzhic
Hello Francisco, > - The converted code has \stemUp and \stemDown in every single note, which > had to be searched and replaced. Also all articulations are forced up or > down. Don’t know why musicxml2ly recently enforced such behavior, without any option to prevent it. The same holds for \po

Re: XML import (WAS: A premiere by Daahoud Salim, typeset with LilyPond)

2017-08-15 Thread Francisco Vila
On 15/08/17 20:25, Jacques Menu Muzhic wrote: > Hello Francisco, > >> - The converted code has \stemUp and \stemDown in every single note, >> which had to be searched and replaced. Also all articulations are >> forced up or down. > > Don’t know why musicxml2ly recently enforced such behavior, with

Re: XML import (WAS: A premiere by Daahoud Salim, typeset with LilyPond)

2017-08-15 Thread Francisco Vila
On 15/08/17 20:55, Francisco Vila wrote: > All in all, one of the most usefulness of LilyPond is completely lost, > which is to make beautifully typeset music automatically from a terse, > meaningful symbolic language. > It must be said, however, that a blind Spanish user today told me that somethi

Re: functions to ignore grob during spacing calculations

2017-08-15 Thread David Kastrup
Kieren MacMillan writes: > Hi David, > >> It helps to actually test the programs: there are warnings about bad >> values for horizontal-skylines and vertical-skylines because #f isn't >> the same as ##f . > > When I run it, this is my log output: > > Starting lilypond 2.19.64 [tempTest3.ly]... >

improving Janek's \dynamic function (for combo dynamics)

2017-08-15 Thread Kieren MacMillan
Hello all, The snippet below includes Janek's \dynamic function, which has a rather lovely interface. Unfortunately, it doesn't align leading dynamics as expected (i.e., centered on the notehead). What's the easiest way to fix the function so that it does? Thanks, Kieren. %%% SNIPPET BEGINS

Slidein guitar music

2017-08-15 Thread Guy Stalnaker
All, I'm trying to notate a slide such that what I see is how I play it and I can't figure out how to do it. Right now I have this: e'8 g' b' e'' e' g' b' e'' | \grace{ e'8 \glissando } fs'8 _\markup { \italic { Rubato } } g' b' e'' fs' g' b' e'' | What I want is for the slide symbol

Slide in guitar music (Sorry -- wrong keys :-/)

2017-08-15 Thread Guy Stalnaker
All, I'm trying to notate a slide such that what I see is how I play it and I can't figure out how to do it. When I play it, I pluck the e' then slide to the fs' with a fair bit of rubato, then continue with the measure. I'd like this "slow slide" to be visible as a long slide symbol (\glissa

printing the current moment in a context

2017-08-15 Thread Kieren MacMillan
Hi all, Is there a function (2.19.64) that will output the current context moment (e.g., measure number and beat) as markup? In my polymetric scores, I need to target moments (using the edition-engraver), and it currently involves a bit too much trial-and-error… Thanks, Kieren.