Re: Generating music expressions from within \applyContext?

2016-07-25 Thread Jan-Peter Voigt
Hi, I haven't a working solution, but some thoughts: The \applyContext is one event in time, so you can set context-properties *once*. This might be a case for a midi-performer. This is an engraver inside the midi-block, so it should be possible to create a scheme-performer to set the

Generating music expressions from within \applyContext?

2016-07-25 Thread H. S. Teoh
Hi, I have a Scheme function that returns a music expression. Unfortunately, the expression returned depends on the properties of the context it's evaluated in. I.e., based on the current setting of Staff.dynamicAbsoluteVolumeFunction it will return a different number of events in the music

Re: Making a multi measure rest shorter

2016-07-25 Thread Steven Weber
On 7/25/16, 3:26 PM, "Thomas Morley" wrote: 2016-07-25 22:45 GMT+02:00 Steven Weber : > I’ve found lots of various ways to make a multi measure rest longer, but I’d > like to make one shorter. I’m trying to typeset a piece with a

Re: Setting beams with new \time 4/4 command

2016-07-25 Thread David Wright
On Mon 25 Jul 2016 at 21:21:26 (+0200), David Kastrup wrote: > David Wright writes: > > > I like being able to type \time 2,2,2,2 8/8 > > but is there a way to specify the same beaming pattern > > as briefly when it's really 4/4, so I don't get groups > > of four

Re: Making a multi measure rest shorter

2016-07-25 Thread Thomas Morley
2016-07-25 22:45 GMT+02:00 Steven Weber : > I’ve found lots of various ways to make a multi measure rest longer, but I’d > like to make one shorter. I’m trying to typeset a piece with a cadenza, and > the standard \cadenzaOn and Off have some issues I haven’t figured out how

Re: getting repeat bar lines to print across an entire system

2016-07-25 Thread Robert Edge
> And now I'm pissed, maybe I should revert this part of the code. > Okay, you do whatever you want man. We'll just say it works as intended by the developer. Or doesn't, but is too hard to fix. Or whatever. There will be no bug report. Got it. ___

Re: getting repeat bar lines to print across an entire system

2016-07-25 Thread Thomas Morley
2016-07-25 22:45 GMT+02:00 Robert Edge : > >> >> So I'd say this part of the code is not broken but works as it should, >> it's just not like you'd expect it should be. >> > > I'm not sure where you are seeing charts drawn like that. I did not say having seen such

Making a multi measure rest shorter

2016-07-25 Thread Steven Weber
I’ve found lots of various ways to make a multi measure rest longer, but I’d like to make one shorter. I’m trying to typeset a piece with a cadenza, and the standard \cadenzaOn and Off have some issues I haven’t figured out how to work around yet (specifically, bar lines in the cadenza keep

Re: getting repeat bar lines to print across an entire system

2016-07-25 Thread Robert Edge
> > So I'd say this part of the code is not broken but works as it should, > it's just not like you'd expect it should be. > > I'm not sure where you are seeing charts drawn like that. I'm used to seeing this: http://www.saxuet.qc.ca/TheSaxyPage/Realbook%20C/Four.jpg or this:

Re: Setting beams with new \time 4/4 command

2016-07-25 Thread David Kastrup
David Wright writes: > I like being able to type \time 2,2,2,2 8/8 > but is there a way to specify the same beaming pattern > as briefly when it's really 4/4, so I don't get groups > of four quavers? I have no idea what you mean with "when it's really 4/4". Is the

Setting beams with new \time 4/4 command

2016-07-25 Thread David Wright
I like being able to type \time 2,2,2,2 8/8 but is there a way to specify the same beaming pattern as briefly when it's really 4/4, so I don't get groups of four quavers? Cheers, David. ___ lilypond-user mailing list lilypond-user@gnu.org

Re: getting repeat bar lines to print across an entire system

2016-07-25 Thread Thomas Morley
2016-07-24 15:53 GMT+02:00 Robert Edge : > So there is a snippet here: http://lsr.di.unimi.it/LSR/Item?id=1032 > > That gets pretty close. > > I am assuming that no one writes that much scheme code unless the > functionality is broken in Lilypond proper. I'll prepare

OT: Barrios - Una limosna

2016-07-25 Thread Mario Moles
https://www.youtube.com/watch?v=20LtiaBra7M-- /oiram/bin/selom/ /Da ognuno secondo le proprie capacità ad ognuno secondo i propri bisogni./ /MIB-kernellinux-tester/ http://mariomoles.altervista.org/[1] Linux[2] MIB[3] Lilypond[4] Frescobaldi[5] Rosegarden[6] [1]

Re: Retrieving 'tweaks from a grob

2016-07-25 Thread David Kastrup
David Kastrup writes: > Don't do that. The acknowledger is the place for _setting_ > properties, and of course a first acknowledger has no chance to see > properties set by a second acknowledger. Instead, use the > acknowledger to _record_ the grobs. Then you use the >

Re: Retrieving 'tweaks from a grob

2016-07-25 Thread David Kastrup
Urs Liska writes: > Hi all, > > in the ScholarLY package we're attaching a (newly defined) property > 'input-annotation to a grob, either through an implicit \once \override > or a \tweak, depending on the invocation syntax: > > The attached file > annotate.ly > shows

Retrieving 'tweaks from a grob

2016-07-25 Thread Urs Liska
Hi all, in the ScholarLY package we're attaching a (newly defined) property 'input-annotation to a grob, either through an implicit \once \override or a \tweak, depending on the invocation syntax: The attached file annotate.ly shows both ways, first the override, then the tweak. Today I

Re: Adding space between staves and Dynamics

2016-07-25 Thread Alberto Simões
Hi, Simon It helped a lot. I confess that page is very difficult to understand. At least for me :-) Your suggestion worked great, but now I have almost no space between different line scores (getting the upper voice upper lyrics glues to the lower voice lower lyrics). I tried setting

Re: bis

2016-07-25 Thread David Nalesnik
On Mon, Jul 25, 2016 at 6:54 AM, wrote: > > Thanks a lot, I'll check it out! > > Erik > > > - Ursprungligt meddelande - > Från: > "Andrew Bernard" > > Till: > "lilypond-user Mailinglist" > Kopia: > > Skickat: > Mon, 25 Jul

Re: bis

2016-07-25 Thread erik
Thanks a lot, I'll check it out! Erik - Ursprungligt meddelande - Från: "Andrew Bernard" Till:"lilypond-user Mailinglist" Kopia: Skickat:Mon, 25 Jul 2016 19:23:40 +1000 Ämne:Re: bis Hi Erik, This is a use for a text spanner with

Re: tuplets in compound meter

2016-07-25 Thread Urs Liska
Am 25.07.2016 um 12:00 schrieb Malte Meyn: > > > Am 25.07.2016 um 11:44 schrieb Andrew Bernard: >> So they are tuplet 10/9. Can you not simply set the tuplet numbers >> accordingly? >> >> \once \override TupletNumber.text = "" > > I could. But like my solutions with scaled durations, the input >

Re: tuplets in compound meter

2016-07-25 Thread Andrew Bernard
Hi Malte, Does the input have to match the output? Does it have to be ‘real’? I never thought of lilypond that way. I have to do hundreds of these sorts of mods also. Can’t you just write a function and say something like: \tn 5 [And live with the ‘inelegance’?] Andrew On 25/07/2016,

Re: tuplets in compound meter

2016-07-25 Thread Malte Meyn
Am 25.07.2016 um 11:44 schrieb Andrew Bernard: So they are tuplet 10/9. Can you not simply set the tuplet numbers accordingly? \once \override TupletNumber.text = "" I could. But like my solutions with scaled durations, the input doesn’t really reflect the output. And when you have many of

Re: tuplets in compound meter

2016-07-25 Thread Andrew Bernard
Hi Malte, So they are tuplet 10/9. Can you not simply set the tuplet numbers accordingly? \once \override TupletNumber.text = "" What does Scriabin put for the tuplet number? I have to use this technique extensively for the New Complexity scores I engrave, where it gets a lot weirder than

tuplets in compound meter

2016-07-25 Thread Malte Meyn
Hi list, I’m setting Sriabin’s “Vers la flamme” in LilyPond. This piece in 9/8 contains tuplets where 5 quarter notes replace 9 eights, or 4 and a half quarters. But of course I cannot write \tuplet 5/4½ or \tuplet 5/(9/2). \tuplet 10/9 won’t help because it prints the numerator 10. I could

Re: bis

2016-07-25 Thread Andrew Bernard
Hi Erik, This is a use for a text spanner with centred text that I had been asking about on the list for some time, Eventually I wrote a function to do it with the kind help of Thomas Morley also. Very useful - I always said so! Have a look at this - it may do what you require. Andrew == snip

lilypond-book: warning: cannot detect textwidth from LaTeX

2016-07-25 Thread Federico Bruni
Hi folks I've searched the archives but couldn't find an answer to this problem. I have a file.lytex file which contains these lines: %% \documentclass[a4paper]{article} \usepackage[utf8]{inputenc} \begin{document}