Jupyter-book: Building PDF w/ latex FROM readthedocs/build:latest

Created on 24 Sep 2020  路  2Comments  路  Source: executablebooks/jupyter-book

Reading https://jupyterbook.org/advanced/pdf.html, pyppeteer and installing tex are the two listed methods.

Installing texlive takes a fair amount of time and space.
It's also possible to build with the ReadTheDocs container (which includes e.g. texlive).

Here's an example Dockerfile (that extends FROM readthedocs/build:latest) and a Makefile excerpt for building PDFs from latex generated by sphinx:
https://gist.github.com/westurner/9827e4d2665d08832ad37343085721d3

"How to build with the ReadTheDocs Docker container"
https://github.com/ammaraskar/sphinx-action/issues/9

topipdflatex

Most helpful comment

Thanks @westurner (cc: @AakashGfude)

All 2 comments

oooh that's a pretty cool use-case! Thanks for sharing.

Thanks @westurner (cc: @AakashGfude)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

firasm picture firasm  路  5Comments

TomDonoghue picture TomDonoghue  路  4Comments

matrs picture matrs  路  3Comments

darribas picture darribas  路  4Comments

abielr picture abielr  路  4Comments