I'm having difficulties making tinytex
work. I suspect it has to do with the corporate network I'm on.
I installed tinytex
via:
> tinytex::install_tinytex(version = "latest")
trying URL 'https://github.com/rstudio/tinytex-releases/releases/download/v2024.01/TinyTeX-1-v2024.01.zip'
Content type 'application/octet-stream' length 129603486 bytes (123.6 MB)
downloaded 123.6 MB
3 File(s) copied
1 File(s) copied
Running fc-cache -v -r
When I try to render a Quarto qmd to pdf, the background process looks like this:
processing file: test.qmd
output file: test.knit.md
pandoc
to: latex
output-file: test.tex
standalone: true
pdf-engine: xelatex
variables:
graphics: true
tables: true
default-image-extension: pdf
metadata
documentclass: scrartcl
classoption:
- DIV=11
- numbers=noendperiod
papersize: letter
header-includes:
- '\KOMAoption{captions}{tableheading}'
block-headings: true
title: Untitled
editor: visual
running xelatex - 1
This is XeTeX, Version 3.141592653-2.6-0.999995 (TeX Live 2023) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
updating tlmgr
When I check the log, it indicates:
! LaTeX Error: File
scrartcl.cls' not found.`
I then try to look for scrartcl.cls
:
> tinytex::parse_packages("test.log")
tlmgr search --file --global "/scrartcl.cls"
character(0)
Warning message:
In tinytex::parse_packages("test.log") :
Failed to find a package that contains scrartcl.cls
I tried a number of things, but it seems that the documentclass is not being installed properly.