-
Notifications
You must be signed in to change notification settings - Fork 78
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
Graphics and colours not available for print #53
Comments
I see the same problem in marcel_uk |
I am having the same issue as well. Please let me know when there is a workaround available... |
After digging into this for a bit, I have come to realize that this is not much to do with When handling html pages with css styles, colours for screen are separated from colours for print. Colours for print are in a For example;
This makes sense since you usually don't want to print all the background colours and graphics. There are some solutions to force colours in print. One way is to change the css tags inside Another solution often suggested especially for chrome is to include the following css:
to be added to the css style document or into the rmarkdown document directly. I have not been able to get either of them to work correctly. This also depends on where (what source) your css styles are coming from. In my case, working in RStudio RMarkdown, I know that my css styles are coming from a bootstrap style. For example; Bootswatch Flatly. If you go into the css style and search for media, you will see something like this:
Notice the As I said before, it turned out to be more complicated than I thought. I reckon one potential solution would be to download the css style, modify the |
I noticed that if the html page with formattable is printed in chrome, the graphics and colours are not retained.
The text was updated successfully, but these errors were encountered: