Skip to content
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

docs: Failed to build PDF #1353

Open
sjg20 opened this issue Apr 10, 2024 · 5 comments
Open

docs: Failed to build PDF #1353

sjg20 opened this issue Apr 10, 2024 · 5 comments

Comments

@sjg20
Copy link
Contributor

sjg20 commented Apr 10, 2024

make help shows:

  latexpdf    to make LaTeX and PDF files (default pdflatex)

but using make latexpdf fails. In fact it seems to hang in latex somewhere:

[25] [26] [27] [28]
Chapter 4.
[29] [30] [31] [32] [33] [34] [35] [36] [37] [38] [39] [40]
Chapter 5.

! LaTeX Error: Unknown graphics extension: .svg.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.2628 ...dth=0.500\linewidth]{{config_graph}.svg}
                                                  
? 

! LaTeX Error: Unknown graphics extension: .svg.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.2628 ...dth=0.500\linewidth]{{config_graph}.svg}
                                                  
?
@Emantor
Copy link
Member

Emantor commented Apr 11, 2024

Looks like this fails since we integrated svg files, we'll need to modify the sphinx config to include the image converter extension which will automatically convert to png for pdf creation.

@jluebbe
Copy link
Member

jluebbe commented Apr 11, 2024

We could also just disable PDF completely. Is there a need for them with online and offline HTML docs?

@Bastian-Krause
Copy link
Member

Btw, RTD also generates pdf documentation for releases: https://readthedocs.org/projects/labgrid/downloads/

@sjg20
Copy link
Contributor Author

sjg20 commented Apr 13, 2024

PDFs are helpful for printing a proper doc with page numbers, TOC, index

@sjg20
Copy link
Contributor Author

sjg20 commented May 2, 2024

BTW do web browsers support SVG now? I certainly see some pages that contain them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants