diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/faq-support.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/FAQ-en/faq-support.tex | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/faq-support.tex b/Master/texmf-dist/doc/generic/FAQ-en/faq-support.tex index b874e907e61..e450af64c30 100644 --- a/Master/texmf-dist/doc/generic/FAQ-en/faq-support.tex +++ b/Master/texmf-dist/doc/generic/FAQ-en/faq-support.tex @@ -1,4 +1,4 @@ -% $Id: faq-support.tex,v 1.5 2011/05/08 10:16:43 rf10 Exp $ +% $Id: faq-support.tex,v 1.6 2011/10/29 22:03:32 rf10 Exp rf10 $ \section{Support Packages for \TeX{}} @@ -117,25 +117,29 @@ what's left. On a Unix-like system, this may be done using detex <filename> | wc -w \end{verbatim} \end{quote} +The technique is beguilingly simple, but it's not terribly accurate + The \ProgName{latexcount} script does the same sort of job, in one ``step''; being a \ProgName{perl} script, it is in principle rather easily configured (see documentation inside the script). -\ProgName{Winedt} (see \Qref[question]{editors and shells}{Q-editors}) -provides this functionality direct in the Windows environment. +Several \Qref*{editors and shells}{Q-editors} offer something similar. -\ProgName{TeXcount} also goes a long way with heuristics for counting, +\ProgName{TeXcount} goes a long way with heuristics for counting, starting from a \LaTeX{} file; the documentation is comprehensive, and you may try the script on-line via the % ! line break -\begin{wideversion} +\begin{hyperversion} \href{http://folk.uio.no/einarro/Comp/texwordcount.html}{package home page}. -\end{wideversion} -\begin{narrowversion} +\end{hyperversion} +\begin{flatversion} package home page~(see \URL{http://folk.uio.no/einarro/Comp/texwordcount.html}). -\end{narrowversion} -Even quite sophisticated stripping of \AllTeX{} markup can never be -entirely reliable, however: that markup itself may contribute typeset -words, and this could be a problem. The \Package{wordcount} package +\end{flatversion} + +However, even quite sophisticated stripping of \AllTeX{} markup can +never be entirely reliable: markup itself may contribute typeset +words, or even consume words that appear in the text. + +The \Package{wordcount} package contains a Bourne shell (i.e., typically Unix) script for running a \LaTeX{} file with a special piece of supporting \TeX{} code, and then counting word indications in the log file. This is probably as |