[OS X TeX] texcount
Nathan Paxton
napaxton at fas.harvard.edu
Mon Feb 23 18:46:33 CET 2009
When i try this, I get the following error: "/Users/nathanpaxton/
Library/TeXShop/Engines/texcount.engine does not have the executable
bit set."
What does that mean?
Best,
-Nathan
----------
Nathan A. Paxton
Ph.D. Candidate
Dept. of Government, Harvard University
Resident Tutor
John Winthrop House, Harvard University
napaxton AT fas DOT harvard DOT edu
http://www.fas.harvard.edu/~napaxton
=========================================================
When you have to stay eight years away from California, you live in a
perpetual state of homesickness.
- Ronald Reagan
The most courageous act is still to think for yourself. Aloud.
-Coco Chanel
=========================================================
On 23 Feb 2009, at 12:19 PM, Daniel Becker wrote:
> Hallo -
>
> I just found out that MacTeX / TeXLive 2008 contains the command
> "texcount" that can be used to count words of a LaTeX-file. It can
> handle included files and produces an html-file with its results.
>
> I think that it works much better than "detex" that is used in
> TeXShop internally for the Edit -> Statistics Menu-Item
>
> Below you can find an "TeXShop-Engine" that counts the words of
> your .tex-file and produces two html-files with the results. And
> opens them.
>
> Thought this might be interesting for others who need to count
> words....
>
> Daniel
>
>
>
> Content of my .engine file in ~/Library/TeXShop/Engines/
> texcount.engine:
>
>
> #!/bin/tcsh
>
> set path= ($path /usr/texbin /usr/local/bin)
> set filename = "$1"
> set htmlname = "${filename:r}-texcount.html"
> set htmlname2 = "${filename:r}-texcount-short.html"
>
> # all details
> # run texcount and produce an html-file with the result
> texcount -html -inc -v "$1" > "$htmlname"
> #open the html-file
> open "$htmlname"
>
> # only the counts
> # run texcount and produce an html-file with the result
> texcount -html -inc -v0 "$1" > "$htmlname2"
> #open the html-file
> open "$htmlname2"
>
> #end of the "engine"----------- Please Consult the Following Before
> Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/macostex-archives/attachments/20090223/02a462a0/attachment.html>
More information about the macostex-archives
mailing list