In my daily work, I'm using several custom classes and packages. When I want to share a tex file, I don't want people to have to install all these custom files. Not that I don't want to share them, but it's painful for them to install.
Is there a way to create a single tex file, containing the tex content + all (and ideally only) the necessary lines from the cls and sty files I'm using? So there are only calls to standard classes (like article) or package?
I wasn't able to find anything on the subject but may have searched for the wrong terms.
Kind regards,
Ivan
texfile as output, just like a browser knows what to display even in the case of several stylesheets (but xelatex is not a browser, I agree). – Ivan May 28 '21 at 15:00