I'm using quarto and struggling with latex package installation issues. After upgrading tinytex I can't use windows system fonts and am struggling to install fonts and other .sty files. The advice in the Quarto manual fails, advice in latex forums fails, tlmgr during rendering a pdf document fails, and tlmgr from the windows (system admin) prompt fails. Here's a simple example where I've installed both Roboto and Lato into the windows system fonts and tried to use them in a quarto pdf. The quarto response messages follows the example code. Any advice is welcome
Simple example
---
title: "Fonts in Quarto"
format: pdf
pdf-engine: xelatex
include-in-header:
text:
\usepackage{fontspec}
mainfont: Lato
monofont: Roboto
---
## Fonts
- mainfont: For LaTeX output, the main font family for use with xelatex or lualatex. Takes the name of any system font.\
- monofont: For LaTeX output, the monospace font family for use with xelatex or lualatex: take the name of any system font.
Response starts here
kpathsea: Running mktextfm Lato
The command name is C:\Users\dkStevens\AppData\Roaming\TinyTeX\bin\windows\mktextfm
name = Lato, rootname = Lato, pointsize =
mktexmf: empty or non-existent rootfile!
kpathsea: Running mktexmf Lato.mf
The command name is C:\Users\dkStevens\AppData\Roaming\TinyTeX\bin\windows\mktexmf
Cannot find Lato.mf.
kpathsea: Appending font creation commands to missfont.log.
updating tlmgr
updating existing packages
finding package for Lato(-(Bold|Italic|Regular).*)?.
finding package for Lato
finding package for mktextfm
2 packages to install
installing lato (1 of 2)
installing texlive-scripts (2 of 2)
This is XeTeX, Version 3.141592653-2.6-0.999995 (TeX Live 2023) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
kpathsea: Running mktextfm Lato
The command name is C:\Users\dkStevens\AppData\Roaming\TinyTeX\bin\windows\mktextfm
name = Lato, rootname = Lato, pointsize =
mktexmf: empty or non-existent rootfile!
kpathsea: Running mktexmf Lato.mf
The command name is C:\Users\dkStevens\AppData\Roaming\TinyTeX\bin\windows\mktexmf
Cannot find Lato.mf.
kpathsea: Appending font creation commands to missfont.log.
finding package for Lato(-(Bold|Italic|Regular).*)?.
finding package for Lato
finding package for mktextfm
compilation failed- package installation error
Package fontspec Error: The font "Lato" cannot be found.
For immediate help type H .
...
l.26 \setmonofont
{Roboto}