texcount
Count words in TeX documents omitting macros. Note: If the TeX document uses
\includeor\inputand you want to count the included files,texcountmust be run in the directory of the root TeX file. More information: https://app.uio.no/ifi/texcount/howto.html.
- Count words in a TeX file:
texcount
- Count words in a document and subdocuments built with
\inputor\include:
texcount -merge
- Count words in a document and subdocuments, listing each file separately (and a total count):
texcount -inc
- Count words in a document and subdocuments, producing subcounts by chapter (instead of subsection):
texcount -merge -sub=chapter
- Count words with verbose output:
texcount -v
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
