Re: [XeTeX] Extra trailing space in IPA font with xltxtra

2010-09-23 Thread Paolo Matteucci
2010/9/23 Khaled Hosny > [...] > > No, fontspec just loads xunicode (assuming you are using the latest > version in texlive). OK, my bad: I wasn’t aware of this. Sorry, all; thank you, Khaled. "Mystery" solved, then. :-) Paolo -- Subscriptions

Re: [XeTeX] Extra trailing space in IPA font with xltxtra

2010-09-23 Thread Will Robertson
On 2010-09-23 20:38:14 +0930, Paolo Matteucci said: Therefore *maybe", whatever approach is used to address this bug, the same "fix" should be applied to fontspec, too...? The \scantokens is somewhere in tipa.sty or its accompanying packages. But the problem only occurs if fontspec is loade

Re: [XeTeX] Extra trailing space in IPA font with xltxtra

2010-09-23 Thread Khaled Hosny
On Thu, Sep 23, 2010 at 12:08:14PM +0100, Paolo Matteucci wrote: > Although admittedly it doesn't make much sense to load tipa without loading > xltxtra or xunicode as well, if you just load fontspec [v2.1] (*and* tipa, of > course), you still get the extra trailing space with the \textipa command,

Re: [XeTeX] Extra trailing space in IPA font with xltxtra

2010-09-23 Thread Paolo Matteucci
2010/9/22 Philip Taylor (Webmaster, Ret'd) > P.S. This may be a more elegant solution : > > [...] > > \def\implementTIPAtextx#1{\scantokens{#1\endinput}\egroup} Thank you, Phil: that certainly is. 2010/9/22 Philip Taylor (Webmaster, Ret'd) > > > Ross Moore wrote: > > However, I'm not convin

Re: [XeTeX] Extra trailing space in IPA font with xltxtra

2010-09-22 Thread Andy Lin
It's fairly basic. It just maps the capital letters, numbers, and some symbols. For \*,\;,\:, and \! I'd have to add commands to map them to an unused symbol, maybe & (so you'd get something convoluted like &*& > &, and &;B > U+0299 ; small capital B)*. If you think this should be submitted to CTA

Re: [XeTeX] Extra trailing space in IPA font with xltxtra

2010-09-22 Thread Alan Munn
On Sep 22, 2010, at 2:37 PM, Andy Lin wrote: If it works with linguex, that's great. If not, and you need textipa with linguex, I have a TECkit mapping I can upload that converts uppercase and numeric input into their textipa forms. Hi Andy, it would be great if you could upload a TECkit map

Re: [XeTeX] Extra trailing space in IPA font with xltxtra

2010-09-22 Thread Philip Taylor (Webmaster, Ret'd)
P.S. This may be a more elegant solution : \documentclass{article} \usepackage{xltxtra} %or xunicode \usepackage{linguex} \setmainfont{Charis SIL} \begin{document} \def\implementTIPAtextx#1{\scantokens{#1\endinput}\egroup} \ex. \textipa{DOES THIS WORK?} \end{document} ** Phil. ---

Re: [XeTeX] Extra trailing space in IPA font with xltxtra

2010-09-22 Thread Philip Taylor (Webmaster, Ret'd)
Ross Moore wrote: However, I'm not convinced that this is the most robust way of tackling this issue. Should it be localised to just when linguex is used? Here is how I think this kind of interaction-between-packages specific kind of issue should be solved. What do you think? \def\implem

Re: [XeTeX] Extra trailing space in IPA font with xltxtra

2010-09-22 Thread Ross Moore
Hi Andy, Ulrike, Paolo, Heiko, On 23/09/2010, at 4:37 AM, Andy Lin wrote: > \scantokens is my fault. I noticed that the IPA support in xunicode > didn't work with the linguex package, and Ross suggested the use of > \scantokens. I haven't tried to use linguex with xunicode recently, > but to give

Re: [XeTeX] Extra trailing space in IPA font with xltxtra

2010-09-22 Thread Andy Lin
\scantokens is my fault. I noticed that the IPA support in xunicode didn't work with the linguex package, and Ross suggested the use of \scantokens. I haven't tried to use linguex with xunicode recently, but to give you an idea of where it used to fail: \documentclass{article} \usepackage{xltxtra}

Re: [XeTeX] Extra trailing space in IPA font with xltxtra

2010-09-22 Thread Paolo Matteucci
2010/9/22 Ulrike Fischer > > xunicode has changed the definition of \implementTIPAtextx. It is > now (in 0.95) > > \expandafter\ifx\csname scantokens\endcsname\relax > \def\implementTIPAtextx#1{#1\egroup} > \else > \def\implementTIPAtextx#1{\scantokens{#1}\egroup} > \fi > > Reverting to the old

Re: [XeTeX] Extra trailing space in IPA font with xltxtra

2010-09-22 Thread Ulrike Fischer
Am Wed, 22 Sep 2010 16:22:16 +0100 schrieb Paolo Matteucci: > OK, I have now compared all three file lists (mine is appended) below, and > can see that the [main] differences are: > P. xunicode.sty 0.95 ~ U: xunicode.sty 0.91 xunicode has changed the definition of \implementTIPAtextx. It is no

Re: [XeTeX] Extra trailing space in IPA font with xltxtra

2010-09-22 Thread Paolo Matteucci
2010/9/22 Ulrike Fischer > Am Wed, 22 Sep 2010 14:35:22 +0100 schrieb Paolo Matteucci: > > > >> In the meantime the problem seems to be fixed: > >> > >> *File List* > >> [...] > >> fontspec.sty2010/08/01 v2.0c Advanced font selection for > >> [...] > >> > > > > But you seem to be using fonts

Re: [XeTeX] Extra trailing space in IPA font with xltxtra

2010-09-22 Thread Ulrike Fischer
Am Wed, 22 Sep 2010 14:35:22 +0100 schrieb Paolo Matteucci: >> In the meantime the problem seems to be fixed: >> >> *File List* >> [...] >> fontspec.sty2010/08/01 v2.0c Advanced font selection for >> [...] >> > > But you seem to be using fontspec 2.0c (and no xunicode?), whereas the > lates

Re: [XeTeX] Extra trailing space in IPA font with xltxtra

2010-09-22 Thread Paolo Matteucci
2010/9/22 Heiko Oberdiek > > #1 is "a" (without blank space), \scantokens then reads > a new line "a" and is converted to {blank space}... > Thank you for the TeXnical explanation, Heiko, although I must confess I can only follow it up to a point... ;-) > In the meantime the problem seems to

Re: [XeTeX] Extra trailing space in IPA font with xltxtra

2010-09-22 Thread Heiko Oberdiek
On Tue, Sep 21, 2010 at 11:26:37PM +0100, Paolo Matteucci wrote: > ?At least something "in the neighbourhood of" \scantokens, as some tracing > reveals: > > [without xltxtra:] > > {changing \...@encoding=macro:->OT1} > {into \...@encoding=macro:->T3} > {the letter a} > {end-group character }} >

Re: [XeTeX] Extra trailing space in IPA font with xltxtra

2010-09-21 Thread Paolo Matteucci
2010/9/21 Paolo Matteucci > > 2010/9/20 Alan Munn > > >> Putting \relax after the last character in the TIPA string will solve >> the problem. >> >> \textipa{a\relax} >> > > Thank you, Alan, for the quick fix, although this doesn’t explain why this > is happening in the first place, and where

Re: [XeTeX] Extra trailing space in IPA font with xltxtra

2010-09-21 Thread Heiko Oberdiek
On Tue, Sep 21, 2010 at 03:30:20PM +0200, Heiko Oberdiek wrote: > After an update of TL, the example breaks with lots of errors and warnings: Sorry false alarm, an old fontspec.sty in the scratch directory was found first. Yours sincerely Heiko Oberdiek ---

Re: [XeTeX] Extra trailing space in IPA font with xltxtra

2010-09-21 Thread Heiko Oberdiek
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 > \

Re: [XeTeX] Extra trailing space in IPA font with xltxtra

2010-09-21 Thread Paolo Matteucci
On Sep 20, 2010, at 1:07 PM, Peter Dyballa wrote: > You're obvious using a TeX Live 2010 binary with the TeX Live 2009 > distribution: > Ahem, are we sure about this? ;-) Comparing my log with Alan’s, I’d say I’ve got TeX Live 2010 binaries *and* distribution: simply, it looks like the TeX Liv

Re: [XeTeX] Extra trailing space in IPA font with xltxtra

2010-09-20 Thread Alan Munn
On Sep 20, 2010, at 1:07 PM, Peter Dyballa wrote: Am 20.09.2010 um 16:42 schrieb Paolo Matteucci: 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 jus

Re: [XeTeX] Extra trailing space in IPA font with xltxtra

2010-09-20 Thread Peter Dyballa
Am 20.09.2010 um 16:42 schrieb Paolo Matteucci: 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. Y

[XeTeX] Extra trailing space in IPA font with xltxtra

2010-09-20 Thread Paolo Matteucci
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