-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
PDF docs generation broken when using PDF images #183
Comments
This is because sphinx_pdf.py#L45 only check the first match of |
Hrm, any thoughts on how to solve this sanely? We used to have logic around the pdf filename, but it doesn't hold for all projects. |
My understanding of LaTeX was that the pdf was the same name as the .tex file. Can you provide an example of the problems encountered previously? |
Hrrm. IIRC we were trying to use the slug from the project name. The tex We could probably use a similar regex to grab the correct tex name and On Tue, Apr 17, 2012 at 9:02 PM, Graham Dennis <
Eric Holscher |
I also believe the .pdf file has the same name as the .tex file. The 'latex_documents' attribute in conf.py allows multiple .tex files to be built. To be complete sphinx_pdf.py should probably look for multiple .tex files. |
Closing this in deference to the PR. |
When building PDF docs that include PDF images, the PDF file that is copied as the docs ends up being one of the included images instead of the generated docs.
This is a problem for the xmds2 project. See http://media.readthedocs.org/pdf/xmds2/latest/xmds2.pdf
The text was updated successfully, but these errors were encountered: