SUMMARY It seems that latexpdf command in Makefile of docs-krita-org doesn't work, i.e., the build procedure breaks due to missing BoundingBox in some figures. STEPS TO REPRODUCE 1. git clone git://anongit.kde.org/websites/docs-krita-org.git (1.5 installed all needed TeX packages) 2. make latexpdf OBSERVED RESULT ! LaTeX Error: Cannot determine size of graphic in freehand_brush_tool.svg (no BoundingBox). ! LaTeX Error: Cannot determine size of graphic in Introduction_to_animation_walkcycle_02.gif (no BoundingBox). (...) No output PDF file written. EXPECTED RESULT Generated PDF. SOFTWARE/OS VERSIONS TexLive: 2019-15 (installed from Fedora repos)
Hi, I don't think anyone has given this a try. A quick google shows a lot of hits where latex cannot figure out the size of an image for the weirdest of reasons, and hints that using a different version of latex might help, or different filenames. I think that we simply have to settle that we don't support sphinx's option to create pdf's using latex.
I made the sphinx latex render possible on the first versions of the manual just before gitlab. the foundation is there to be used. However its been a long time since I built a pdf version of the manual so it may no t be working anymore. The things I remember doing to make it work: - its easier if all svg are converted to png (latexImageMakefile deals with this) - our latex build system uses xelatex instead of pdflatex Afair "sphinx-build -b latex" should be the way to call it so it builds the pdf version. This creates a _build/latex subdiretory, cd to that directory and run make. The first thing it will do is transform all images from svg to pdf (uses imageMagick to do it), thenit will compile the pdf using xelatex (this ensures any language is supported). I can't guarantee it will work since its been a while since I setup the latex build system for the manual.
No... "sphinx-build -b latex" just shows the the options for sphinx-build, doesn't do anything.
OK, I did not know this build option is not maintained, I thought maybe it is a specific bug related to my setup or something, but if nobody uses makes sense why it does not work. I can take a look and propose a patch.