rstudio / rmarkdown-book

R Markdown: The Definitive Guide (published by Chapman & Hall/CRC in July 2018)
https://bookdown.org/yihui/rmarkdown
Other
783 stars 522 forks source link

GHA build requires Palatino font to be installed #101

Closed cderv closed 2 years ago

cderv commented 2 years ago

https://github.com/rstudio/rmarkdown-book/runs/5249593990?check_suite_focus=true#step:10:29

@yihui do you know how to install this font on Linux ?

Seems like on CTAN there are some drop in replacement: https://ctan.org/topic/font

Seems like we don't use any specific one one bookdown and we use \usepackage{Alegreya} on R Markdown Cookbook

cderv commented 2 years ago

I tried Domitian as an alternative - CTAN install correctly, but font is oddly not found 🤔 https://github.com/rstudio/rmarkdown-book/runs/5250048006?check_suite_focus=true#step:10:44

cderv commented 2 years ago

So I switch to Alegreya like the R Markdown Cookbook. This is now build on CI.

BTW the deployements is also ok.

I am closing, but if you want to change fonts, feel free to do it.

yihui commented 2 years ago

Okay, let's just use Alegreya for now. I can rethink about the font when doing the 2nd edition in the future. Thanks!

cderv commented 2 years ago

ok. Font and LaTeX on different OS is really not easy 😞 That is the second time I am struggling with this.