rmarkdown icon indicating copy to clipboard operation
rmarkdown copied to clipboard

microtype CTAN package warning with beamer presentation format

Open cderv opened this issue 3 years ago • 2 comments

dir.create(tmp_dir <- tempfile())
owd <- setwd(tmp_dir)
xfun::download_file("https://raw.githubusercontent.com/rstudio/rmarkdown/main/tests/testthat/test-formats.Rmd")
rmarkdown::render("test-formats.Rmd", rmarkdown::beamer_presentation(), quiet = TRUE)
#> Warning: Package microtype Warning: Unable to apply patch `footnote' on input line 149.

I have this locally. Probably related to issue with the microtype package as in rticles (ex: https://github.com/rstudio/rticles/pull/455 )

Maybe this is not impactful but worth looking

cderv avatar Jan 13 '22 14:01 cderv

I also experience this issue, receiving the warning

Warning: Package microtype Warning: Unable to apply patch `footnote' on input line 111.

Setup:

  • OS: Ubuntu 22.04
  • R version: 4.1.2
  • rmarkdown version: 2.14
  • RStudio version: 2022.06.0 Build 343

duckmayr avatar May 03 '22 20:05 duckmayr

I believe this is something in the template that creates this. Possibly related to https://github.com/schlcht/microtype/issues/11

I did not have a look yet. However, if anyone finds the lines in tex file that cause this, it would be helpful. This is possible from the Pandoc template directly.

cderv avatar May 03 '22 20:05 cderv