From be0c9144d01488cdf728c9f757287a7eeca8f291 Mon Sep 17 00:00:00 2001 From: "Y.D.X" <73375426+YDX-2147483647@users.noreply.github.com> Date: Sun, 12 May 2024 17:52:38 +0800 Subject: [PATCH] texcount: add -sub example (#12780) --- pages/common/texcount.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/texcount.md b/pages/common/texcount.md index eeafe44aa..3b20e4f44 100644 --- a/pages/common/texcount.md +++ b/pages/common/texcount.md @@ -16,6 +16,10 @@ `texcount -inc {{file.tex}}` +- Count words in a document and subdocuments, producing subcounts by chapter (instead of subsection): + +`texcount -merge -sub=chapter {{file.tex}}` + - Count words with verbose output: `texcount -v {{path/to/file.tex}}`