-
Notifications
You must be signed in to change notification settings - Fork 12
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
build_pdf tends to crop bottom of slide? #16
Comments
Hmm, I've tried two ways to build a pdf from your slides, but both ways cut off the bottom charts: input <- "https://mattansb.github.io/bayesian-evidence-iscop-2021/index.html"
build_pdf(input)
build_pdf(input, complex_slides = TRUE) The first approach relies on Edit: The above code will only work with v. 0.0.5, which I just pushed. I realized I hadn't enabled some of the build functions to build directly from slides on a website, but that now should be enabled. |
I'm not sure about that - attached is a print from chrome which does have the last graph: |
How did you print that? I just opened the slides in Chrome on my machine and printed them directly from Chrome, and I got the same crop problem. If you're able to print it without the crop there must be a solution, maybe a setting that can be tweaked. |
I did the same - opened the slide in chrome (win10) and ctrl+p as pdf... |
Interesting...I'm on a mac, but I wouldn't expect that to be the root cause. It's particularly odd that you get a difference between using "Open Chrome -> ctrl + p" compared to |
Okay so it looks like it might be an issue with the margin settings. On my machine, the default margins crop the slide: But if I set the margins to "minimum" and include headers and footers, it doesn't crop the charts, though is still looks like it crops a tiny amount on the bottom since the slide number is chopped a bit: I still can't find a setting on my end that looks like yours, but this is promising as I can probably change the print settings from |
Awesome (: |
This seems to happen for images that are too close to the bottom of the slide.
E.g.:
https://mattansb.github.io/bayesian-evidence-iscop-2021/#33
Turns into this:
The text was updated successfully, but these errors were encountered: