Closed slemonide closed 3 years ago
Thanks I can reproduce with recent version of TexLive. Must be another side effect of last updates.
It should be detected though to be install automatically by TinyTeX
@alexpghayes @Athanasiamo you both contributed on this template. Do you encounter this issue too ?
For reference the error is
{c:/Users/chris/AppData/Roaming/TinyTeX/texmf-var/fonts/map/pdftex/updmap/pdfte
x.map}
! pdfTeX error (font expansion): auto expansion is only possible with scalable
fonts.
<argument> ...shipout:D \box_use:N \l_shipout_box
l.145 \begin{equation}
Adding as other template
\usepackage{lmodern}
after \usepackage[T1]{fontenc}
also works.
@yihui do you have a recommandation on this error ? We are not catching this in our CI - don't know why 🤔
Here is stackexchange thread about this problem: https://tex.stackexchange.com/questions/10706/pdftex-error-font-expansion-auto-expansion-is-only-possible-with-scalable
Thanks. This is an old thread - I wonder why it is no more working now while it was before and why it works in our CI currently. 🤔
Sorry, but I don't really understand this error. Sounds like there are at least two possible solutions, and I don't know which one I/we should use. I could automatically install cm-super
in TinyTeX, but I'd better understand the actual problem before covering it. If @alexpghayes and @Athanasiamo are okay with adding the lmodern
package to the Arxiv template, that'll be great (and I won't need to do anything).
No objections here
I added lmodern
to the template.
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.
Arxiv example wouldn't get knitted unless
cm-super
fonts are installed:I am using rstudio server from docker image
rocker/verse:4.0.3
and github version ofrticles
.To reproduce: create a new rmarkdown document using arxiv template and try knitting it.
I think such dependencies need to be installed or at least written down somewhere.
By filing an issue to this repo, I promise that
xfun::session_info('rticles')
. 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('rstudio/rticles')
.I understand that my issue may be closed if I don't fulfill my promises.