Subject: latexmk error
I added CI setting of creating PDF. Summary is:
Install Sphinx from master branch.
Last succeeded build was: March 5th 17:43 UTC
make[1]: latexmk: Command not found
Makefile:33: recipe for target 'RealWorldHttp.pdf' failed
make[1]: Leaving directory '/builds/shibukawa/httpbook/_build/latex'
make[1]: *** [RealWorldHttp.pdf] Error 127
Makefile:146: recipe for target 'latexpdf' failed
make: *** [latexpdf] Error 2
ERROR: Build failed: exit code 1
Successfully creating PDF
Build script
image: chezou/sphinx-recommonmark:latest
pdf:
script:
- apt-get udpate & apt-get install -y -q git
- pip install git+https://github.com/sphinx-doc/sphinx
- pip install sphinxcontrib-blockdiag
- pip install sphinxcontrib-seqdiag
- make latexpdf
artifacts:
paths:
- _build/latex/mybook.pdf
only:
- master
Dockerfile (chezou/sphinx-recommonmark)
https://github.com/chezou/docker-sphinx-recommonmark/blob/master/Dockerfile
Since #3082, we use latexmk command to build PDF.
so you need to install latexmk package.
http://packages.ubuntu.com/xenial/latexmk
Thank you
The merged PR #3082 contained an update to the builders docs (19558c9), but I had not yet updated CHANGES, now done at 538f55e. By the way, perhaps the info at 19558c9 should be moved to location more visible in Sphinx docs ?
Okay, let's add "dependency" section to CHANGES file.
Most helpful comment
Since #3082, we use
latexmkcommand to build PDF.so you need to install latexmk package.
http://packages.ubuntu.com/xenial/latexmk