[XeTeX] Extra trailing space in IPA font with xltxtra

Heiko Oberdiek heiko.oberdiek at googlemail.com
Tue Sep 21 15:30:21 CEST 2010


On Mon, Sep 20, 2010 at 03:42:07PM +0100, Paolo Matteucci wrote:

> Hi all. I?ve updated my TexLive distribution today, and started noticing
> that, if you invoke the tipa package with xltxtra (and hence fontspec and
> xunicode) loaded, you get an extra trailing space just before the end of the
> \textipa environment.
> 
> Minimal example:
> 
> 
> % !Mode:: "TeX:UTF-8"
>  %&xelatex
> 
> %!TEX TS-program = xelatex
> 
> %!TEX encoding = UTF-8 Unicode
> 
> 
>  \documentclass{article}
> 
> \usepackage{xltxtra}
> 
> \usepackage{tipa}
> 
> \begin{document}
> 
> \section*{Test}
> 
> [\textipa{a}]
> 
> \end{document}

A bug, probably the use of \scantokens without \endlinechar=-1,
thus the space is the consequence of the uncommented endline character.

After an update of TL, the example breaks with lots of errors and warnings:

  LaTeX Warning: You have requested, on input line 27, version
                 `2010/05/14 v2.0' of package fontspec,
                 but only version
                 `2009/11/02 v2.0 Advanced font selection for XeLaTeX'
                 is available.

  LaTeX Warning: You have requested, on input line 15, version
                 `2010/05/14 v2.0' of package fontspec,
                 but only version
                 `2009/11/02 v2.0 Advanced font selection for XeLaTeX'
                 is available.

  ! Undefined control sequence.
  <argument> \DeclareDocumentCommand 
                                     \fakesubscript {m}{\@textsubscript
  {\sele...
  l.29 }

Yours sincerely
  Heiko Oberdiek


More information about the XeTeX mailing list