<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-tab-span" style="white-space:pre"> </span>When i try this, I get the following error: "/Users/nathanpaxton/Library/TeXShop/Engines/texcount.engine does not have the executable bit set."<div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>What does that mean?</div><div><br></div><div><div>Best,</div><div>-Nathan </div><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><font class="Apple-style-span" face="Courier">----------</font></div><div><font class="Apple-style-span" face="Courier">Nathan A. Paxton</font></div><div><font class="Apple-style-span" face="Courier">Ph.D. Candidate</font></div><div><font class="Apple-style-span" face="Courier">Dept. of Government, Harvard University</font></div><div><font class="Apple-style-span" face="Courier"><br class="webkit-block-placeholder"></font></div><div><font class="Apple-style-span" face="Courier">Resident Tutor</font></div><div><font class="Apple-style-span" face="Courier">John Winthrop House, Harvard University</font></div><div><br></div><div><font class="Apple-style-span" face="Courier">napaxton AT fas DOT harvard DOT edu</font></div><div><font class="Apple-style-span" face="Courier"><a href="http://www.fas.harvard.edu/~napaxton">http://www.fas.harvard.edu/~napaxton</a></font></div><div><span class="Apple-style-span" style="font-family: Courier; ">=========================================================</span></div><div><font class="Apple-style-span" face="Courier">When you have to stay eight years away from California, you live in a perpetual state of homesickness.</font></div><div><font class="Apple-style-span" face="Courier"> - Ronald Reagan</font></div><div><font class="Apple-style-span" face="Courier"><br class="webkit-block-placeholder"></font></div><div><font class="Apple-style-span" face="Courier">The most courageous act is still to think for yourself. Aloud.</font></div><div><font class="Apple-style-span" face="Courier"> -Coco Chanel</font></div><div><font class="Apple-style-span" face="Courier">=========================================================</font></div></div></div></span></div></span></div></span></div></span></div></span></div></span> </div><br><div><div>On 23 Feb 2009, at 12:19 PM, Daniel Becker wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hallo -<br><br>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.<br><br>I think that it works much better than "detex" that is used in TeXShop internally for the Edit -> Statistics Menu-Item<br><br>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.<br><br>Thought this might be interesting for others who need to count words....<br><br>Daniel<br><br><br><br>Content of my .engine file in ~/Library/TeXShop/Engines/texcount.engine:<br><br><br>#!/bin/tcsh<br><br>set path= ($path /usr/texbin /usr/local/bin)<br>set filename = "$1"<br>set htmlname = "${filename:r}-texcount.html"<br>set htmlname2 = "${filename:r}-texcount-short.html"<br><br># all details<br># run texcount and produce an html-file with the result<br>texcount -html -inc -v "$1" > "$htmlname"<br>#open the html-file<br>open "$htmlname"<br><br># only the counts<br># run texcount and produce an html-file with the result<br>texcount -html -inc -v0 "$1" > "$htmlname2"<br>#open the html-file<br>open "$htmlname2"<br><br>#end of the "engine"----------- Please Consult the Following Before Posting -----------<br>TeX FAQ: <a href="http://www.tex.ac.uk/faq">http://www.tex.ac.uk/faq</a><br>List Reminders and Etiquette: <a href="http://email.esm.psu.edu/mac-tex/">http://email.esm.psu.edu/mac-tex/</a><br>List Archive: <a href="http://tug.org/pipermail/macostex-archives/">http://tug.org/pipermail/macostex-archives/</a><br>TeX on Mac OS X Website: <a href="http://mactex-wiki.tug.org/">http://mactex-wiki.tug.org/</a><br>List Info: <a href="http://email.esm.psu.edu/mailman/listinfo/macosx-tex">http://email.esm.psu.edu/mailman/listinfo/macosx-tex</a><br><br></div></blockquote></div><br></div></body></html>