Hi - I have a xaringan-presentation with local images that I include with:
<img src="../01b_DataPrep/img/test.png" width=600>
adding in the YAML: self_contain: true
properly includes the images in the .html-output.
When using xaringanBuilder::build_pdf()
this fails with:
Error in force(expr) :
Failed to generate output. Reason: Failed to open http://127.0.0.1:7630/01b_DataPrep/img/test.png (HTTP status code: 404)
Does anyone have a pointer as to why this happens ?
edit: Can overcome it with rendering html, then opening in chrome and manual printing (from the xaringan-wiki) - but still curious about the reasoning behind..Thanks!
This would be a test-repo: xaringan-test/01b_DataPrep at main · cathblatter/xaringan-test · GitHub