Is there a database or tool that gives all the STY and CLS files that are part of TeX Live or CTAN?
I can do some basic web scrapping to retrieve this information, but I would like to avoid having to reprint the roll.
Is there a database or tool that gives all the STY and CLS files that are part of TeX Live or CTAN?
I can do some basic web scrapping to retrieve this information, but I would like to avoid having to reprint the roll.
From the comments, it looks like you found a solution.
But, as I was interested, I've created ctan-scraper.py
If you run, for example,
ctan-scraper.py --path "macros/latex/contrib/abnt/" --output myfile1.txt ".*?\.cls"
then you receive
INFO - [re.compile('macros'), re.compile('latex'), re.compile('contrib'), re.compile('abnt')]
INFO - mirror: https://anorien.csc.warwick.ac.uk/mirrors/CTAN/
INFO - https://anorien.csc.warwick.ac.uk/mirrors/CTAN/macros/latex/contrib/abntex2/tex/abntex2.cls
INFO - https://anorien.csc.warwick.ac.uk/mirrors/CTAN/macros/latex/contrib/abntexto/abntexto.cls
INFO - https://anorien.csc.warwick.ac.uk/mirrors/CTAN/macros/latex2e/contrib/abntex2/tex/abntex2.cls
INFO - https://anorien.csc.warwick.ac.uk/mirrors/CTAN/macros/latex2e/contrib/abntexto/abntexto.cls
INFO - https://anorien.csc.warwick.ac.uk/mirrors/CTAN/macros/latex/contrib/abntex2/tex/abntex2.cls
INFO - https://anorien.csc.warwick.ac.uk/mirrors/CTAN/macros/latex/contrib/abntexto/abntexto.cls
INFO - https://anorien.csc.warwick.ac.uk/mirrors/CTAN/macros/latex2e/contrib/abntex2/tex/abntex2.cls
INFO - https://anorien.csc.warwick.ac.uk/mirrors/CTAN/macros/latex2e/contrib/abntexto/abntexto.cls
INFO - match count: 8
INFO - directories searched count: 300
INFO - directories ignored count: 20102
INFO - output written to myfile1.txt
INFO - time: 59.2872476309999
and the output is written to myfile.txt
I don't know if this script is useful; if it looks helpful/promising, contributions welcome!
/usr/local/texlive/2023/tlpkg/data – David Carlisle Nov 10 '23 at 19:32.styinformation that I know is in some of the packages shown. – barbara beeton Nov 10 '23 at 21:35.clsthere as that was asked at the time, you could do the same for .sty(but the list would probably be too long for this site) – David Carlisle Nov 10 '23 at 21:37tlmgr, though I've not actually tried it. – cfr Nov 10 '23 at 23:31tlmgr list --allgives packages and classes, whereas the David Carliste's solution gives more information. – projetmbc Nov 11 '23 at 08:19tlmgrhas a lot of options and can use remote databases, too, but, as I said, I didn't test the idea. – cfr Nov 11 '23 at 18:33tlmgr info | grep englishseems to be what I am looking for. – projetmbc Nov 11 '23 at 22:08libertinus-fonts, have neitherstynorcls, just fonts. The relatedlibertinus-otfpackage (separate installation) hassty. – rallg Nov 25 '23 at 17:39