For a package I'm writing, it would be very handy to use some programmed scripts, for example written in Python. Is there a way how I could add these to my .cls file?
And if not, what is the usual way to add scripts to a .cls?
For a package I'm writing, it would be very handy to use some programmed scripts, for example written in Python. Is there a way how I could add these to my .cls file?
And if not, what is the usual way to add scripts to a .cls?
--shell-escapecommandline option then you can run any command from within your class including deleting all their files. For good reason users are strongly advised not to use--shell-escapeon random tex code they find on the internet, so you can do this if you really need it (eg themintedpackage uses the python pygments library for code syntax highlighting) but be aware that it severely limits the usability of your class. – David Carlisle Mar 31 '22 at 16:40