Mark,
Yes, I do mean texWordCount.pl, and I don't "normally"keep such things anywhere, as this is the first tme I have downloaded something like this where I needed to decide where it should go.
But /usr/local/bin/ sounds a god place, if my understanding of this directories purpose is correct.
Thanks,
Graham
On 07/03/2008, Mark Eli Kalderon eli@markelikalderon.com wrote:
This is a bit off topic, but I have added a word count command to
TextMate for Latex using texWordCount.pl as described here
http://markelikalderon.com/blog/2007/12/30/latex-and-word-count-revisited/
This raised two questions.
Is there a "good practice" place to put such snippets of code, and
I put it in ~Library/Application Support/Textmate/Code
Adding the "Code" folder to the existing directory tree.
I am not sure I know what you mean by snippets of code. Do you mean texWordCount.pl? If so, that can live wherever you normally keep such scripts, like ~/bin or /usr/local/bin/. I normally put any commands that I write for the LaTeX bundle, not in the bundle itself, but in a separate bundle called Latex Custom or something like that (not strictly speaking necessary but neater that way.)
All the best, Mark
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate