Re: python/convertrules.ly: Use bare rhythms after ties for simple cases (issue 49470049)

2014-01-14 Thread tdanielsmusic

On 2014/01/14 04:40:01, dak wrote:


Uh, I think in a comparable situation we decided that the LM should

not be

converted along with the rest since that would lead to use of a

feature before

its explanation.  I forgot to revert the LM changes here.


It's not quite the same.  The LM is fine with these
changes.  Unlike the NR the change makes nothing
inconsistent.  It's just that they should be explained
first.  So best to leave them in and I'll make sure
some text gets added soonish.

Trevor


https://codereview.appspot.com/49470049/

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: how close are we to having an "addAt" or "insertAt" feature?

2014-01-14 Thread Kieren MacMillan
Hi Werner,

> I suggest that such a command allows for a third, optional parameter,
> which makes \addAt relative to the `rehearsalMark' property.

If you’re talking about \mark \default, then I could see the benefit of that. 
The problem is, most of us overload \mark for a bunch of non \default stuff 
(e.g., ‘eyeglasses’, text instructions, etc.), because there’s no other 
mechanism available. And I doubt it would be easy to implement your suggestion 
“filtered” to only the \default marks.

But I’m always happy to be proven wrong!

Cheers,
Kieren.
___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: how close are we to having an "addAt" or "insertAt" feature?

2014-01-14 Thread James

On 14/01/14 07:17, Jan-Peter Voigt wrote:

Hi Kieren and all,

I use an engraver for this task, that looks for overrides, sets and
clefs at the current measure (of the context consisting this engraver)
and at the current moment inside this measure. So this is a little bit
different from your example in that it listens during compilation, while
your example modifies a music expression /before/ compilation.

My intention was the ability to use a pen and mark all grobs to modify
on a printed sheet of music - without any links to the source.
Now I just write

\editionMod {...}

and I can switch on and off the edition-overrides as needed.
This approach should be able to produce any grob, but beside overrides
and sets I have only implemented inserting clefs and TextScript-grobs.

To implement a function, that modifies the music expression without
compiling means, that you have to know the run of time-signatures. If
you don't know that, you don't know when measure X starts.
If you have a global variable for all time signatures, you might look
for all time-signature-events and accumulate them to produce a
skip-expression.

addAt =
#(define-music-function (parser location music measure moment
addition)(ly:music? integer? ly:moment ly:music?)
; ... create myAdd = { \skip #to-measure-moment $addition }
; and return
(make-music 'SimultaneousMusic 'elements (list music myAdd))
)

HTHOIALI (hth or is at least interesting)

Cheers,
Jan-Peter


Could you give a working .ly example?

It might prove helpful for other users that cannot necessarily 
understand scheme (like me :) )


Also if it compiles on 2.14 then we could add it to the LSR for other users.

James

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Avoid macros in SATB framework. (issue 51230043)

2014-01-14 Thread dak


https://codereview.appspot.com/51230043/diff/20001/ly/satb.ly
File ly/satb.ly (right):

https://codereview.appspot.com/51230043/diff/20001/ly/satb.ly#newcode75
ly/satb.ly:75: #(define-once Key *unspecified*)
I don't see that using some Scheme interface rather than providing that
facility on the LilyPond level makes a lot of sense.  For one thing,
this will not overload identifiers defined in the Guile module rather
than the parser even though

Key = \key\default

would do.  Let's keep in mind that the whole idea of the satb template
is not as much as getting a single job done, but rather for us to start
developing a template infrastructure.  That means that whenever a
particular facility is not available in an immediately useful manner, we
want to define it (not in the template, but in LilyPond proper) rather
than work around it.

The goal is not just that an ordinary user finds it easy to _use_ a
particular template, but also that he or she finds it easy to define his
own templates.  That's what we need to get a template ecosystem off the
ground.

https://codereview.appspot.com/51230043/

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Pre-review questions about image(s) and translations

2014-01-14 Thread Urs Liska

Hi,

I'm going to continue my website work.
As discussed earlier I have written an additional page about the 
editing->compiling concept. While this is essentially self-evident it 
seems that we need an additional step to get new users on the right 
track here. The page will be added between "Text input" and the "Easier 
editing" page with the editors' list.


Before uploading a patch for review I have a set of technical questions 
regarding images.


You can see a draft of the new page at 
http://www.ursliska.de/lilyweb/editing.html (any clickable items won't 
work there).
Although I will of course listen to comments about the content I would 
appreciate if the discussion could mostly concentrate on the technical 
issues.


As you can see I have created a flowchart to visualize the relation 
between the different parts of the editing cycle.


If it were simple the two PNG files I knew that I would have to add them 
to lilypond-extra and open a pull request so Graham could add it there.
But: This image is generated with LaTeX and contains text that should be 
localized.


So:
a) in what form should I provide such an image that it can be
translated and modified in the future? I.e. I would prefer to add the 
.tex source somewhere and have some automated way to process it 
(including the conversion to PNG which I've done manually for now).
b) is there a way to provide a way to generate vector versions for use 
in the PDF manuals?


Urs

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: python/convertrules.ly: Use bare rhythms after ties for simple cases (issue 49470049)

2014-01-14 Thread tdanielsmusic

LGTM
I'll raise an issue for LM documentation

https://codereview.appspot.com/49470049/

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: how close are we to having an "addAt" or "insertAt" feature?

2014-01-14 Thread Kieren MacMillan
Hi Mike (et al.),

>> What would be involved in developing a feature to add notes or tweaks at an 
>> arbitrary moment within a music expression?
>> music = \addAt (4 3/8) \global \once \override RehearsalMark.extra-offset 
>> #’(-1 . 0)

> we’re about a half-day’s work away from a hack that doesn’t involve iterators.
> If we’re gonna touch the C++ iterators, it’ll require more design strategy 
> and will take more time.

What would be the benefit of “touching the C++ iterators”?

Thanks,
Kieren.
___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


PATCHES: Countdown for January 18th - 06:00 GMT

2014-01-14 Thread James

Hello,

3798 
 
	Defect 	David Kastrup 	push 	Bad beam exceptions in bagpipe.ly 	
3794 
 
	Enhancement 	David Kastrup 	push 	Patch: Fix doc string for 
ly:context-def-lookup 	
3793 
 
	Enhancement 	David Kastrup 	push 	Patch: Allow scheme functions and 
identifiers to function as output definitions 	
3783 
 
	Defect 	David Kastrup 	push 	midi: tremolos entered without ':[number]' 
produce warning and are not reflected in midi output 	







3804 
 
	Enhancement 	Urs Liska 	countdown 	Patch: Web: Text-input: make LM 
reference more friendly. 	
3797 
 
	Defect 	David Kastrup 	countdown 	Music_wrapper_iterator does not 
follow original context setting of child 	
3792 
 
	Defect 	David Kastrup 	countdown 	v2.19: \time change under 
\alternative triggers bug   Regression 	







3810 
 
	Crash 	David Kastrup 	review 	Partcombiner is unhappy about repeated 
durations 	







3239 
 
	Enhancement 	Janek Warchol 	waiting 	Patch: rewrite 
Self_alignment_interface 	May 2013
3186 
 
	Ugly 	Janek Warchol 	waiting 	Positioning of "8" under clef symbol in 
G_8 clef   Bounty 	Apr 2013
3156 
 
	Enhancement 	Mike Solomon 	waiting 	Patch: Prevents vertical axis 
groups with empty skylines 	Feb 2013
3134 
 
	Enhancement 	Mike Solomon 	waiting 	Patch: Removes the translate_axis 
call from axis-group-interface outside-staff positioning. 	Aug 18
2812