Skip to content
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

Text highlighting and formatting errors on title and inverse slides when chrome_printing pdf #299

Open
3 tasks done
joftius opened this issue Mar 2, 2021 · 0 comments
Open
3 tasks done

Comments

@joftius
Copy link

joftius commented Mar 2, 2021

I've verified this happens if I open the html file in chrome and print that way or if I use pagedown::chrome_print. I can use chrome to print other documents to pdf without issues, the problem only seems to occur with certain xaringan slides. Specifically, it happens with the title slide and inverse slides, and after the title slide the problem seems to occur after the first use of a header on an inverse slide. The text highlighting and formatting (some words overlap) then persists on all inverse slides for the rest of the presentation after that first header.

xaringan_chrome_print

---
title: Example
output: xaringan::moon_reader
---

# One

Two

# Three

---

class: inverse

# One

Two

# Three

R version 4.0.4 (2021-02-15)
Platform: x86_64-apple-darwin20.3.0 (64-bit)
Running under: macOS Big Sur 10.16, RStudio 1.4.1103

Locale: en_GB.UTF-8 / en_GB.UTF-8 / en_GB.UTF-8 / C / en_GB.UTF-8 / en_GB.UTF-8

Package version:
  base64enc_0.1.3   BH_1.75.0.0       digest_0.6.27     evaluate_0.14    
  glue_1.4.2        graphics_4.0.4    grDevices_4.0.4   highr_0.8        
  htmltools_0.5.1.1 httpuv_1.5.5      jsonlite_1.7.2    knitr_1.31.5     
  later_1.1.0.1     magrittr_2.0.1    markdown_1.1      methods_4.0.4    
  mime_0.10         promises_1.2.0.1  R6_2.5.0          Rcpp_1.0.6.5     
  rlang_0.4.10      rmarkdown_2.7.2   servr_0.21        stats_4.0.4      
  stringi_1.5.3     stringr_1.4.0     tinytex_0.29      tools_4.0.4      
  utils_4.0.4       xaringan_0.19.2   xfun_0.21         yaml_2.2.1

By filing an issue to this repo, I promise that

  • I have fully read the issue guide at https://yihui.org/issue/.
  • I have provided the necessary information about my issue.
    • If I'm asking a question, I have already asked it on Stack Overflow or RStudio Community, waited for at least 24 hours, and included a link to my question there.
    • If I'm filing a bug report, I have included a minimal, self-contained, and reproducible example, and have also included xfun::session_info('xaringan'). I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version: remotes::install_github('yihui/xaringan').
    • If I have posted the same issue elsewhere, I have also mentioned it in this issue.
  • I have learned the Github Markdown syntax, and formatted my issue correctly.

I understand that my issue may be closed if I don't fulfill my promises.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant