[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in \cslet.
From: |
David Kastrup |
Subject: |
Re: Bug in \cslet. |
Date: |
14 Aug 2004 00:29:06 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
address@hidden (Karl Berry) writes:
> Hi David,
>
> The following definition caused macro usage in section headings to
> barf at my site when in PDFTeX:
>
> Can you please send the file that breaks it? It works with my test
> file (below), both pack and mpack get expanded. same results with
> tex and pdftex.
>
> I don't see anything wrong with your code, but I'd like to understand.
Actually, it turned out that some macros used in section headers were
the problem. I fixed that in a different manner.
As I have no clue in what context \cslet is actually employed, I can't
give a quick example of it going wrong. But if you just use it
manually, say with
\cslet{this}{relax}
\show\this
you'll see that it does not do what it promises to do according to the
documentation, except when #1 happens to be a single token, like with
\def\xxx{this}
\cslet{\xxx}{relax}
\show\this
It may be that indeed your uses fall in that pattern. Still, my
version would work in strictly more cases.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum