[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Phonetic font working :)
From: |
Peter Holtse |
Subject: |
Re: [Groff] Phonetic font working :) |
Date: |
Wed, 11 Sep 2002 14:34:39 +0200 |
On Wed, 11 Sep 2002 06:17:47 -0500
Alejandro López-Valencia <address@hidden> wrote:
> Rob Scovell wrote:
> > Thanks, Alejandro.
>
> Even though I did made some blunders. I usually play groff by ear with
> my old ATT troff knowledge... We learn something everyday.
>
Some years ago I compiled at set of .char definitions for the IPA character
set which makes it possible to spell things like 'bird': \(b)\[erh]\[long]\(d)
or 'very': \(v)\(E)\[r-flap]\[i-lax]
i.e. switching to the phonetic font in the middle of the ordinary text string.
They also allow for a possible size adjustment between the phonetic and
the text font.
I shall be happy to make them available if anybody is interested.
They look like this:
..char \[r-flap] \s+\n[phnsz]\f[IPA]\N'81'\s-\n[phnsz]
..char \(Z) \s+\n[phnsz]\f[IPA]\N'90'\s-\n[phnsz]
..char \([) \s+\n[phnsz]\f[IPA]\N'91'\s-\n[phnsz]
..char \[click] \s+\n[phnsz]\f[IPA]\N'92'\s-\n[phnsz]
..char \(]) \s+\n[phnsz]\f[IPA]\N'93'\s-\n[phnsz]
..char \[upstep] \s+\n[phnsz]\f[IPA]\N'95'\s-\n[phnsz]
..char \[nasal-subsc] \s+\n[phnsz]\f[IPA]\N'96'\s-\n[phnsz]
..char \(a) \s+\n[phnsz]\f[IPA]\N'97'\s-\n[phnsz]
..char \(b) \s+\n[phnsz]\f[IPA]\N'98'\s-\n[phnsz]
..char \(c) \s+\n[phnsz]\f[IPA]\N'99'\s-\n[phnsz]
..char \(d) \s+\n[phnsz]\f[IPA]\N'100'\s-\n[phnsz]
..char \(v) \s+\n[phnsz]\f[IPA]\N'118'\s-\n[phnsz]
..char \(w) \s+\n[phnsz]\f[IPA]\N'119'\s-\n[phnsz]
..char \(x) \s+\n[phnsz]\f[IPA]\N'120'\s-\n[phnsz]
..char \(y) \s+\n[phnsz]\f[IPA]\N'121'\s-\n[phnsz]
..char \[x-lowtone] \s+\n[phnsz]\f[IPA]\N'165'\s-\n[phnsz]
..char \[corner] \s+\n[phnsz]\f[IPA]\N'167'\s-\n[phnsz]
..char \[r-retro-super] \s+\n[phnsz]\f[IPAX]\N'241'\s-\n[phnsz]
..char \[r-inv-super] \s+\n[phnsz]\f[IPAX]\N'242'\s-\n[phnsz]
..char \[esh-curly] \s+\n[phnsz]\f[IPAX]\N'243'\s-\n[phnsz]
..char \[t-curly] \s+\n[phnsz]\f[IPAX]\N'244'\s-\n[phnsz]
..char \[retro] \s+\n[phnsz]\f[IPAX]\N'249'\s-\n[phnsz]
..char \[Zz] \s+\n[phnsz]\f[IPAX]\N'250'\s-\n[phnsz]
..char \[2-bar] \s+\n[phnsz]\f[IPAX]\N'251'\s-\n[phnsz]
As you will see from the examples, the pseudo-glyphs refer to
two different fonts, IPA and IPAX in my implementation, in order
to gain access to the entire IPA alphabet.
Peter
=============================================================
Peter Holtse
----------------------------
Faculty of Humanities, University of Copenhagen
80 Njalsgade
DK-2300 Copenhagen S, Denmark
phone +45 3532 8643