-
DescriptionI am deploying a quarto book project to github pages. The book renders locally, but the GitHub Pages build is failing. The book references an image in the sidebar logo configuration option, as well as in a QMD file. When the image is in the same directory as the QMD file ("./my_img.jpg"), it works, but it doesn't work when the image is nested within a subdirectory (like "./images/my_img.jpeg") See working example, stopped working once image moved to subdirectory: https://github.com/s2t2/quarto-book-pdf-download-test/commits/main/ After it stopped working, I attempted to change the image path, but no luck. See original conversation: #10468 |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 4 replies
-
There is no issue with sub directory: https://github.com/mcanouil/book-pdf-download |
Beta Was this translation helpful? Give feedback.
-
Interesting. Thanks for all your help by the way. I wonder why the original build in the original conversation is failing then. I had been trying to pinpoint the issue but I guess image in subdirectory wasn't the issue. The issue seems to be in the PDF generation process
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I updated some image paths in the original book, from I appreciate all of your support throughout this process 🙌 |
Beta Was this translation helpful? Give feedback.
-
I'm also facing similar kind of issue but still confuse how to resolve it?! Description I'm working on a mk_docs project now I want to convert some SOP.qmd files into pdf in the quarto.yml file I mentioned the resource path which is "docs\img" and the img dir also contains sub-dirs. [[ Error creating PDF for merged_sops\sop-dmp-datapub_merged.qmd: pandoc --output sop-dmp-datapub_merged.tex metadata Rendering PDF updating tlmgr updating existing packages with short path it works but affecting my project nav file structure. how can I resolve this issue without affecting the file nav structure?! |
Beta Was this translation helpful? Give feedback.
Look at the extensions of your images.