[texhax] spurious space with abbrevs.sty

jtzzaa11-texhax2 at yahoo.com jtzzaa11-texhax2 at yahoo.com
Fri Sep 28 10:11:19 CEST 2012

Thanks for replying.

The spurious space happens even with no other pacakges loaded. Here's a minimal working example:



\newabbrev\pc{Personal computer (PC)}[PC]

{\pc}abc {\pc}abc


which gives "Personal computer (PC) abc PC abc",  so the spurious space is there.

The abbrevs documentation mentions the set of characters after which no space should be instered is \nospacelist.
It says it should include the left and right curly braces, but when I add "\nospacellist" to the above code I get

so at least the curly braces are missing.

Any ideas?


----- Original Message -----
From: Reinhard Kotucha <reinhard.kotucha at web.de>
To: "jtzzaa11-texhax2 at yahoo.com" <jtzzaa11-texhax2 at yahoo.com>
Cc: ML_texhax <texhax at tug.org>
Sent: Friday, 28 September 2012, 0:07
Subject: Re: [texhax] spurious space with abbrevs.sty

On 2012-09-27 at 05:26:04 -0700, jtzzaa11-texhax2 at yahoo.com wrote:

> Using the abbrevs.sty package for abbrevations, I've defined
> \newabbrev{\pc}{personal computer (PC)}[PC]
> which expands first to "personal computer (PC)" and afterwards to "PC".
> doing something like "{\PC}s" produced "PCs" in my previous texlive
> installation, but now I've made a fresh installation and I'm
> getting "PC s", so there's a spurious space.
> Any ideas how to fix this?
> The abbrevs package on the recent TL installation is from 2001. 

Yes, and it hasn't changed since them.  If it behaves different now,
maybe another package interferes with it.  Did you try a simple
document which only uses abbrevs.sty and nothing else?


More information about the texhax mailing list