Re: how offsets and alignment works: an explanation

2013-04-16 Thread Richard Shann
On Tue, 2013-03-26 at 10:29 +0100, Urs Liska wrote: BTW we're preparing the release of a LilyPond toolbox library (where \displayControlPoints will be included of course), and I'd love to include this new one there too. I've been trying to track down where this code might be - the last

Re: how offsets and alignment works: an explanation

2013-04-16 Thread Urs Liska
Am 16.04.2013 14:07, schrieb Richard Shann: On Tue, 2013-03-26 at 10:29 +0100, Urs Liska wrote: BTW we're preparing the release of a LilyPond toolbox library (where \displayControlPoints will be included of course), and I'd love to include this new one there too. I've been trying to track

Re: how offsets and alignment works: an explanation

2013-04-16 Thread David Nalesnik
Hi, On Tue, Apr 16, 2013 at 9:01 AM, Urs Liska li...@ursliska.de wrote: Am 16.04.2013 14:07, schrieb Richard Shann: On Tue, 2013-03-26 at 10:29 +0100, Urs Liska wrote: BTW we're preparing the release of a LilyPond toolbox library (where \displayControlPoints will be included of course),

Re: how offsets and alignment works: an explanation

2013-04-16 Thread David Kastrup
Urs Liska li...@ursliska.de writes: Am 16.04.2013 14:07, schrieb Richard Shann: On Tue, 2013-03-26 at 10:29 +0100, Urs Liska wrote: BTW we're preparing the release of a LilyPond toolbox library (where \displayControlPoints will be included of course), and I'd love to include this new one

Re: how offsets and alignment works: an explanation

2013-04-16 Thread Richard Shann
On Tue, 2013-04-16 at 09:41 -0500, David Nalesnik wrote: Hi, On Tue, Apr 16, 2013 at 9:01 AM, Urs Liska li...@ursliska.de wrote: Am 16.04.2013 14:07, schrieb Richard Shann: On Tue, 2013-03-26 at 10:29 +0100, Urs Liska wrote: BTW

Re: how offsets and alignment works: an explanation

2013-04-16 Thread Richard Shann
On Tue, 2013-04-16 at 16:59 +0100, Richard Shann wrote: On Tue, 2013-04-16 at 09:41 -0500, David Nalesnik wrote: Hi, [...] When I recently cut-and-pasted the code from the email, I had this same problem. IIRC, the only problem was that a long comment line had been broken across lines.

Re: how offsets and alignment works: an explanation

2013-04-16 Thread Urs Liska
Does placing it in a separate \layout block help? Richard Shann richard.sh...@virgin.net schrieb: On Tue, 2013-04-16 at 16:59 +0100, Richard Shann wrote: On Tue, 2013-04-16 at 09:41 -0500, David Nalesnik wrote: Hi, [...] When I recently cut-and-pasted the code from the email, I had this

Re: how offsets and alignment works: an explanation

2013-04-16 Thread Richard Shann
On Tue, 2013-04-16 at 19:22 +0200, Urs Liska wrote: Does placing it in a separate \layout block help? \layout { \override Slur #'stencil = #(display-control-points #t) } does work - I feel stupid now, but I didn't try that because it seemed to me that this case was a different type of

Re: how offsets and alignment works: an explanation

2013-04-16 Thread Janek Warchoł
2013/4/16 Richard Shann richard.sh...@virgin.net: On Tue, 2013-04-16 at 19:22 +0200, Urs Liska wrote: Does placing it in a separate \layout block help? \layout { \override Slur #'stencil = #(display-control-points #t) } does work - I feel stupid now, but I didn't try that because it

Re: how offsets and alignment works: an explanation

2013-04-16 Thread David Kastrup
Janek Warchoł janek.lilyp...@gmail.com writes: 2013/4/16 Richard Shann richard.sh...@virgin.net: On Tue, 2013-04-16 at 19:22 +0200, Urs Liska wrote: Does placing it in a separate \layout block help? \layout { \override Slur #'stencil = #(display-control-points #t) } does work - I

Re: how offsets and alignment works: an explanation

2013-03-26 Thread Urs Liska
Wow, cool! Can you give a quick hint why this isn't possible to implement as an \override? Attached you'll find a function that AFAIR you provided too, which displays the control points of curves. This new function would be a great companion for that, but it would of course be nice if they

Re: how offsets and alignment works: an explanation

2013-03-26 Thread David Nalesnik
Hi all, On Tue, Mar 26, 2013 at 4:29 AM, Urs Liska li...@ursliska.de wrote: Wow, cool! Can you give a quick hint why this isn't possible to implement as an \override? Attached you'll find a function that AFAIR you provided too, which displays the control points of curves. This new

Re: how offsets and alignment works: an explanation

2013-03-26 Thread Urs Liska
Am 26.03.2013 12:20, schrieb David Nalesnik: Hi all, On Tue, Mar 26, 2013 at 4:29 AM, Urs Liska li...@ursliska.de mailto:li...@ursliska.de wrote: Wow, cool! Can you give a quick hint why this isn't possible to implement as an \override? Attached you'll find a function that

Re: how offsets and alignment works: an explanation

2013-03-26 Thread David Nalesnik
Hi Urs, On Tue, Mar 26, 2013 at 6:22 AM, Urs Liska li...@ursliska.de wrote: Am 26.03.2013 12:20, schrieb David Nalesnik: The thread for displaying control-points can be found here: http://www.mail-archive.com/bug-lilypond@gnu.org/msg34439.html Thanks. Hm, don't know why I didn't

Re: how offsets and alignment works: an explanation

2013-03-26 Thread Janek Warchoł
Hi Harm, On Tue, Mar 26, 2013 at 12:34 AM, Thomas Morley wrote: 2013/3/25 Thomas Morley thomasmorle...@googlemail.com: 2013/3/24 Janek Warchoł janek.lilyp...@gmail.com: Could i ask you to write a function that would print a red dot on top of a grob's refpoint? Will try the upcoming days.

Re: how offsets and alignment works: an explanation

2013-03-25 Thread Trevor Daniels
Janek Warchoł wrote Sunday, March 24, 2013 10:56 PM On Sat, Mar 23, 2013 at 7:13 PM, Trevor Daniels t.dani...@treda.co.uk wrote: The Notation Reference is a _reference_ document. It is intended to remind users of information which they already understand. Explanations belong either in the

Re: how offsets and alignment works: an explanation

2013-03-25 Thread Wim van Dommelen
It of course depends on how large you want the dot and what other flexibility you want/need. But with a regular '.' (or any character- string) you could easily do this without special function code needed: \version 2.16.0 dotcolor = #red smalldotmark = \markup{\bold \with-color \dotcolor . }

Re: how offsets and alignment works: an explanation

2013-03-25 Thread Urs Liska
Am 24.03.2013 23:56, schrieb Janek Warchoł: Hi all, ... On Sun, Mar 24, 2013 at 3:02 AM, Thomas Morley thomasmorle...@googlemail.com wrote: this is great!! I've never read a better explanation of x_aligned_on_self and aligned_on_x_parent. thanks! :) Could i ask you to write a function that

Re: how offsets and alignment works: an explanation

2013-03-24 Thread Jean-Charles Malahieude
Le 23/03/2013 18:13, Trevor Daniels disait : Noeck wrote Saturday, March 23, 2013 5:55 PM This is explained very concisely and without examples in the NR, see http://www.lilypond.org/doc/v2.17/Documentation/notation/aligning-objects I disagree. As an average user, I feel quite lost in this

Re: how offsets and alignment works: an explanation

2013-03-24 Thread Trevor Daniels
Thomas Morley wrote Sunday, March 24, 2013 2:02 AM There are some opinions not to add it to the LM or the NR and I fully agree with them. But I strongly object to put it in the CG for one reason: The CG is _never_ translated! This is a valid point. The Extending Manual seems to be

Re: how offsets and alignment works: an explanation

2013-03-24 Thread Janek Warchoł
Hi all, On Sat, Mar 23, 2013 at 4:07 PM, Phil Holmes m...@philholmes.net wrote: I think this is useful material. I would put it in the CG: a new section in Programming work: Tutorial on grob alignment. Maybe. If you do this and are certain make doc runs without a problem, then pushing

Re: how offsets and alignment works: an explanation

2013-03-24 Thread Thomas Morley
2013/3/24 Janek Warchoł janek.lilyp...@gmail.com: On Sun, Mar 24, 2013 at 3:02 AM, Thomas Morley thomasmorle...@googlemail.com wrote: this is great!! [...] Could i ask you to write a function that would print a red dot on top of a grob's refpoint? (the image i've attached was made with

Re: how offsets and alignment works: an explanation

2013-03-24 Thread luis jure
on 2013-03-24 at 23:56 Janek Warchoł wrote: Could i ask you to write a function that would print a red dot on top of a grob's refpoint? (the image i've attached was made with GIMP, and it would be better to have it in lily code. hey, i was trying to find somewhere in the docs how to get

Re: how offsets and alignment works: an explanation

2013-03-23 Thread Phil Holmes
- Original Message - From: Janek Warchoł janek.lilyp...@gmail.com To: LilyPond Users lilypond-user@gnu.org Sent: Saturday, March 23, 2013 2:05 PM Subject: how offsets and alignment works: an explanation Hi, here's an explanation of what's happening when we're using XY-offset, self

Re: how offsets and alignment works: an explanation

2013-03-23 Thread Marc Hohl
Am 23.03.2013 16:07, schrieb Phil Holmes: - Original Message - From: Janek Warchoł janek.lilyp...@gmail.com To: LilyPond Users lilypond-user@gnu.org Sent: Saturday, March 23, 2013 2:05 PM Subject: how offsets and alignment works: an explanation Hi, here's an explanation of what's

Re: how offsets and alignment works: an explanation

2013-03-23 Thread Noeck
here's an explanation of what's happening when we're using XY-offset, self-alignment etc. I hope that it'll help users get a better understanding of LilyPond internals; i also think it would be a good material for documentation, Hi Janek, I loved to read this long mail. I would like to

Re: how offsets and alignment works: an explanation

2013-03-23 Thread Trevor Daniels
, as Phil suggests, with links into it from the NR. Trevor - Original Message - From: Janek Warchoł janek.lilyp...@gmail.com To: LilyPond Users lilypond-user@gnu.org Sent: Saturday, March 23, 2013 2:05 PM Subject: how offsets and alignment works: an explanation Hi, here's

Re: how offsets and alignment works: an explanation

2013-03-23 Thread Urs Liska
Hi Janek, thanks for these explanations. If the feedback doesn't give you a sufficiently clear idea where to put the material, you know what I'd suggest? ;-) Best Urs Am 23.03.2013 15:05, schrieb Janek Warcho?: Hi, here's an explanation of what's happening when we're using XY-offset,

Re: how offsets and alignment works: an explanation

2013-03-23 Thread Noeck
This is explained very concisely and without examples in the NR, see http://www.lilypond.org/doc/v2.17/Documentation/notation/aligning-objects I disagree. As an average user, I feel quite lost in this section especially with the two-dimensional extents. Some images and the explanation from

Re: how offsets and alignment works: an explanation

2013-03-23 Thread Trevor Daniels
Noeck wrote Saturday, March 23, 2013 5:55 PM This is explained very concisely and without examples in the NR, see http://www.lilypond.org/doc/v2.17/Documentation/notation/aligning-objects I disagree. As an average user, I feel quite lost in this section especially with the two-dimensional

Re: how offsets and alignment works: an explanation

2013-03-23 Thread Noeck
Am 23.03.2013 19:13, schrieb Trevor Daniels: Noeck wrote Saturday, March 23, 2013 5:55 PM This is explained very concisely and without examples in the NR, see http://www.lilypond.org/doc/v2.17/Documentation/notation/aligning-objects I disagree. As an average user, I feel quite lost in

Re: how offsets and alignment works: an explanation

2013-03-23 Thread Nick Payne
On 24/03/13 03:56, Trevor Daniels wrote: Hi Janek This is explained very concisely and without examples in the NR, see http://www.lilypond.org/doc/v2.17/Documentation/notation/aligning-objects BTW, the text in that section (an accidental can be repositioned vertically by setting Y-offset but

Re: how offsets and alignment works: an explanation

2013-03-23 Thread Thomas Morley
2013/3/23 Janek Warchoł janek.lilyp...@gmail.com: Hi, here's an explanation of what's happening when we're using XY-offset, self-alignment etc. I hope that it'll help users get a better understanding of LilyPond internals; i also think it would be a good material for documentation, but i'm