I'm trying to get texcount.pl http://app.uio.no/ifi/texcount/ to work inside Texmaker but I get the error about the word.count that is not found. The documentations says that I have to add
--shell-escape to solve the problem but I don't know where to put that. Does anyone know?
|show 1 more comment|
To summarise the answer (so far):
Running TeXcount, or any other OS command, from TeX or LaTeX is done by entering code similar to this
in the TeX/LaTeX document (which I've checked and work when I do it from TeXworks). A somewhat improved version of this is provided on the help pages of TeXcount
provided you have a more recent version of TeXcount. In either case, this requires texcount to be in the path, or the OS will not find it.
TeX and LaTeX (and other TeX versions) will by default not execute
Changing the LaTeX options is explained in the Texmaker manual.
Note that TeXcount may have slightly different filenames from system to system depending on where you got it from:
If it still doesn't work, you should try to figure out which thing goes wrong. Try running LaTeX from the command line instead of Texmaker to see if that works or what errors are given. Or try executing something like