rstudio / rstudio/rticles

Cannot render a document with the arxiv template (pdfTeX error (font expansion): auto expansion is only possible with scalable fonts)

Open
#541 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

reprex
Dominant language
TeX
Stars
1.5k
Forks
517
Avg merge
1d 8h
Merged PRs (30d)
5

Description

Hi Christophe,

Thank you so much for developing and maintaining the rticles package.

I cannot create a new rmarkdown document using the arxiv template, as I get the following error:

! pdfTeX error (font expansion): auto expansion is only possible with scalable fonts.
<argument> ...shipout:D \box_use:N \l_shipout_box 
                                                  \__shipout_drop_firstpage_...
l.192 \end{center}

This was working with no issues some hours ago, and all of a sudden I am seeing the above-described error. I know that a similar issue was posted in 2020 (https://github.com/rstudio/rticles/issues/343).

I am using R-4.3.1, Rstudio version 2023.06.1 and github version of rticles.

To reproduce: create a new rmarkdown document using arxiv template and try knitting it.

xfun::session_info('rticles')

R version 4.3.1 (2023-06-16 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19044), RStudio 2023.6.1.524

Locale:
  LC_COLLATE=English_Australia.utf8  LC_CTYPE=English_Australia.utf8   
  LC_MONETARY=English_Australia.utf8 LC_NUMERIC=C                      
  LC_TIME=English_Australia.utf8    

time zone: Australia/Perth
tzcode source: internal

Package version:
  base64enc_0.1.3   bslib_0.5.1       cachem_1.0.8      cli_3.6.1         digest_0.6.33    
  ellipsis_0.3.2    evaluate_0.21     fastmap_1.1.1     fontawesome_0.5.2 fs_1.6.3         
  glue_1.6.2        graphics_4.3.1    grDevices_4.3.1   highr_0.10        htmltools_0.5.6  
  jquerylib_0.1.4   jsonlite_1.8.7    knitr_1.43        lifecycle_1.0.3   magrittr_2.0.3   
  memoise_2.0.1     methods_4.3.1     mime_0.12         R6_2.5.1          rappdirs_0.3.3   
  rlang_1.1.1       rmarkdown_2.24    rticles_0.25.1    sass_0.4.7        stats_4.3.1      
  stringi_1.7.12    stringr_1.5.0     tinytex_0.46      tools_4.3.1       utils_4.3.1      
  vctrs_0.6.3       xfun_0.40         yaml_2.3.7 

By filing an issue to this repo, I promise that

  • I have fully read the issue guide at https://yihui.name/issue/.
  • [x ] 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('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').
    • 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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure by creating an R Markdown document with the arxiv template and knitting it on the reported Windows, R 4.3.1, and TinyTeX setup. Start from the displayed pdfTeX font-expansion error; done means the arxiv template renders successfully without that error.

Written by the indexing model from the issue text.

Assessment

Tech stack
latex, r
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.