Re: \times - \tuplet (was Re: Issue 566 in lilypond: showStaffSwitch - \staffSwitchOn)

2008-01-30 Thread Valentin Villenave
2008/1/30, Han-Wen Nienhuys [EMAIL PROTECTED]:

 it's actually possible to have

   \func #2/3

 but you would loose the difference between 4/6 and 2/3

Wow, that's interesting! I have been browsing the whole R6RS
specification to see if Scheme could accept fractions as arguments,
but I couldn't come up with anything... Anyway, the use of a hash
character just makes it even more annoying than \times, \tuplet or
whatever.

I'd definitely vote for tuplet (or, in a more extreme way, my
minimalistic \t approach :-)

Cheers,
Valentin


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


Re: \times - \tuplet (was Re: Issue 566 in lilypond: showStaffSwitch - \staffSwitchOn)

2008-01-30 Thread Valentin Villenave
2008/1/30, John Mandereau [EMAIL PROTECTED]:

 See Guile docs; there may be installed in Info format on your GNU/Linux
 system.  I'm not a Scheme specialist, but I think you should generally
 consider RxRS as a standard specification, and always look at Guile docs
 to look for additional features.

Oh yes, great idea! If only I had the chance to be running Linux... :-(

I'll have a look into it.

Thanks,
Valentin


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


Re: \times - \tuplet (was Re: Issue 566 in lilypond: showStaffSwitch - \staffSwitchOn)

2008-01-30 Thread John Mandereau
Le mercredi 30 janvier 2008 à 10:32 +0100, Valentin Villenave a écrit :
 Wow, that's interesting! I have been browsing the whole R6RS
 specification to see if Scheme could accept fractions as arguments,
 but I couldn't come up with anything...

See Guile docs; there may be installed in Info format on your GNU/Linux
system.  I'm not a Scheme specialist, but I think you should generally
consider RxRS as a standard specification, and always look at Guile docs
to look for additional features.

Cheers,
John



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


Re: \times - \tuplet (was Re: Issue 566 in lilypond: showStaffSwitch - \staffSwitchOn)

2008-01-29 Thread Valentin Villenave
2008/1/29, Mats Bengtsson [EMAIL PROTECTED]:

 The problem is (as was discussed in that thread that we are repeating
 more and
 more of here) that you cannot create any such alias, at least not if you
 want to
 keep the syntax 2/3. You can certainly make an alias with syntax
 \t #2 #3 {music} but that's not very attractive.

Oh yes! as a matter of fact, the whole \times 2/3 is included in my
\t variable.

Maybe the whole point is that users cannot define their own alias
here. Would it be consistent to make it possible, by removing the
hardcoded \times keyword and creating some ly:make-tuplet-music
function for instance?

... And sorry about the multiple threads, I just have no idea which
one is the *real* one :)

Cheers,
Valentin


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


Re: \times - \tuplet (was Re: Issue 566 in lilypond: showStaffSwitch - \staffSwitchOn)

2008-01-29 Thread Mats Bengtsson



Valentin Villenave wrote:

2008/1/28, Graham Percival [EMAIL PROTECTED]:

  

... hmm, I admit that it's annoying that your right hand needs to
hit the \ and then m keys; \tuplet has the advantage of using the
left hand for the t...



Definitely.

A year ago, I proposed to use the simple, minimalistic \t keyword that
is both short and easy to type, plus is can mean aither times,
tuplet or whatever. This is actually what I've been using since
then, and I have to say I'm very happy with it.

Maybe we should just explain as a commonprop how to easily create an
alias for the \times keyword, so that the users can be free to choose
whatever they want.
  
The problem is (as was discussed in that thread that we are repeating 
more and
more of here) that you cannot create any such alias, at least not if you 
want to

keep the syntax 2/3. You can certainly make an alias with syntax
\t #2 #3 {music} but that's not very attractive.

   /Mats


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


Re: \times - \tuplet (was Re: Issue 566 in lilypond: showStaffSwitch - \staffSwitchOn)

2008-01-29 Thread Valentin Villenave
2008/1/28, Graham Percival [EMAIL PROTECTED]:

 ... hmm, I admit that it's annoying that your right hand needs to
 hit the \ and then m keys; \tuplet has the advantage of using the
 left hand for the t...

Definitely.

A year ago, I proposed to use the simple, minimalistic \t keyword that
is both short and easy to type, plus is can mean aither times,
tuplet or whatever. This is actually what I've been using since
then, and I have to say I'm very happy with it.

Maybe we should just explain as a commonprop how to easily create an
alias for the \times keyword, so that the users can be free to choose
whatever they want.

Cheers,
Valentin


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


Re: \times - \tuplet (was Re: Issue 566 in lilypond: showStaffSwitch - \staffSwitchOn)

2008-01-28 Thread Graham Percival
On Mon, 28 Jan 2008 09:36:20 -
Trevor Daniels [EMAIL PROTECTED] wrote:

 I too oppose this as a mandatory change, and the
 creation of an alias.  \times does exactly what
 the word 'times' implies and not what 'tuplet' 
 would imply.  The change would lead to still greater
 confusion, with new users writing the fraction
 upside-down.

Given that, according to a few users, the word tuplet is
completly made-up anyway, I don't think that's a big concern.  :)

On a slightly more serious note, what about using
  \mult
as short for \multiply ?

Yes, this is still partly tongue-in-cheek, but it might make
everybody happy: no confusion with \time, math purists can rejoin
in \mult 2/3, and \mult is even shorter than \times.

... hmm, I admit that it's annoying that your right hand needs to
hit the \ and then m keys; \tuplet has the advantage of using the
left hand for the t...

Any other synonyms of \times come to mind?

Cheers,
- Graham


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


RE: \times - \tuplet (was Re: Issue 566 in lilypond: showStaffSwitch - \staffSwitchOn)

2008-01-28 Thread Trevor Daniels

Bryan Stanbridge wote on 27 January 2008 21:38
 
 John Mandereau wrote:
  There has already been a *huge* thread on the 
 -user list about this, and
  the conclusion was that the only realistic 
 change we could do was
  renaming \times to \tuplet, and nothing else; 
 the point of my remark in
  the bug tracker was to ask developers' opinion 
 about actually doing
  this, and not about reopening the discussion -- 
 unless you have new
  ideas, of course.
 
 I am still very much opposed to this as a 
 mandatory change.
[snip]
 Times is mathematically precise 
 and describes exactly 
 what is happening when the keyword is applied. If 
 there is such an 
 overwhelming problem with the confusion (and I 
 still have trouble 
 believing that to be the case), then an alias 
 should be created, but we 
 should not remove the \times keyword.
 
I too oppose this as a mandatory change, and the
creation of an alias.  \times does exactly what
the word 'times' implies and not what 'tuplet' 
would imply.  The change would lead to still greater
confusion, with new users writing the fraction
upside-down.

I would however favour the introduction of \tuplet,
but *only* with the reversed fraction.  If resources 
do not permit this at the moment then I vote for 
no change, so preserving \tuplet for its proper use
some time later.

 Cheers,
 Bryan...
 
Trevor D





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


Re: \times - \tuplet (was Re: Issue 566 in lilypond: showStaffSwitch - \staffSwitchOn)

2008-01-28 Thread Wilbert Berendsen
Op maandag 28 januari 2008, schreef Trevor Daniels:
 I too oppose this as a mandatory change, and the
 creation of an alias.  \times does exactly what
 the word 'times' implies and not what 'tuplet'
 would imply.  The change would lead to still greater
 confusion, with new users writing the fraction
 upside-down.

I wrote this also in the tracker:
I have no problem with \times. I read \times 2/3 as 'duration times two-third' 
(dur * 2/3), while in \tuplet the fraction would be less clear. Also when 
applying \times to a long music fragment (rendering many tuplets), \times 
keeps its meaning, while I think 'tuplet' stands for a single bracketed group 
of notes. Concluding, I would say: You use the \times command to create 
tuplets :-)

just my €0.02,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


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


Re: \times - \tuplet (was Re: Issue 566 in lilypond: showStaffSwitch - \staffSwitchOn)

2008-01-27 Thread Bryan Stanbridge

John Mandereau wrote:

There has already been a *huge* thread on the -user list about this, and
the conclusion was that the only realistic change we could do was
renaming \times to \tuplet, and nothing else; the point of my remark in
the bug tracker was to ask developers' opinion about actually doing
this, and not about reopening the discussion -- unless you have new
ideas, of course.


I am still very much opposed to this as a mandatory change. Aliasing 
times to tuplet would be great. But I've spent a long time with the 
\times syntax and have never had any problem confusing it with \time. 
\tuplet is longer to type and falls much more strangely on the keyboard 
than does \times. Times is mathematically precise and describes exactly 
what is happening when the keyword is applied. If there is such an 
overwhelming problem with the confusion (and I still have trouble 
believing that to be the case), then an alias should be created, but we 
should not remove the \times keyword.


Cheers,
Bryan...


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