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
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:
- the README should mention that I need to install
texlive or similar
leanblueprint web should fail (not just log a message) if pdflatex (or whatever other needed tool) is not found.
I wanted to build the blueprint of the Equational Theories project.
I followed the
leanblueprintREADME instructions:Then I did
$ leanblueprint webwhich 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 webcall, and I found these lines:Aha, so I needed to install
pdflatex. So then I didand after that,
leanblueprint webactually succeeded in building the full web blueprint.There are two problems here:
texliveor similarleanblueprint webshould fail (not just log a message) ifpdflatex(or whatever other needed tool) is not found.