<font face="georgia,serif"><span class="Apple-style-span" style="font-family: arial; ">2010/9/21 Paolo Matteucci <span dir="ltr"><<a href="mailto:p.n.matteucci@gmail.com">p.n.matteucci@gmail.com</a>></span></span><br>
</font><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="gmail_quote"><div class="im"><div><br></div></div>
<div> 2010/9/20 Alan Munn <span dir="ltr"><<a href="mailto:amunn@gmx.com" target="_blank">amunn@gmx.com</a>></span></div><div class="im"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div>Putting \relax after the last character in the TIPA string will solve the problem.<br>
<br>
\textipa{a\relax}<br></blockquote><div><br></div></div><div>Thank you, Alan, for the quick fix, although this doesn’t explain why this is happening in the first place, and where the "bug" is…</div></div></blockquote>
<div><br></div><div>By the way, if anyone is interested, I found out that the only way to fix this without having to explicitly change all the occurrences of \textipa in my document(s) was to add something like this *in the preamble*:</div>
<div><br></div><div><div>\let\oldImplementTIPAtext\implementTIPAtext</div><div>\def\implementTIPAtext#1{\oldImplementTIPAtext{#1\relax}} % renewcommand doesn't work here</div></div><div><font class="Apple-style-span" face="georgia, serif"><font class="Apple-style-span" face="arial"><br>
</font></font></div><div class="gmail_quote">2010/9/21 Heiko Oberdiek <span dir="ltr"><<a href="mailto:heiko.oberdiek@googlemail.com">heiko.oberdiek@googlemail.com</a>></span><br><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<div class="im"><br></div>A bug, probably the use of \scantokens without \endlinechar=-1,<br>thus the space is the consequence of the uncommented endline character.</blockquote><div><br></div><div>…At least something "in the neighbourhood of" \scantokens, as some tracing reveals:</div>
<div><br></div><div>[without xltxtra:]</div><div><br></div><div><div>{changing \cf@encoding=macro:->OT1}</div><div>{into \cf@encoding=macro:->T3}</div><div>{the letter a}</div><div>{end-group character }}</div></div>
<div><br></div><div>[with xltxtra:]</div><div><br></div><div><div>\implementTIPAtextx #1->\scantokens {#1}\egroup </div><div>#1<-a</div><div>{\scantokens}</div><div>{the letter a}</div><div>{blank space }</div><div>
{end-group character }}</div></div><div><br></div><div>…but my TeXnical knowledge stops here. :-(</div><div><br></div></div></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div class="gmail_quote"><div class="gmail_quote"><div>Paolo</div></div></div></blockquote>