Re: Opening parentheses in lyrics don't appear

2012-06-16 Thread David Kastrup
Philip Thomas philip.tho...@bluewin.ch writes:

 Philip Thomas wrote:

 Dear fellow-users,

 I'm working on a vocal piece in which some lyrics are in parentheses, but
 the opening parentheses don't appear in the output PDF file. The closing
 parentheses are fine. By way of example, here's a couple of bars from the
 piece:

 Phil Holmes wrote:

You may like to check and eventually test David's work on
http://code.google.com/p/lilypond/issues/detail?id=2598

--
Phil Holmes

 Thanks, developers, for addressing the matter -- and so quickly, at that.
 But the likes of me test it? Would that involve downloading a patch?
 Pretty scary. Some day maybe I'll get to that stage, but not just yet. For
 the moment I'm content to luxuriate in a state of grateful and lazy trust,
 and await v.2.16. :)

2.15.41, once released, should not require more work installing and
testing than 2.16.

-- 
David Kastrup


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


Re: Opening parentheses in lyrics don't appear

2012-06-15 Thread Phil Holmes
- Original Message - 
From: Philip Thomas philip.tho...@bluewin.ch

To: lilypond-user@gnu.org
Sent: Monday, June 11, 2012 2:04 PM
Subject: Opening parentheses in lyrics don't appear



Dear fellow-users,

I'm working on a vocal piece in which some lyrics are in parentheses, but
the opening parentheses don't appear in the output PDF file. The closing
parentheses are fine. By way of example, here's a couple of bars from the
piece:


You may like to check and eventually test David's work on 
http://code.google.com/p/lilypond/issues/detail?id=2598


--
Phil Holmes 



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


RE: Opening parentheses in lyrics don't appear

2012-06-15 Thread Philip Thomas
Philip Thomas wrote:

 Dear fellow-users,

 I'm working on a vocal piece in which some lyrics are in parentheses, but
 the opening parentheses don't appear in the output PDF file. The closing
 parentheses are fine. By way of example, here's a couple of bars from the
 piece:

Phil Holmes wrote:

You may like to check and eventually test David's work on
http://code.google.com/p/lilypond/issues/detail?id=2598

--
Phil Holmes

Thanks, developers, for addressing the matter -- and so quickly, at that.
But the likes of me test it? Would that involve downloading a patch?
Pretty scary. Some day maybe I'll get to that stage, but not just yet. For
the moment I'm content to luxuriate in a state of grateful and lazy trust,
and await v.2.16. :)

Cheers, Philip


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


Opening parentheses in lyrics don't appear

2012-06-11 Thread Philip Thomas
Dear fellow-users,

I'm working on a vocal piece in which some lyrics are in parentheses, but
the opening parentheses don't appear in the output PDF file. The closing
parentheses are fine. By way of example, here's a couple of bars from the
piece:



\version 2.14.2

\relative c'


\new Voice = melody {
  \time 12/8
  fis2.( f |
  a4.) a4 g8 g4 f8 f4. |
}
\new Lyrics \lyricsto melody {
  blue __ (oo -- by -- doo -- by -- doo)
}




I have looked but haven't succeeded in finding a reference to this in the
documentation or on the forum, but at this stage I don't feel confident in
reporting it as a bug. Any advice would be appreciated. Apologies, as usual,
if I've missed an existing solution or explanation.

BTW, I know that I can solve the problem with a work-around, e.g. enclosing
the syllable concerned in quotes as (oo produces the correct result, but
it's not a very elegant solution, especially for repeated instances.

Cheers, 

Philip



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


Re: Opening parentheses in lyrics don't appear

2012-06-11 Thread Phil Holmes
- Original Message - 
From: Philip Thomas philip.tho...@bluewin.ch

To: lilypond-user@gnu.org
Sent: Monday, June 11, 2012 2:04 PM
Subject: Opening parentheses in lyrics don't appear



Dear fellow-users,

I'm working on a vocal piece in which some lyrics are in parentheses, but
the opening parentheses don't appear in the output PDF file. The closing
parentheses are fine. By way of example, here's a couple of bars from the
piece:



\version 2.14.2

\relative c'


\new Voice = melody {
 \time 12/8
 fis2.( f |
 a4.) a4 g8 g4 f8 f4. |
}
\new Lyrics \lyricsto melody {
 blue __ (oo -- by -- doo -- by -- doo)
}






I have looked but haven't succeeded in finding a reference to this in the
documentation or on the forum, but at this stage I don't feel confident in
reporting it as a bug. Any advice would be appreciated. Apologies, as 
usual,

if I've missed an existing solution or explanation.

BTW, I know that I can solve the problem with a work-around, e.g. 
enclosing

the syllable concerned in quotes as (oo produces the correct result, but
it's not a very elegant solution, especially for repeated instances.



I found I had to use the (word solution - I use a regex in my application 
that creates lilypond code to do just this.


--
Phil Holmes 



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


RE: Opening parentheses in lyrics don't appear

2012-06-11 Thread Philip Thomas


-Original Message-
From: Phil Holmes [mailto:m...@philholmes.net]
Sent: Monday 11 June 2012 15:13
To: Philip Thomas; lilypond-user@gnu.org
Subject: Re: Opening parentheses in lyrics don't appear

- Original Message -
From: Philip Thomas philip.tho...@bluewin.ch
To: lilypond-user@gnu.org
Sent: Monday, June 11, 2012 2:04 PM
Subject: Opening parentheses in lyrics don't appear


 Dear fellow-users,

 I'm working on a vocal piece in which some lyrics are in parentheses,
but
 the opening parentheses don't appear in the output PDF file. The
closing
 parentheses are fine. By way of example, here's a couple of bars from
the
 piece:

 

 \version 2.14.2

 \relative c'

 
 \new Voice = melody {
  \time 12/8
  fis2.( f |
  a4.) a4 g8 g4 f8 f4. |
 }
 \new Lyrics \lyricsto melody {
  blue __ (oo -- by -- doo -- by -- doo)
 }


 

 I have looked but haven't succeeded in finding a reference to this in
the
 documentation or on the forum, but at this stage I don't feel
confident in
 reporting it as a bug. Any advice would be appreciated. Apologies, as
 usual,
 if I've missed an existing solution or explanation.

 BTW, I know that I can solve the problem with a work-around, e.g.
 enclosing
 the syllable concerned in quotes as (oo produces the correct result,
but
 it's not a very elegant solution, especially for repeated instances.


I found I had to use the (word solution - I use a regex in my
application
that creates lilypond code to do just this.

--
Phil Holmes

Thanks Phil,

Especially for a reply within minutes, if not mere seconds, from when I
posed the question!

Not quite the reply I was hoping for, but at least it suggests that I'm not
barking up the wrong tree completely.

(If I were game enough, I might admit that when I first glanced at your
reference to the (word solution, I took you to mean MS Word, which can be
quite handy, using macros, in working on .ly text files to do this sort of
task. But I'm not game enough.)

If other experienced users have encountered the same problem with opening
parentheses in lyrics, this seems to me to be significant enough to be
reported as a bug, but I'm not experienced in reporting real bugs as
distinct from apparent errors in the documentation. Would that be making a
mountain of a molehill?

Cheers, Philip 


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


Re: Opening parentheses in lyrics don't appear

2012-06-11 Thread Phil Holmes
- Original Message - 
From: Philip Thomas philip.tho...@bluewin.ch

To: 'Phil Holmes' m...@philholmes.net; lilypond-user@gnu.org
Sent: Monday, June 11, 2012 2:33 PM
Subject: RE: Opening parentheses in lyrics don't appear






-Original Message-
From: Phil Holmes [mailto:m...@philholmes.net]
Sent: Monday 11 June 2012 15:13
To: Philip Thomas; lilypond-user@gnu.org
Subject: Re: Opening parentheses in lyrics don't appear

- Original Message -
From: Philip Thomas philip.tho...@bluewin.ch
To: lilypond-user@gnu.org
Sent: Monday, June 11, 2012 2:04 PM
Subject: Opening parentheses in lyrics don't appear



Dear fellow-users,

I'm working on a vocal piece in which some lyrics are in parentheses,

but

the opening parentheses don't appear in the output PDF file. The

closing

parentheses are fine. By way of example, here's a couple of bars from

the

piece:



\version 2.14.2

\relative c'


\new Voice = melody {
 \time 12/8
 fis2.( f |
 a4.) a4 g8 g4 f8 f4. |
}
\new Lyrics \lyricsto melody {
 blue __ (oo -- by -- doo -- by -- doo)
}






I have looked but haven't succeeded in finding a reference to this in

the

documentation or on the forum, but at this stage I don't feel

confident in

reporting it as a bug. Any advice would be appreciated. Apologies, as
usual,
if I've missed an existing solution or explanation.

BTW, I know that I can solve the problem with a work-around, e.g.
enclosing
the syllable concerned in quotes as (oo produces the correct result,

but

it's not a very elegant solution, especially for repeated instances.



I found I had to use the (word solution - I use a regex in my
application
that creates lilypond code to do just this.

--
Phil Holmes


Thanks Phil,

Especially for a reply within minutes, if not mere seconds, from when I
posed the question!

Not quite the reply I was hoping for, but at least it suggests that I'm 
not

barking up the wrong tree completely.

(If I were game enough, I might admit that when I first glanced at your
reference to the (word solution, I took you to mean MS Word, which can 
be

quite handy, using macros, in working on .ly text files to do this sort of
task. But I'm not game enough.)

If other experienced users have encountered the same problem with opening
parentheses in lyrics, this seems to me to be significant enough to be
reported as a bug, but I'm not experienced in reporting real bugs as
distinct from apparent errors in the documentation. Would that be making a
mountain of a molehill?

Cheers, Philip



It was mentioned in earlier emails (as in lots of years ago) as a possible 
bug, since you can't have slurs in lyrics.  I think I'll send a report to 
the bugs group.


--
Phil Holmes 



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


Re: Opening parentheses in lyrics don't appear

2012-06-11 Thread Jan-Peter Voigt

Hello Philip,

you might use markup-lists. In markups, the parens are typeset:

--snip--

\version 2.15.40

% should run in 2.14

% define a music-function, to convert a markup-list to a list of LyricEvents

lyricmarkup = #(define-music-function (parser location mup)(markup-list?)

(make-music 'SequentialMusic

'elements (map

(lambda (syl) (make-music 'LyricEvent

'text syl

'duration (ly:make-duration 2 0 1 1)))

mup)))

% a test



\new Staff \new Voice = mel \relative c'' {

c4. b8 a4 cis

}

\new Lyrics \lyricsto mel

\lyricmode {

\lyricmarkup \markuplist { (oo bi doo) }
% override can't be inside markuplist!

\once \override LyricText #'self-alignment-X = #LEFT

didididididididididi

}



--snip--


But you can't use lyric-overrides inside the markup-list - so if you use 
a lot them, this will not be helpful :-(

... and using \lyricmarkup \markuplist {} is a lot to type ...

But still, you might try it ;-)

Cheers, Jan-Peter


On 11.06.2012 15:04, Philip Thomas wrote:

Dear fellow-users,

I'm working on a vocal piece in which some lyrics are in parentheses, but
the opening parentheses don't appear in the output PDF file. The closing
parentheses are fine. By way of example, here's a couple of bars from the
piece:



\version 2.14.2

\relative c'


\new Voice = melody {
   \time 12/8
   fis2.( f |
   a4.) a4 g8 g4 f8 f4. |
}
\new Lyrics \lyricsto melody {
   blue __ (oo -- by -- doo -- by -- doo)
}


I have looked but haven't succeeded in finding a reference to this in the
documentation or on the forum, but at this stage I don't feel confident in
reporting it as a bug. Any advice would be appreciated. Apologies, as usual,
if I've missed an existing solution or explanation.

BTW, I know that I can solve the problem with a work-around, e.g. enclosing
the syllable concerned in quotes as (oo produces the correct result, but
it's not a very elegant solution, especially for repeated instances.

Cheers,

Philip



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





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


Re: Opening parentheses in lyrics don't appear

2012-06-11 Thread -Eluze


Philip Thomas-2 wrote:
 
 Dear fellow-users,
 
 I'm working on a vocal piece in which some lyrics are in parentheses, but
 the opening parentheses don't appear in the output PDF file. The closing
 parentheses are fine. By way of example, here's a couple of bars from the
 piece:
 
 

you can use text-replacements, see NR 3.3.3 Special characters. ASCII
aliases

it's described there how to add your own characters, e.g.

\paper {
  #(add-text-replacements!
'(
  (lparen; . ()))
}

I don't know if its really elegant!?

hth
Eluze
-- 
View this message in context: 
http://old.nabble.com/Opening-parentheses-in-lyrics-don%27t-appear-tp33993033p33993296.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


RE: Opening parentheses in lyrics don't appear

2012-06-11 Thread Philip Thomas
 Phil Holmes m...@philholmes.net wrote (11 Jun 2012 14:46:31):

 It was mentioned in earlier emails (as in lots of years ago) as a possible
 bug, since you can't have slurs in lyrics.

--

Aha. Not a solution, but I now have a better feel for the problem.

--

 I think I'll send a report to
 the bugs group.



I think it would be good to have a simple solution for something which must
arise reasonably often, but I'm most certainly no developer.



 Jan-Peter Voigt jp.vo...@gmx.de wrote (Jun 2012 15:48:45):
 you might use markup-lists. In markups, the parens are typeset:

 --snip--
 
 \version 2.15.40

 % should run in 2.14

 % define a music-function, to convert a markup-list to a list of
LyricEvents

 lyricmarkup = #(define-music-function (parser location mup)(markup-list?)

 (make-music 'SequentialMusic

 'elements (map

 (lambda (syl) (make-music 'LyricEvent

 'text syl

 'duration (ly:make-duration 2 0 1 1)))

 mup)))

 % a test

 

 \new Staff \new Voice = mel \relative c'' {

 c4. b8 a4 cis

 }

 \new Lyrics \lyricsto mel

 \lyricmode {

 \lyricmarkup \markuplist { (oo bi doo) }
 % override can't be inside markuplist!

 \once \override LyricText #'self-alignment-X = #LEFT

 didididididididididi

 }

 

 --snip--


 But you can't use lyric-overrides inside the markup-list - so if you use
 a lot them, this will not be helpful :-(
 ... and using \lyricmarkup \markuplist {} is a lot to type ...

 But still, you might try it ;-)



 Eluze elu...@gmail.com wrote (Jun 2012 06:57:36):

 you can use text-replacements, see NR 3.3.3 Special characters. ASCII
 aliases

 it's described there how to add your own characters, e.g.

 \paper {
   #(add-text-replacements!
 '(
   (lparen; . ()))
 }

 I don't know if its really elegant!?



Many thanks Jan-Peter and Eluze. I think on balance that, unless and until a
more simple solution appears, I might as well stick to (word for the time
being.

Cheers, Phil



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