tectonic
tectonic copied to clipboard
Word Counting
The generally recommended solution of using wordcount from CTAN doesn't work due to Tectonic's file structure and incompatibility with legacy Tex.
As such, I think we need a command to accurately count the words in a generated build.
Something like:
tectonic -X build --count
@hughesjs There are other solutions for counting the words of a tex document. Actually wordcount counts the characters (including some spaces!) and divides by 5, which is not "optimal" IMO.
I don't think tectonic should be a tool for everything related to tex.
@kpym - I know there are, but none of them are ideal and the easiest point to actually evaluate the number of words in a tex document is when you're building it no?
I don't think it should do everything related to tex, I don't think we'd want it to be a linter for instance, but given that you can't really count the number of words in a tex document effectively without building it, it seems like a sensible place to have a word counter.