[XeTeX] Bug in \textipa from xunicode.sty

Ernest Adrogué eadrogue at gmx.net
Tue Jun 15 16:03:30 CEST 2010


The \textipa{} command, from the xunicode package, maps
the uppercase U letter to \textupsilon (actually, a turned
uppercase omega letter: Ʊ). I think this is wrong. It should be
mapped to \textscupsilon (the small-caps version of the same
symbol: ʊ). See this chart:

Here is a patch:

--- /usr/share/texmf-texlive/tex/xelatex/xunicode/xunicode.sty.orig	2010-06-15 14:42:28.000000000 +0200
+++ /usr/share/texmf-texlive/tex/xelatex/xunicode/xunicode.sty	2010-06-15 15:29:41.000000000 +0200
@@ -771,7 +771,7 @@
  \def R{\textfishhookr}%
  \def S{\textesh}%
  \def T{\texttheta}%
- \def U{\textupsilon}%
+ \def U{\textscupsilon}%
  \def V{\textscriptv}%
  \def W{\textturnm}%
  \def X{\textchi}%
@@ -1482,7 +1482,7 @@
 \DeclareUTFcharacter[\UTFencname]{x0289}{\textbaru}        % TIPA-0
-%\DeclareUTFcharacter[\UTFencname]{x028A}{\textscupsilon}  % TIPA-U  ???
+\DeclareUTFcharacter[\UTFencname]{x028A}{\textscupsilon}  % TIPA-U  ???
 \DeclareUTFcharacter[\UTFencname]{x028B}{\textscriptv}  % TIPA-V

Another problem is the \OE command, that should produce a small-caps
OE ligature \textscoelig (Unicode 0276, ɶ), but instead it is interpreted
as \O + E. However, remember that outside \textipa{} \OE is the
uppercase OE ligature (Unicode 0152, Œ).



More information about the XeTeX mailing list