Skip to content

Building PDF w/ latex FROM readthedocs/build:latest #991

Open

Description

@westurner

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"
ammaraskar/sphinx-action#9

Activity

  1. choldgraf commented on Sep 24, 2020

    @choldgraf
    Collaborator

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

  2. mmcky commented on Sep 28, 2020

    @mmcky
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🏷️ pdflatexIssues specific to building PDFs via latex

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions