[tex-live] apparent bug in detex

Norbert Preining preining at logic.at
Mon Nov 1 01:35:25 CET 2010


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.


Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
SYMOND'S YAT (n.)
The little spoonful inside the lid of a recently opened boiled egg.
			--- Douglas Adams, The Meaning of Liff


More information about the tex-live mailing list