<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Le 10/11/2011 09:02, Joel T. a écrit :<br>
<span style="white-space: pre;">> Thanks for the prompt reply.<br>
><br>
> "\@tempswatrue" to "\maybe at ictrue": did you mean
\maybe@ictrue ?<br>
><br>
> and<br>
> "\if at tempswa" to "\ifmaybe at ic": is that \if@tempswa to
\ifmaybe@ic ?</span><br>
<br>
Yes. It got mangled into an email address somewhere along the way.<br>
<br>
<span style="white-space: pre;">> Also, let's assume these
changes are incompatible with some other<br>
> packages. how can I set the conditional to be always false,
namely, to<br>
> never add that extra space?.</span><br>
<br>
You'd better rewrite the internal macros to work properly; replace
the<br>
definition of \maybe@space@ (l.479-491 of abbrevs.sty) by:<br>
<br>
\newif\if@abbrevs<br>
\def\abbrevs@t@st@ic {%<br>
\expandafter\let\expandafter\reserved@b\expandafter=\reserved@a\relax<br>
\ifx\reserved@b\@let@token<br>
\@abbrevsfalse<br>
\@break@tfor<br>
\fi<br>
}<br>
\newcommand\maybe@space@ {%<br>
\@abbrevstrue<br>
\expandafter \@tfor<br>
\expandafter \reserved@a<br>
\expandafter :%<br>
\expandafter =%<br>
\nospacelist<br>
\do \abbrevs@t@st@ic<br>
\if@abbrevs<br>
\space<br>
\fi<br>
}<br>
<br>
It does exactly the same thing, except things are rewritten to rely
on<br>
its own conditional (hence the rewriting of \t@st@ic into
\abbrevs@t@st@ic).<br>
<br>
Best,<br>
Paul<br>
<br>
</body>
</html>