[tex-live] apparent bug in detex

Kristen Eisenberg kristen.eisenberg at yahoo.com
Thu Oct 27 13:12:34 CEST 2011


There appears to be a bug in the version of detex distributed with TL
2010. At least, I see the problem and it has been confirmed by others
on the mactex list. Essentially, detex removes the contents of
footnotes included as \footnote{this is a footnote} when running in
LaTeX mode.

So if my test file contains the line:
Test\footnote{ a footnote}  \emph{it} quickly.
then detex gives:
Test  a footnote  it quickly.
but detex -l gives:
Test   it quickly.
And the same problem occurs if LaTeX mode is selected automatically
for a LaTeX document. Others on the mactex list were responsible for
pinpointing the issue. I just found it didn't work as I expected.

I noticed this because I was getting significantly lower word counts
for a paper than I thought I should be. (TeXShop's statistics function
uses detex.)


Kristen Eisenberg
Billige Flüge
Marketing GmbH
Emanuelstr. 3,
10317 Berlin
Deutschland
Telefon: +49 (33)
5310967
Email:
utebachmeier at
gmail.com
Site:
http://flug.airego.de
- Billige Flüge vergleichen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-live/attachments/20111027/139dd802/attachment.html>


More information about the tex-live mailing list