LaTeX and JupyterHub
Generating outputs locallyThis is part of the jupyter stuff collection.
Recently I shifted to using
tlmgr to manage my
tex installation. The rationale behind my decision isn’t relevant to this post, however, for getting a
sudo tlmgr install environ tcolorbox trimspaces adjustbox collectbox ucs titling
This actually highlights a caveat of the system, that is that the list of required packages is not outputted in one go, and instead every time a dependency is installed a new error will only be reported when the export process is run again. Do note, however, that this is a limitation of
LaTeX itself and isn’t really
An issue with using the regular
Eventually to deal with the annoyance of re-runs it is actually a lot more viable to export as a
.tex ﬁle and then use an automated tool for grabbing the dependencies. I personally often use texliveonﬂy. So that works out to:
sudo tlmgr install texliveonfly texliveonfly whatever.tex # After this you can export via JupyterHub
Honestly, it is best to actually export the
.tex and process that. When running locally at any rate, it’s almost always more annoying to work with the browser interface.