-
Notifications
You must be signed in to change notification settings - Fork 343
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
Julia quarto documents render plots as svg, when both PDF and html formats specified in project file #722
Comments
I haven't been able to reproduce this (in my tests PDFs use pngs which is the expected behavior). Note that we did make a change to Julia figure handling a few weeks ago (c6e98a3). Is it possible you are running a slightly older version of Quarto? |
I am able to repro on Ubuntu. More soon. |
It looks like the problem is that we have a dependency on the |
Can confirm that adding One note, due to the fact that the Julia plots are rendered as PNG's for the PDF, they look relatively pixellated in comparison to Python and R. Any thoughts about bumping up the default DPI a bit? (not sure that this would help)
Example PDF: https://jeremiahpslewis.github.io/quarto-reproducible-gh-actions/quarto-and-github-actions.pdf |
Unfortunately when you bump up the DPI the legend text gets proportionally smaller. Would love it if changes could be made to Plots.jl to mitigate this! |
Linking the IJulia PDF issue which would fix this here for future info: JuliaLang/IJulia.jl#1035 |
This causes the latex PDF build to fail as it doesn't support SVG.
Project file snippet:
Workaround, with parameters and running things twice is here: https://github.com/jeremiahpslewis/quarto-reproducible-gh-actions/blob/89fe98a92cc36fbfbc68b632f17a71e4de8d767f/.github/workflows/quarto.yml#L29
The text was updated successfully, but these errors were encountered: