Quarto not rendering pdf on Windows while rendering on Mac

I use Rstudio on my both Mac and Windows (files on the cloud).

While I am able to render my Quarto file (a journal article draft) into a pdf on my Mac, it does not render on Windows. The error message is as follows:

"running xelatex - 1
This is XeTeX, Version 3.141592653-2.6-0.999993 (TeX Live 2021/W32TeX) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode

updating tlmgr

updating existing packages
finding package for setspace.sty

compilation failed- no matching packages
LaTeX Error: File `setspace.sty' not found.

Type X to quit or to proceed,
or enter new name. (Default extension: sty)

Enter file name:
! Emergency stop.
<read *>

l.14 \usepackage
{iftex}^^M
"

This did not work:

tinytex::parse_install(here::here("myfile.log")).

How can I work around this?

Did you see https://yihui.org/tinytex/#maintenance ?

Thank you for sharing. Yes, the advice there did not help. Maybe I should raise the issue there.

So you executed the following lines and that did not work :

> tinytex::tlmgr_search('setspace.sty') 
tlmgr search --file --global "setspace.sty"
tlmgr.pl: package repository https://ftp.heanet.ie/mirrors/ctan.org/tex/systems/texlive/tlnet (not verified: pubkey missing)
kotex-oblivoir:
	texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/memucs-setspace.sty
kotex-utf:
	texmf-dist/tex/latex/kotex-utf/contrib/dhucs-setspace.sty
lwarp:
	texmf-dist/tex/latex/lwarp/lwarp-setspace.sty
setspace:
	texmf-dist/tex/latex/setspace/setspace.sty
> tinytex::tlmgr_install("setspace") 
tlmgr install setspace
tlmgr.pl: package repository https://mirrors.mit.edu/CTAN/systems/texlive/tlnet (not verified: pubkey missing)
[1/1, ??:??/??:??] install: setspace [8k]
running mktexlsr ...
done running mktexlsr.
tlmgr.pl: package log updated: C:/Users/Han/AppData/Roaming/TinyTeX/texmf-var/web2c/tlmgr.log
tlmgr.pl: command log updated: C:/Users/Han/AppData/Roaming/TinyTeX/texmf-var/web2c/tlmgr-commands.log
> 

If that does not work be more specific: I can't read your computerscreen (yet :wink:)

1 Like

Thank you for your answer. Reinstalling TinyTex did solve the "setspace.sty" problem on my Windows. [tinytex] TinyTeX: A lightweight, cross-platform, portable, and easy-to-maintain LaTeX distribution based on TeX Live | /tinytex/ · Discussion #278 · yihui/yihui.org · GitHub

1 Like

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.