[OS X TeX] statistics

Herbert Schulz herbs at wideopenwest.com
Sat Aug 29 21:29:48 CEST 2015


Basically it pipes the output of detex to wc. So the TeX commands are removed before the count. 

I doubt there are any perfect ways to do this sort of stuff; it's always an approximation.  

Good Luck,
Herb Schulz

> On Aug 29, 2015, at 2:21 PM, Justin C. Walker <justin at mac.com> wrote:
>> On Aug 28, 2015, at 23:20 , Nicolae Garleanu wrote:
>> I have OS X 10.10.4. Restarting did not help (as expected). If of any help, `Character Info…’ does display the number of words, though it includes the ones commented out.
> I'm not sure what 'statistics...' is supposed to provide (as hinted by Herb, it may just present what the command-line program "wc" provides, in which case, it's just a simple-minded counting program, unaware of TeX syntax or semantics).
> Is this a change?  Your original post said the counts were 0/0/0.
> Following up on Herb's questions, what does "wc x.tex" show ('x' being your source file)?
> --
> Justin C. Walker
> Curmudgeon at Large
> Director
> Institute for the Enhancement of the Director's Income
> --
> Build a man a fire and he'll be warm
> for a night.
> Set a man on fire and he'll be warm
> for the rest of his life.
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/
> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
>                https://email.esm.psu.edu/pipermail/macosx-tex/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex

More information about the macostex-archives mailing list