Is there a way to make a list of all the words that are being used in a Latex document? Alternatively, if someone knows another way to do it that could also be helpful, e.g. by using Python, a website, or something else
Here is an example of what I would like:
\documentclass{article}
\begin{document}
I have a dog and a cat.
The dog and the cat are named Bob and John.
\end{document} % Should maybe be after the list
list:
I
have
a
dog
and
cat
the
are
named
bob
john
The order of the words in the list does not matter. And thank you if you can help.
$y = \log x$? – David Carlisle Feb 01 '22 at 15:17anot in your list? – David Carlisle Feb 01 '22 at 15:23