Re: Center Lyric Syllables (ignoring punctuation)

2014-03-03 Thread Kieren MacMillan
Hi everyone, attached is a modified version which works on 2.17.x and 2.18. Could you update the LSR snippet? I'm not allowed to. Thanks! Has anyone else noticed that this [amazing] function results in it being impossible to tweak the LyricText.self-alignment-X property? (See example,

Re: Center Lyric Syllables (ignoring punctuation)

2014-03-03 Thread Pierre Perol-Schneider
2013-09-28 23:23 GMT+02:00 Thomas Morley thomasmorle...@gmail.com: To the author of the new LSR-snippet Center Lyric Syllables (ignoring punctuation) Many thanks for your code. I did some slightly reformatting of code and description. I've added these infos/links on the top of the snippet

Re: Center Lyric Syllables (ignoring punctuation)

2014-01-08 Thread Alexander Kobel
On 01/08/2014 04:10 AM, Alex Loomis wrote: Shouldn't this be the default output? Looking at hand-engraved examples, such as this lied http://javanese.imslp.info/files/imglnks/usimg/1/18/IMSLP16170-SchubertD489_Der_Wanderer_1st_version_called_Der_Ungluckliche.pdf, words tend to be centered

Re: Center Lyric Syllables (ignoring punctuation)

2014-01-08 Thread Kieren MacMillan
Hi Alexander, it's among my default includes. Could you please share the snippet you use? I tried http://lsr.dsi.unimi.it/LSR/Snippet?id=888 and got a bunch of “infinite offset” errors… =\ Thanks, Kieren. ___ lilypond-user mailing list

Re: Center Lyric Syllables (ignoring punctuation)

2014-01-08 Thread Kieren MacMillan
p.s. Never mind — found this part of the thread! =) Sorry for the noise. Kieren. On Jan 7, 2014, at 9:10 AM, Alexander Kobel n...@a-kobel.de wrote: Hi, I just recognized that this snippet does not work as-is in 2.18.0 (and 2.17.x for x large enough), but gives -inf.0 as X-offsets if no

Re: Center Lyric Syllables (ignoring punctuation)

2014-01-07 Thread Alexander Kobel
Hi, I just recognized that this snippet does not work as-is in 2.18.0 (and 2.17.x for x large enough), but gives -inf.0 as X-offsets if no punctuation prefixes a syllable. IIUC empty text-markups now return empty instead of point stencils these days, and the width computation for the

Re: Center Lyric Syllables (ignoring punctuation)

2014-01-07 Thread Alex Loomis
Shouldn't this be the default output? Looking at hand-engraved examples, such as this liedhttp://javanese.imslp.info/files/imglnks/usimg/1/18/IMSLP16170-SchubertD489_Der_Wanderer_1st_version_called_Der_Ungluckliche.pdf, words tend to be centered ignoring punctuation (measures 8 and 14), or

Re: Center Lyric Syllables (ignoring punctuation)

2013-09-30 Thread Thomas Morley
2013/9/30 Alexander Kobel n...@a-kobel.de: On 09/29/2013 08:47 PM, Thomas Morley wrote: Afaik, only people with permission to edit the LSR can change a snippet once it is approved. As long as it is unapproved the author can work on it. Ah, that makes sense. I remember that I could modify

Re: Center Lyric Syllables (ignoring punctuation)

2013-09-30 Thread Phil Holmes
- Original Message - From: Thomas Morley thomasmorle...@gmail.com I agree, although I don't expect Guile problems for anything but plain ASCII prime and double prime, but I might be wrong. It's easy to tweak for people who want to use it, anyway; those were just the glyphs for

Re: Center Lyric Syllables (ignoring punctuation)

2013-09-30 Thread Trevor Daniels
Phil Holmes wrote Monday, September 30, 2013 11:53 AM As to whether to tag is as docs? If we do that, it will automatically appear in the Snippets documentation (http://lilypond.org/doc/v2.17/Documentation/snippets/index.html). It will become available for documentation authors to add

Re: Center Lyric Syllables (ignoring punctuation)

2013-09-30 Thread Thomas Morley
2013/9/30 Phil Holmes em...@philholmes.net: - Original Message - From: Thomas Morley thomasmorle...@gmail.com I agree, although I don't expect Guile problems for anything but plain ASCII prime and double prime, but I might be wrong. It's easy to tweak for people who want to

Re: Center Lyric Syllables (ignoring punctuation)

2013-09-29 Thread Alexander Kobel
On 09/28/2013 11:23 PM, Thomas Morley wrote: To the author of the new LSR-snippet Center Lyric Syllables (ignoring punctuation) Many thanks for your code. I did some slightly reformatting of code and description. It's now approved as http://lsr.dsi.unimi.it/LSR/Item?id=888 Really nice

Re: Center Lyric Syllables (ignoring punctuation)

2013-09-29 Thread Alexander Kobel
On 09/29/2013 07:52 PM, Alexander Kobel wrote: On 09/28/2013 11:23 PM, Thomas Morley wrote: To the author of the new LSR-snippet Center Lyric Syllables (ignoring punctuation) Many thanks for your code. I did some slightly reformatting of code and description. It's now approved as http

Re: Center Lyric Syllables (ignoring punctuation)

2013-09-29 Thread Thomas Morley
Hi Alexander, 2013/9/29 Alexander Kobel n...@a-kobel.de: On 09/29/2013 07:52 PM, Alexander Kobel wrote: On 09/28/2013 11:23 PM, Thomas Morley wrote: To the author of the new LSR-snippet Center Lyric Syllables (ignoring punctuation) Many thanks for your code. I did some slightly

Re: Center Lyric Syllables (ignoring punctuation)

2013-09-29 Thread Alexander Kobel
On 09/29/2013 08:47 PM, Thomas Morley wrote: Hi Alexander, 2013/9/29 Alexander Kobel n...@a-kobel.de: On 09/29/2013 07:52 PM, Alexander Kobel wrote: On 09/28/2013 11:23 PM, Thomas Morley wrote: To the author of the new LSR-snippet Center Lyric Syllables (ignoring punctuation) Many thanks

Center Lyric Syllables (ignoring punctuation)

2013-09-28 Thread Thomas Morley
To the author of the new LSR-snippet Center Lyric Syllables (ignoring punctuation) Many thanks for your code. I did some slightly reformatting of code and description. It's now approved as http://lsr.dsi.unimi.it/LSR/Item?id=888 Best, Harm