Open simeond opened 1 year ago
but with chrome_print it breaks the page.
What is the breakage ?
This is what I got in PDF by chrome_print()
it seems fine compated to the HTML
Did I miss something or just can't reproduce ?
Using pagedown 0.20.1 and Chrome browser Version 108.0.5359.125
that's really odd. I still get two pages with chrome_print() but one with infinite moon reader (see below). I'm using chrome 108.0.5359.124 and pagedown 0.20.0
Can you share a reprex as a full github repo maybe so that I could clone and reproduce ? Or a zip file ?
It seems copy pasting from github is not enough. Maybe a config, or some versions differences.
Sharing session info could help know we are on the same page;
Can you try pagedown the dev version just in case ?
Thanks Christophe.
I've created a repo here and added the session info. I'm still getting the same problem even after upgraded to the new dev version of pagedown
Thanks a lot.
I can't reproduce on Windows after cloning the repo on rstudio daily version.
It seems you are working on Mac. @yihui could try to on your side to see if you can reproduce ? Thanks
I can't reproduce on my macOS with exactly the same version of Google Chrome.
> xfun::session_info('pagedown')
R version 4.2.2 (2022-10-31)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Monterey 12.6.2, RStudio 2022.12.0.353
Comparing with @simeond's session info, my R version is higher and OS version is lower, but they shouldn't matter.
@simeond If you open the web page in your Chrome and print it via Cmd + P
, do you get one or two pages?
servr::httd(initpath = 'pagedown_print_test.html')
If I use servr::httd(initpath = 'pagedown_print_test.html') and then print cmd+P, I get two pages, as before.
It shows correctly within the Rstudio window. It is only when I open in chrome, that I get the problem. And, strangely, chrome doesn’t show any of the ::concise information at all in html (an empty second page under education), but it does show it with cmd+p, but two pages.
Odd.
Simeon Duckworth 0797 991 7242
From: Yihui Xie @.> Date: Friday, 6 January 2023 at 14:43 To: rstudio/pagedown @.> Cc: simeon duckworth @.>, Mention @.> Subject: Re: [rstudio/pagedown] :::concise doesn't play nice with chrome_print (Issue #303)
I can't reproduce on my macOS with exactly the same version of Google Chrome.
xfun::session_info('pagedown')
R version 4.2.2 (2022-10-31)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Monterey 12.6.2, RStudio 2022.12.0.353
Comparing with @simeondhttps://github.com/simeond's session info, my R version is higher and OS version is lower, but they shouldn't matter.
@simeondhttps://github.com/simeond If you open the web page in your Chrome and print it via Cmd + P, do you get one or two pages?
servr::httd(initpath = 'pagedown_print_test.html')
— Reply to this email directly, view it on GitHubhttps://github.com/rstudio/pagedown/issues/303#issuecomment-1373724495, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACYPI3T3XPADDEZ5EX3H34DWRAVP3ANCNFSM6AAAAAATNAVB6Q. You are receiving this because you were mentioned.Message ID: @.***>
When I add a concise fence to a pagedown resume, it seems to conflict with chrome_print. See below for a reproducible example.
It works fine in infinite moon reader, but with chrome_print it breaks the page. Everything seemed to work fine last year (I don't update my cv too often)