-
Notifications
You must be signed in to change notification settings - Fork 9
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
Handle application/pdf
mimetypes
#136
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #136 +/- ##
==========================================
+ Coverage 55.98% 56.30% +0.32%
==========================================
Files 25 25
Lines 1145 1142 -3
==========================================
+ Hits 641 643 +2
+ Misses 504 499 -5 ☔ View full report in Codecov by Sentry. |
else | ||
Plots.gr(; size_kwargs..., fmt = fm.fig_format, dpi_kwargs...) | ||
end | ||
Plots.gr(; size_kwargs..., dpi_kwargs...) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Format wasn't really relevant to pass here, since we call show
on each valid mimetype rather than relying on the default format set here. The addition of application/pdf
support seems to resolve this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah that's what I gathered from the linked Plots code as well. I'm not sure what backends would actually use pdf assets if we offer them, maybe latex-based ones.
@lrnv if you have a chance to confirm this resolves it for you that would be good. To point
|
I was able to install QNR, dev it and move the deved verion to this branch, but not to tell quarto to use it. Could you guide me a bit more into the environement thing ? I tried using a |
The below should hopefully work for you.
|
i'm sorry I was still not able to reproduce my previous result, now it complains about not having Plots.jl in its environement although it is (in the local env of the qmd).. |
Ah, the (The entire error message you're seeing would be useful though.) |
Ok it finnaly worked, but it looks like I have the sam ebug as before :
|
Hmm, lets confirm that that is actually using this branch. Can you swap out the contents of the notebook with ```{julia}
names(Main)
```
# Intro
## Slide working
bla bla
## Slide not working
```{julia}
#| echo: false
#| fig-cap: "my caption"
# using Random, Plots
# x = rand(2, 1000)
# scatter(x[1, :], x[2, :])
``` I'm interested in what is printed out by the |
prints out
|
All of them :
|
Thanks. What shell are you using? Setting the environment variable with the bash syntax might not be working. |
It's git-bash on windows, usually quite compliant with linux bash |
Let me see if I can find a more reliable way to make this kind of stuff testable. I'll ping you once I've worked that out :) probably won't be til tomorrow, thanks for taking the time to try this now though, much appreciated. |
Nevermind, thnaks for taking care of this -- this bug is basically making the whole engine unusable for me, and i have juliacon slides to write ;) |
else | ||
Plots.gr(; size_kwargs..., fmt = fm.fig_format, dpi_kwargs...) | ||
end | ||
Plots.gr(; size_kwargs..., dpi_kwargs...) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah that's what I gathered from the linked Plots code as well. I'm not sure what backends would actually use pdf assets if we offer them, maybe latex-based ones.
No description provided.