[OS X TeX] TeXcount Drop Scripts.

Herbert Schulz herbs at wideopenwest.com
Mon Mar 23 14:21:45 CET 2009

On Mar 23, 2009, at 8:01 AM, Herbert Schulz wrote:

> On Mar 22, 2009, at 2:23 PM, Herbert Schulz wrote:
>> Howdy,
>> The texcount engines that come as part of TeXShop 2.26 (they must  
>> be activated to use them) assume that your TeX Distribution has the  
>> texcount perl program. If you have MacTeX 2008 there is no problem  
>> but previous distribution didn't have that program installed.
>> I've put together a pair of Drop Scripts (corresponding to the two  
>> [inactive] engine files that come with TeXShop 2.26) that have  
>> internal copies of texcount so they will work independent of TeX  
>> Distribution. If you drop filename.tex onto the Drop Script  
>> filename-count.html will be produced in the same directory as the  
>> tex file and your browser will open that html file. You can drop  
>> multiple tex files or even a folder containing tex files and all  
>> will be processed. (The process is NOT recursive! :-).)
>> You can get the Drop Scripts as DropTeXcount.zip from my download  
>> site <http://homepage.mac.com/herbs2>.
>> Good Luck,
>> Herb Schulz
>> (herbs at wideopenwest dot com)
> Howdy,
> Sigh... Someone has discovered (I didn't test that case :-( ) that  
> the Drop scripts aren't behaving properly with included files. I  
> believe I've just fixed that in an update. You can download updated  
> Drop Scripts as DropTeXcount.zip from <http://homepage.mac.com/ 
> herbs2>.
> Please send me feedback as appropriate.
> (Also... can anyone with deeper knowledge about bash shell scripting  
> than I have [that's a lot of folks on this list!] explain push/pop  
> to me?)
> Good Luck,
> Herb Schulz
> (herbs at wideopenwest dot com)


Ok... I figured out that the commands are pushd and popd (left off the  
final `d') and they work exactly as I expected. Thanks!

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)

More information about the macostex-archives mailing list