Directory support/optexcount
OpTeXcount
What is OpTeXcount? It is a basic python script that analyzes OpTeX source code and counts words in specific categories. For more information about this tool read optexcount-doc.pdf
.
How to install OpTeXcount?
Run: sudo ./install.sh
Usage
Run: optexcount [-h] [-v] [-s SET_VERBCHAR] [--version] filename
, where filename
is the name of our OpTeX code file. What does the optional argument -v/--verbose
? It prints the entire source code with colored words according to their categories. -s SET_VERBCHAR
or --set-verbchar SET_VERBCHAR
sets the implicit inline verbatim character to SET_VERBCHAR
character.
Download the contents of this package in one zip archive (41.2k).
OpTeXcount – Python script for counting words in OpTeX documents
OpTeXcount is a basic python utility that analyzes OpTeX source code. It is inspired by already existing TeXcount for LaTeX. The functionality is really lightweight and basic. It counts words and other elements of OpTeX document and sorts them out into individual categories. Users can print the source code with highlighted words using several colors,so they see what is considered as word, header etc.
Package | OpTeXcount |
Home page | https://github.com/rihartma/OpTeXcount |
Bug tracker | https://github.com/rihartma/OpTeXcount/issues |
Repository | https://github.com/rihartma/OpTeXcount |
Version | 1.1 |
Licenses | MIT License |
Copyright | 2021 Richard Hartmann |
Maintainer | Richard Hartmann |
Contained in | TeX Live as optexcount MiKTeX as optexcount |
Topics | Word count |