Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

need better instructions and error behavior for when pdflatex is missing #59

Open
dwrensha opened this issue Oct 30, 2024 · 0 comments
Open

Comments

@dwrensha
Copy link

I wanted to build the blueprint of the Equational Theories project.

I followed the leanblueprint README instructions:

$ sudo apt install graphviz libgraphviz-dev
$ pip install leanblueprint

Then I did

$ leanblueprint web

which seemed to succeed (return code was 0). However, when I looked at the generated html files, they were just stubs.

Then I looked in the full console output of the leanblueprint web call, and I found these lines:

INFO: Using the imager "gspdfpng".
/bin/sh: 1: pdflatex: not found
/bin/sh: 1: dvisvgm: not found

Aha, so I needed to install pdflatex. So then I did

$ sudo apt install texlive

and after that, leanblueprint web actually succeeded in building the full web blueprint.


There are two problems here:

  1. the README should mention that I need to install texlive or similar
  2. leanblueprint web should fail (not just log a message) if pdflatex (or whatever other needed tool) is not found.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant