[XeTeX] tipa Text-mode Accents
Ross Moore
ross at ics.mq.edu.au
Thu Jun 23 03:59:43 CEST 2005
Hi Tim,
On 23/06/2005, at 11:31 AM, Tim Lighthiser wrote:
> Hi,
>
> I'd like to use the tipa Text-mode Accents.
>
> Right now, the accented text does not appear in the
> output.
>
> Is there a way to make this appear?
Don't load the {tipa} package.
The accent is already defined in xunicode.sty :
[GlenLivet:] rossmoor% grep textacutemacro `kpsewhich xunicode.sty`
\@ifundefined{textacutemacron}{\DeclareTextAccent{\textacutemacron}
{OT1}{999}}{}
\DeclareEncodedCompositeAccents{\UTFencname}{\textacutemacron}{0301}
{0304} % acute-macron ligature
\def\tipaacutemacronaccent{\TIPAaccent{\textacutemacron}}
\DeclareUTFcomposite[\UTFencname]{x1E16}{\textacutemacron}{E}
\DeclareUTFcomposite[\UTFencname]{x1E17}{\textacutemacron}{e}
\DeclareUTFcomposite[\UTFencname]{x1E52}{\textacutemacron}{O}
\DeclareUTFcomposite[\UTFencname]{x1E53}{\textacutemacron}{o}
Note that some vowels have a unicode point defined already.
Others need to be constructed by combining the "0301 and "0304 glyphs.
How successful this will be depends upon the particular font that
you are using for typesetting.
Your coding below doesn't load a Mac font, so maybe you are just
getting CMR10 which doesn't have characters in the right positions.
>
> No solution has been posted in the archive.
>
> My log is below.
>
> Thanks in advance!
>
> tl
>
>
> \documentclass{article}
> \usepackage{tipa}
> \usepackage{xunicode}
> \usepackage{fontspec}
>
> \begin{document}
>
> \textacutemacron{a}
>
> \end{document}
Try the following:
\documentclass{article}
%\usepackage{tipa}
\usepackage{xunicode}
\usepackage{fontspec}
\DeclareFontFamily{U}{osx}{}
%\def\fontname{Hoefler\space Text}
\def\fontname{Lucida\space Grande}
\DeclareFontShape{U}{osx}{m}{n}{<-> "\fontname"}{}
\begin{document}
\fontencoding{U}\fontfamily{osx}\selectfont
\textacutemacron{a}
\textacutemacron{e}
\textacutemacron{O}
\end{document}
Note that (at least for me) Hoefler Text doesn't work well.
It's combining characters don't (combine, that is),
and it doesn't have the doubled-accent glyphs.
>
>
Hope this helps,
Ross
------------------------------------------------------------------------
Ross Moore ross at maths.mq.edu.au
Mathematics Department office: E7A-419
Macquarie University tel: +61 +2 9850 8955
Sydney, Australia 2109 fax: +61 +2 9850
8114
------------------------------------------------------------------------
More information about the XeTeX
mailing list