Re: Kind of solved ([abcusers] Accented characters in lyrics (abc2ps))

2003-07-03 Thread John Chambers
Manuel Reiter writes:
| sorry to answer my own post, but I've gotten a bit further after some
| reading up of Postscript specs and a lot of guesswork. ;-)

I noticed that post, but didn't manage to get around to  it
yesterday.   I  just  grabbed the latest files and compiled
them.  After a bit of  twiddling  to  include  some  recent
changes  (to  make  it read from stdin if there are no file
names), I tried it and it worked fine.   My  HP  LaserJet4L
printer  even  printed  them all very nicely.  I'll have to
study the code to see how it works.

I notice that there is commented-out code for \~x chars.  I
can  understand why this would have to be special, since \~
already has a meaning in w: lines.  It would be really nice
to make this work. I wonder what the best way to handle the
conflict with \~ would be?  This is  already  a  bit  of  a
kludge,  as it is used to mean a literal tilde.  We want to
change it to add a tilde to the following  char.   Maybe  a
literal tilde would have to be \~~. That would mean a tilde
added to itself, which could  reasonably  be  considered  a
no-op. But I can hear the objection from mathematicians ...

| By modifying 'subs.c' and 'syms.c' modified from the current (08-Apr-2003)
| version of jcabc2ps found at
|
|   http://trillian.mit.edu/~jc/music/abc/src/jcabc2ps-src.tar.gz

I put the modified version at:
  http://trillian.mit.edu/~jc/music/abc/src/jcabc2ps-20030703-src.tar.gz

I've always included a link to a file  with  such  a  date.
This  time,  as  it's  experimental,  I'll  leave  the name
jcabc2ps-src.tar.gz as the old version for now, and  change
it  only  if  the  new  one  looks like it doesn't have any
problems.  Anyone is welcome to try it and see if they  can
find old abc that it breaks.

| A couple of issues I'm aware of:
|
...
|
| - Placement of the accents works quite well for most characters but is
| ugly for high lower-case characters like 'l' and 'b'.

One kludge would be to list the tall lower-case letters and
treat them as upper case.

| I hope anybody besides me finds this helpful. :-) Maybe it will even make
| its way into mainstream jcabc2ps when the above issues have been sorted
| out.

I'll try converting some of my Balkan  songs  to  use  this
notation,  and find out how well it works.  One thing I can
see missing right now is  the  cedille  that  Romanian  and
Polish  use  on  some  letters other than C.  I suppose the
obvious notation for this would be \,s and \,t.


To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html


Re: Kind of solved ([abcusers] Accented characters in lyrics (abc2ps))

2003-07-03 Thread Laura Conrad
 John == John Chambers [EMAIL PROTECTED] writes:


John One thing I can see missing right now is the cedille that
John Romanian and Polish use on some letters other than C.  I
John suppose the obvious notation for this would be \,s and \,t.

It's called an ogonek (in Polish, anyway), and it's backwards from a
cedilla.   That is, a cedilla is like a 5 without the top horizontal
line, and the ogonek is a mirror image of this.

The LaTeX for it is \k{o}, if it's on a lowercase o.  You need to
activate T1 encoding for this to work.

-- 
Laura (mailto:[EMAIL PROTECTED] , http://www.laymusic.org/ )
(617) 661-8097  fax: (801) 365-6574 
233 Broadway, Cambridge, MA 02139


To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html