Most of the features in tipa from TeXLive2009 seem to be part of fontspec in TeXLive2012 -- if you activate both, you get an error message: "Command sups already defined".
The following code to suppress the side tonestembars on tone letters worked fine with tipa in TeXLive2009, but no longer works with fontspec in TeXLive2012:
\makeatletter
\renewcommand\@tonestembar{%
\setbox0\hbox{\tipaencoding\char'277}%
\hbox{\vrule height \ht0 depth \dp0
width 0pt}}
\makeatother
You get an error that tonestembar is undefined, and the tonemarks are printed with the sidebar attached.
Is there any way of tweaking this code to persuade TeXLive2012 to suppress the tonestembars?
MWE latex (works):
\documentclass[a4paper,12pt, oneside]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8x]{inputenc}
\usepackage{mathptmx}
\usepackage[tone]{tipa} % tone invokes the tone letters
% Fix tonemarks to show marks without sidebars.
\makeatletter
\renewcommand\@tonestembar{%
\setbox0\hbox{\tipaencoding\char'277}%
\hbox{\vrule height \ht0 depth \dp0 width 0pt}} % no stem
\makeatother
\begin{document}
This is an example of the tonemarks without the stembars:
\textbf{babubibuba [~\tone{11}\, \tone{55}\, \tone{33}\, \tone{55}\, \tone{11}~]}
\end{document}
MWE xetex (doesn't work):
\documentclass[a4paper,12pt, oneside]{article}
\usepackage{fontspec}
\defaultfontfeatures{Mapping=tex-text, Scale=MatchLowercase}
\setmainfont{Charis SIL}
% \usepackage[tone]{tipa} % IPA letters - tone invokes the tone letters
% Fix tonemarks to show marks without sidebars.
\makeatletter
\renewcommand\@tonestembar{%
\setbox0\hbox{\tipaencoding\char'277}%
\hbox{\vrule height \ht0 depth \dp0 width 0pt}} % no stem
\makeatother
\begin{document}
\fontspec[Renderer=Graphite]{Charis SIL}
This is an example of the tonemarks which are showing the stembars in spite of using the suppression code that works in latex:
\textbf{babubibuba [~\tone{11}\, \tone{55}\, \tone{33}\, \tone{55}\, \tone{11}~]}
Changing ``renewcommand'' to ``newcommand'' to get rid of the error message``@tonestembar undefined'' makes no difference.
\end{document}
pdflatexso that we can see the effect that needs to be implemented in with thexunicodeversion (the work is done by thexunicodepackage, not actually byfontspec.) – Alan Munn Mar 09 '13 at 13:46