[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New alist to replace special characters. (issue4553056)
From: |
reinhold . kainhofer |
Subject: |
Re: New alist to replace special characters. (issue4553056) |
Date: |
Mon, 23 May 2011 11:49:04 +0000 |
http://codereview.appspot.com/4553056/diff/1/ly/special-characters.ly
File ly/special-characters.ly (right):
http://codereview.appspot.com/4553056/diff/1/ly/special-characters.ly#newcode1
ly/special-characters.ly:1: #(define special-characters-alist
Is there any (public) command to add a replacement to that alist (or
remove one)?
Or do you have to repeat the whole list if you want to add/remove just
one entry?
http://codereview.appspot.com/4553056/diff/1/ly/special-characters.ly#newcode14
ly/special-characters.ly:14: ("\nbhyphen" . "‑")
\\nbhyphen?
http://codereview.appspot.com/4553056/diff/1/ly/special-characters.ly#newcode36
ly/special-characters.ly:36: ("_" . " ") ; thinspace
Will this work with words that have a wanted underscore? Or will the
underscore always be replaced with a thinspace?
http://codereview.appspot.com/4553056/diff/1/ly/special-characters.ly#newcode41
ly/special-characters.ly:41: ("\textbullet" . "•")
\\textbullet ?
http://codereview.appspot.com/4553056/diff/1/ly/special-characters.ly#newcode80
ly/special-characters.ly:80: ("\ng" . "ŋ")
Should that be \\ng?
http://codereview.appspot.com/4553056/diff/1/ly/special-characters.ly#newcode85
ly/special-characters.ly:85: ("\\OE" . "Œ")
Is the replacement always done on the longest string found? In
particular, if you wan to write ØE (Øe is a danish name apparently),
you'll have to use \\OE, which might or might not be matched with the
sequence for Œ instead...
http://codereview.appspot.com/4553056/diff/1/ly/special-characters.ly#newcode88
ly/special-characters.ly:88: ("\th" . "þ")
\\th?
http://codereview.appspot.com/4553056/diff/1/ly/special-characters.ly#newcode94
ly/special-characters.ly:94: ("\times" . "×")
\\times
http://codereview.appspot.com/4553056/diff/1/ly/special-characters.ly#newcode97
ly/special-characters.ly:97: ("\twosuperior" . "²")
\\twosupererior
http://codereview.appspot.com/4553056/diff/1/ly/special-characters.ly#newcode98
ly/special-characters.ly:98: ("\threesuperior" . "³")
\\threesuperior ?
http://codereview.appspot.com/4553056/
- New alist to replace special characters. (issue4553056), bordage . bertrand, 2011/05/23
- Re: New alist to replace special characters. (issue4553056), bordage . bertrand, 2011/05/23
- Re: New alist to replace special characters. (issue4553056), bordage . bertrand, 2011/05/23
- Re: New alist to replace special characters. (issue4553056),
reinhold . kainhofer <=
- Re: New alist to replace special characters. (issue4553056), Carl . D . Sorensen, 2011/05/23
- Re: New alist to replace special characters. (issue4553056), bordage . bertrand, 2011/05/23
- Re: New alist to replace special characters. (issue4553056), bordage . bertrand, 2011/05/23
- Re: New alist to replace special characters. (issue4553056), Carl . D . Sorensen, 2011/05/23
- Re: New alist to replace special characters. (issue4553056), bordage . bertrand, 2011/05/23
- Re: New alist to replace special characters. (issue4553056), Carl . D . Sorensen, 2011/05/23