CTAN Comprehensive TeX Archive Network

New on CTAN: countwords

Datum: 5. April 2026 13:41:49 MESZ
Hugo Heagren submitted the countwords package. Version: 1.0 2026-04-03 License: lppl1.3c Summary description: Exact word counts, stored in LaTeX counters, using Lua Announcement text:
This is a simple package for generating exact wordcounts in LaTeX projects. It counts words, storing the value in a standard LaTeX counter, which can then be printed in the normal way. Word counting can be paused and resumed, so you can skip certain environments like mathematics, and multiple word counts can happen in parallel (you could keep separate global and per-chapter counts, for example). The word counting engine itself is pulled entirely from https://gist.github.com/phi-gamma/2622252
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/countwords The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/luatex/latex/countwords/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs

countwords – Exact word counts, stored in counters, using Lua

This is a simple package for generating exact wordcounts in projects. It counts words, storing the value in a standard counter, which can then be printed in the normal way. Word counting can be paused and resumed, so you can skip certain environments like mathematics, and multiple word counts can happen in parallel (you could keep separate global and per-chapter counts, for example).

The word counting engine itself is pulled from https://gist.github.com/phi-gamma/2622252 .

Paketcountwords
Version1.0 2026-04-03
Copyright2026 Hugo Heagren
BetreuerHugo Heagren

Ankündigungen

mehr

Gästebuch Seiten-Struktur Impressum Autor kontaktieren