the IfFileExists macro has the following line: \openin\@inputcheck#1 %
I can also see some trailing spaces at other places, like this one:
\immediate\closeout15 %
Are those spaces important ? What's their use ? I'm asking because in
one of my packages, FiNk, the IfFileExists macro is redefined, and the
space in \@inputcheck#1 % seems to trigger a problem in one of my
users'document.
Thanks !
--
Resistance is futile. You will be jazzimilated.
Didier Verna, did...@lrde.epita.fr, http://www.lrde.epita.fr/~didier
EPITA / LRDE, 14-16 rue Voltaire Tel.+33 (1) 44 08 01 85
94276 Le Kremlin-Bicętre, France Fax.+33 (1) 53 14 59 22 did...@xemacs.org
this is because \openin is using knuth's syntax for filnames, which
are terminated by space (or eol).
>I can also see some trailing spaces at other places, like this one:
>\immediate\closeout15 %
that's one of the things ben lee is confused about in the tex book: no
explicit termination of a number is a well-known booby-trap.
>Are those spaces important ? What's their use ? I'm asking because in
>one of my packages, FiNk, the IfFileExists macro is redefined, and the
>space in \@inputcheck#1 % seems to trigger a problem in one of my
>users'document.
does the above help?
--
Robin Fairbairns, Cambridge
> Didier Verna <did...@lrde.epita.fr> writes:
>>the IfFileExists macro has the following line: \openin\@inputcheck#1 %
>
> this is because \openin is using knuth's syntax for filnames, which
> are terminated by space (or eol).
>
>>I can also see some trailing spaces at other places, like this one:
>>\immediate\closeout15 %
>
> that's one of the things ben lee is confused about in the tex book: no
> explicit termination of a number is a well-known booby-trap.
OK, so the first case is a requirement, and the second a safety
precaution. Thanks.
>
> Hello,
>
> the IfFileExists macro has the following line: \openin\@inputcheck#1 %
> I can also see some trailing spaces at other places, like this one:
> \immediate\closeout15 %
>
> Are those spaces important ? What's their use ? I'm asking because in
> one of my packages, FiNk, the IfFileExists macro is redefined, and the
> space in \@inputcheck#1 % seems to trigger a problem in one of my
> users'document.
I assume this was what was reported on the TeX on Mac OS X list? In that
case it is *not* the space that's the bug. True, the space does make the
bug disappear but only in the same sense removing the tires from my bike
will prevent me from getting a flat... :-) See
<http://tug.org/pipermail/macostex-archives/2007-November/032856.html> for
more.
--
Morten
> I assume this was what was reported on the TeX on Mac OS X list? In
> that case it is *not* the space that's the bug.
Yup. Besides, as I have reported on the list (but not sure if the
message went through because I'm not a subscriber), the latest version
of FiNK doesn't redefine IfFileExists (only InputIfFileExists), and the
bug remains.
> True, the space does make the bug disappear but only in the same sense
> removing the tires from my bike will prevent me from getting a flat...
> :-)
Right :-)
--
Resistance is futile. You will be jazzimilated.
Didier Verna, did...@lrde.epita.fr, http://www.lrde.epita.fr/~didier
EPITA / LRDE, 14-16 rue Voltaire Tel.+33 (1) 44 08 01 85
94276 Le Kremlin-Bicêtre, France Fax.+33 (1) 53 14 59 22 did...@xemacs.org
See <http://tug.org/pipermail/macostex-archives/2007-November/032856.html>
> for more.
Thanks for that BTW. I'll issue a bugfix release ASAP.
--
Resistance is futile. You will be jazzimilated.
Didier Verna, did...@lrde.epita.fr, http://www.lrde.epita.fr/~didier
EPITA / LRDE, 14-16 rue Voltaire Tel.+33 (1) 44 08 01 85
94276 Le Kremlin-Bicêtre, France Fax.+33 (1) 53 14 59 22 did...@xemacs.org
> Thanks for that BTW. I'll issue a bugfix release ASAP.
Done! FiNK v2.1 will make its way through CTAN like the Morris worm :-)
--
Resistance is futile. You will be jazzimilated.
Didier Verna, did...@lrde.epita.fr, http://www.lrde.epita.fr/~didier
EPITA / LRDE, 14-16 rue Voltaire Tel.+33 (1) 44 08 01 85
94276 Le Kremlin-Bicętre, France Fax.+33 (1) 53 14 59 22 did...@xemacs.org