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
?
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this community
--shell-escape
commandline 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-escape
on random tex code they find on the internet, so you can do this if you really need it (eg theminted
package uses the python pygments library for code syntax highlighting) but be aware that it severely limits the usability of your class.