You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PDF build on sphinx latex docker image fails due to missing xindy package #8941
Describe the bug
Using the Sphinx LaTeX Dockerfile here in my CI pipeline to build a PDF, I run into the following error:
Can't exec "xindy": No such file or directory at (eval 13) line 14.
My project (not yet public unfortunately) contains indexes so I assume that's why latexmk needs to generate them, but can't. HTML build works fine (i.e. there are no errors in the rst files).
I can fix this by running apt install -y xindy before building the PDF. It seems xindy should be added to the dependencies of the sphinx-latexpdf Dockerfile.
To Reproduce
Steps to reproduce the behavior:
Pull the sphinxdoc/sphinx-latexpdf docker image.
Run something like docker run --rm -v /path/to/document:/docs sphinxdoc/sphinx-latexpdf make latexpdf on an existing project that uses indexes
Observe missing dependency error.
Expected behavior
Anything Sphinx can build as HTML without error should build as PDF without error when using the provided Dockerfile!
Your project
I can share if required, but it's not public right now so it would require some preparation. I don't think the project is needed to understand the problem.
Activity
tk0miya commentedon Feb 28, 2021
Could you send a pull request please?
Add xindy dependency (see sphinx-doc/sphinx#8941)
SeanDS commentedon Feb 28, 2021
Sure, here you go: sphinx-doc/sphinx-docker-images#5
format translatable strings in one go. This enables translation tools…
Master.patch (#1)