The command latexdef -l -p amsmath gives all the macros created by amsmath.
Has anyone used it to build a command name "database" for all TeX Live macros? If not, I will build a basic JSON file.
Why?
This could help LaTeX developers to avoid, in their API, name conflicts, or to indicate them.
grep -r '\\then' /usr/local/texlive/2023/texmf-dist/tex. It will be not hard to just build all the names-packages-classes found by combining in a long time-consuming combination oftlmgr list --only-installed,latexdef -l -p ...andlatexdef -l -p .... – projetmbc Apr 13 '23 at 08:12\\then\bif you want\thenbut not\thenormalizedbodyfontsize– David Carlisle Apr 13 '23 at 08:27\nextand see what happens – egreg Apr 13 '23 at 08:58\nextgives a lot of lines, but that can be still useful using a dedicated tool. – projetmbc Apr 13 '23 at 09:40texfindpkgwhich uses texstudio completion files as a command list. Still has issues to work out though (see the discussion in the chat here) – mbert Apr 13 '23 at 14:23todonotesthat have just a few user commands, this display also many not documented commands for internal use and of all the dependencies, but over all, that three are 6402 packages in CTAN, and increasing, .... in one word: ouch! – Fran Apr 13 '23 at 18:08