[tex-live] apparent bug in detex

cfrees at imapmail.org cfrees at imapmail.org
Mon Nov 1 02:08:52 CET 2010


On Mon 1st Nov, 2010 at 09:35, Norbert Preining seems to have written:

> Hi,
>
> On Mo, 01 Nov 2010, Dr. Clea F. Rees wrote:
>> 	Test\footnote{ a footnote}  \emph{it} quickly.
>> then detex gives:
>> 	Test  a footnote  it quickly.
>> but detex -l gives:
>> 	Test   it quickly.
>
> Probably this is on purpose?
>
> In TeX mode it does not know what \footnote does, so assumes it
> creates more or less the text that is contained in the argument, like
> 	\it
> or something.
>
> In LaTeX mode it knows that \footnote creates something which
> is out of the running text, so it removes the text, as it does *NOT*
> belong to the running text.
>
> I consider this behaviour correct.

But then it ought also to neglect text included in a footnote
environment but it does not.

Best,
cfr


More information about the tex-live mailing list