Re: special characters in markup

2008-01-11 Thread Paul Scott

Valentin Villenave wrote:

2008/1/11, Paul Scott [EMAIL PROTECTED]:

  

That's a good answer which I can use



This is not really needed anymore, as LilyPond can support all UTF-8
characters natively.

  

I was actually thinking about normal characters like '' which have
another syntactical meaning in Lily.



Actually, the double quote is the only character you need to 'escape',
by preceding it with a backslash:

\markup This 'is' #a \quoted sentence\ \with $pecial {chars}

As you can see, the #, { or \ characters are otherwise looking good.
  
This requires that the text be enclosed in quotes (Thanks to Geoff 
Horton). 


This works:  \markup{ some \quoted text\ }
This doesn't:  \markup{ some \quoted text\ }

Paul



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


Re: special characters in markup

2008-01-10 Thread Paul Scott

Germain G. Ivanoff-Trinadtzaty wrote:


I can no longer find (with the 2.11 docs) how to put special 
(reserved) characters into text markup.  Can someone please remind me?


TIA,

Paul Scott


Maybe :
\markup \char #'2014-Germain

That's a good answer which I can use.

I was actually thinking about normal characters like '' which have 
another syntactical meaning in Lily.


Thanks,

Paul




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


Re: special characters in markup

2008-01-10 Thread Germain G. Ivanoff-Trinadtzaty

Germain G. Ivanoff-Trinadtzaty wrote:


I can no longer find (with the 2.11 docs) how to put special 
(reserved) characters into text markup.  Can someone please remind me?


TIA,

Paul Scott


Maybe :
\markup \char #'2014-Germain

That's a good answer which I can use.

I was actually thinking about normal characters like '' which have 
another syntactical meaning in Lily.


Thanks,

Paul



You're welcome.

\markup az\er#ty
will print :
azer#ty

-Germain


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


Re: special characters in markup

2008-01-10 Thread Valentin Villenave
2008/1/11, Paul Scott [EMAIL PROTECTED]:

 That's a good answer which I can use.

This is not really needed anymore, as LilyPond can support all UTF-8
characters natively.

 I was actually thinking about normal characters like '' which have
 another syntactical meaning in Lily.

Actually, the double quote is the only character you need to 'escape',
by preceding it with a backslash:

\markup This 'is' #a \quoted sentence\ \with $pecial {chars}

As you can see, the #, { or \ characters are otherwise looking good.

Cheers,
Valentin


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