Skip to content

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

Open
@gladymarperez

Description

@gladymarperez

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 (#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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    reprexneeds a minimal reproducible example

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions