Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-11-03 Thread Daniel Greenhoe
Attached to this email is an ASCII to Unicode IPA map file (TECkit mapping file). It is not complete; for example, it does not cover somewhat "exotic" symbols like "characters for disordered speech". A more complete package can be downloaded from here: http://banyan.cm.nctu.edu.tw/~dgreenhoe/gro

Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-31 Thread Peter Dyballa
Am 31.10.2011 um 19:06 schrieb Andy Lin: > IIRC (and I might not), Calibri, Meiryo, and Tahoma(Windows Vista or > later) should have at least partial support of IPA characters. My > fallback font is Lucida Sans Unicode. I checked my own font repertoire. The Tahoma I have (Version 5.01.2x) has th

Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-31 Thread Daniel Greenhoe
On Tue, Nov 1, 2011 at 2:06 AM, Andy Lin wrote: > I sometimes use the list at http://www.wazu.jp/gallery/Fonts_IPA.html That's a great resource --- thanks! > As for Heuristica, it's possible that the characters aren't > incorporated into the built files (it's still a work in progress). You > can

Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-31 Thread Andy Lin
I sometimes use the list at http://www.wazu.jp/gallery/Fonts_IPA.html to look up fonts. IIRC (and I might not), Calibri, Meiryo, and Tahoma(Windows Vista or later) should have at least partial support of IPA characters. My fallback font is Lucida Sans Unicode. As for Heuristica, it's possible tha

Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-31 Thread Daniel Greenhoe
On Mon, Oct 31, 2011 at 6:45 AM, Andy Lin wrote: > Anyhow, these are the fonts I use most often if I have uncommon > diacritics in my document: > Charis SIL (derived from Charter) > Doulos SIL (matches Times New Roman) > Heuristica (derived from Utopia) Thank you for the font tips. I have downloa

Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-30 Thread Andy Lin
BTW, I don't know if this was mentioned already, but if you're having a problem with diacritic placement due to your fonts not having proper anchor points, you can try using the SIL unicode fonts, which have proper anchor points, as well as a large repertoire of pre-composed glyphs (Charis SIL in p

Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-30 Thread Andy Lin
I second looking through xunicode.sty. Most of the tipa commands are the same, although a couple were altered, as precedence was given to the math symbols (I think). The comments in file explain why a particular command was assign to a particular character in these cases, and IIRC, tell you what co

Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-30 Thread Ross Moore
Hello Daniel, On 30/10/2011, at 21:41, Daniel Greenhoe wrote: >> On Sun, Oct 30, 2011 at 5:50 PM, Ross Moore wrote: >>> With Xunicode loaded, does this not do what you want? >>> c\textsubring{b}c > > On ctan at http://www.ctan.org/tex-archive/macros/xetex/latex/xunicode > there is no documen

Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-30 Thread Daniel Greenhoe
> On Sun, Oct 30, 2011 at 5:50 PM, Ross Moore wrote: >> With Xunicode loaded, does this not do what you want? >> c\textsubring{b}c On ctan at http://www.ctan.org/tex-archive/macros/xetex/latex/xunicode there is no documentation about xunicode other than a brief readme. Is there currently any do

Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-30 Thread Peter Dyballa
Am 30.10.2011 um 10:11 schrieb Daniel Greenhoe: > How do I in general put, for example, U+0325 below U+0062, > while still maintaining proper alignment (e.g. the bottom of the "b" > (U+0062) with a ring (U+0325) below it is still aligned with the > bottom of an adjacent "c" (U+0063) with nothing

Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-30 Thread Daniel Greenhoe
On Sun, Oct 30, 2011 at 5:50 PM, Ross Moore wrote: > With Xunicode loaded, does this not do what you want? > c\textsubring{b}c > > or cb0325c (with no extra package). Yes, both of those work great! Thank you! Dan On Sun, Oct 30, 2011 at 5:50 PM, Ross Moore wrote: > > On 30/10/2011, a

Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-30 Thread Ross Moore
On 30/10/2011, at 8:11 PM, Daniel Greenhoe wrote: > On Sun, Oct 30, 2011 at 4:33 PM, Peter Dyballa wrote: >> With COMBINING RING BELOW, U+0325? > > Yes --- How do I in general put, for example, U+0325 below U+0062, > while still maintaining proper alignment (e.g. the bottom of the "b" > (U+0062

Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-30 Thread Daniel Greenhoe
On Sun, Oct 30, 2011 at 4:33 PM, Peter Dyballa wrote: > With COMBINING RING BELOW, U+0325? Yes --- How do I in general put, for example, U+0325 below U+0062, while still maintaining proper alignment (e.g. the bottom of the "b" (U+0062) with a ring (U+0325) below it is still aligned with the bott

Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-30 Thread Peter Dyballa
Am 30.10.2011 um 02:12 schrieb Daniel Greenhoe: > For example the "b" with a small circle under it > (voiceless b) is quite important in Chinese. Any suggestions for > typesetting glyphs with diacritics? With COMBINING RING BELOW, U+0325? -- Greetings Pete Engineer: a mechanism for converti

Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-30 Thread Daniel Greenhoe
2011/10/30 Zdenek Wagner : > It depends... In Linux you can define your own xkb map and thus have > all accents on your keyboard. It is possible to define macros in emacs ... Thank you for your feedback. However, I was not referring to keyboard input methods, I meant how do I, for example, create

Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-29 Thread Zdenek Wagner
2011/10/30 Daniel Greenhoe : > On Sat, Oct 29, 2011 at 1:11 PM, Andy Lin wrote: >> This is actually the reason I abandoned developing the map file >> further. I had started based on the textipa replacements that I knew, >> and then I discovered all the additional commands and realized that >> they

Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-29 Thread Daniel Greenhoe
On Sat, Oct 29, 2011 at 1:11 PM, Andy Lin wrote: > This is actually the reason I abandoned developing the map file > further. I had started based on the textipa replacements that I knew, > and then I discovered all the additional commands and realized that > they could not be implemented by TECkit

Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-28 Thread Andy Lin
On Thu, Oct 27, 2011 at 04:06, Daniel Greenhoe wrote: > What I would really like is a "drop in" solution involving a TECkit > map only. That is, I would like to be able to hand such a map off to a > linguist, and to tell him/her to simply add in something like this to > his/her tex file: >   \addf

Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-27 Thread Ulrike Fischer
Am Thu, 27 Oct 2011 16:06:52 +0800 schrieb Daniel Greenhoe: > If I can do this conversion from the command line, why can't fontspec > handle it correctly? That is, before fontspec tries to interpret a > sequence beginning with "\" as a command, why can't it first check to > see if the sequence is

Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-27 Thread Daniel Greenhoe
On Thu, Oct 27, 2011 at 5:16 PM, Peter Dyballa wrote: > Because it's too late then. Thank you for your explanation. In that case then I think I will define the map file with the TIPA standard \:t, but I will also define /:t. The \:t (in conformance with TIPA 1.3) can be used with the utility txt

Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-27 Thread Peter Dyballa
Am 27.10.2011 um 10:06 schrieb Daniel Greenhoe: > If I can do this conversion from the command line, why can't fontspec > handle it correctly? That is, before fontspec tries to interpret a > sequence beginning with "\" as a command, why can't it first check to > see if the sequence is up for repl

Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-27 Thread Daniel Greenhoe
On Thu, Oct 27, 2011 at 1:01 PM, Andy Lin wrote: > I've looked at the tipa code, and basically what they did was redefine > \:, etc. to produce the characters. With that in mind... > Add this to your tex document... Thank you for your hard work on my behalf. And thank you for the solution. It is

Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-26 Thread Andy Lin
I've looked at the tipa code, and basically what they did was redefine \:, etc. to produce the characters. With that in mind... Add this to your tex document \newcommand{\setTIPAcommands}{ \def\*\char"FE50 %Replace FE50 with your choice of unicode codepoint, I've chosen the small punctuation set b

Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-26 Thread Daniel Greenhoe
I am having trouble mapping TIPA input sequences involving the backslash symbol. An example is the "\:t" sequence used for IPA's voiceless retroflex plosive. I have tried this is my ascii map file: reverse_solidus colon latin_small_letter_t <> latin_small_letter_t_with_retroflex_hook which is a

Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-25 Thread Daniel Greenhoe
On Wed, Oct 26, 2011 at 2:12 AM, Andy Lin wrote: > I've attached the map ... I looked over your map example. Thank you very much for taking the time to search for and send it. I like the "Define" directives --- I think they could be especially useful in the case of a mapping that is not 1:1. Dan

Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-25 Thread Peter Dyballa
Am 25.10.2011 um 20:12 schrieb Andy Lin: > %These two lines are for xunicode, if you use it instead > %\newfontface\doulos{Doulos SIL} > %\def\useTIPAfont{\doulos} > \newfontface\tipafont[Mapping=xetex-textipa]{Doulos SIL} And another option is to turn this font declaration (similar to {\rmfamil

Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-25 Thread Andy Lin
I've attached the map and the compiled .tec file. The annotation is quite bare-bones, but it does have the substitution that you want. For the most part, I've stolen the definitions from xunicode.sty (which is convenient because it has all its definitions in one place). I don't know if there are an

Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-25 Thread Daniel Greenhoe
On Tue, Oct 25, 2011 at 11:43 AM, Andy Lin wrote: > I did have a map lying around for that. I'll take a look when I get home. I did start writing and using a simple map here as well. I will attach the ascii (tipa2uni.map) and binary (tipa2uni.tec) to this email. So far, it does not completely con

Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-24 Thread Andy Lin
I did have a map lying around for that. I'll take a look when I get home. -Andy On Mon, Oct 24, 2011 at 17:27, Daniel Greenhoe wrote: > Thank you Andy and Peter for your feedback. I did try including Andy's > suggested code in the preamble and > {\begin{textipaeEnvironment} TA@2"DENSU \end{textip

Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-24 Thread Daniel Greenhoe
Thank you Andy and Peter for your feedback. I did try including Andy's suggested code in the preamble and {\begin{textipaeEnvironment} TA@2"DENSU \end{textipaeEnvironment}} in the document. But I was told that textipaEnvironment is undefined. With an error message like that, it is quite possible th

Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-24 Thread Peter Dyballa
Am 24.10.2011 um 00:57 schrieb Daniel Greenhoe: > I am talking about these for example ... > T ==> theta ('124) > A ==> script A ('101) > @ ==> schwa ('100) > 2 ==> turned V ('062) > D ==> Eth ('104) > E ==> epsilon ('105) > N ==> right-tail n ('357) > S ==> Esh ('123) >

Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-24 Thread Andy Lin
Sorry, I'm a little sleep deprived so there isn't much academic rigor in this response. This is the relevant portion of xunicode, which deals with the exact definition of the \textipa command \DeclareRobustCommand{\implementTIPAtext}{% \bgroup \let\stone\TIPAstonebar \let\tone\TIPAtonebar \s

Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-23 Thread Daniel Greenhoe
On Mon, Oct 24, 2011 at 5:41 AM, Andy Lin wrote: > Which tipa characters are you referring to? I am talking about these for example ... T ==> theta ('124) A ==> script A ('101) @ ==> schwa ('100) 2 ==> turned V ('062) D ==> Eth ('104) E ==> epsilon ('105) N ==> right-ta

Re: [XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-23 Thread Andy Lin
Which tipa characters are you referring to? If you're talking about mapping from the tipa shorthands (e.g. \textbarl), most of these are defined in the xunicode package. It also defines the textipa command, but it's not a complete implementation (the special macros in section 3.2.4 of the tipa manu

[XeTeX] TECkit map for Latin alphabet to Unicode IPA

2011-10-23 Thread Daniel Greenhoe
Is there already a TECkit map available to map the Latin alphabet (abc...) to Unicode IPA code points, where the Latin symbols are defined by tipa 1.3 (http://www.ctan.org/pkg/tipa) and where the Unicode IPA code points are as defined by the Unicode standard (http://unicode.org/charts/PDF/U0250.pdf