\documentclass{article}
\usepackage{fontspec}
\setmonofont{Anka/Coder Narrow}
\begin{document}
text
\begin{verbatim}
stuff
\end{verbatim}
\end{document}
kpathsea:make_tex: Invalid filename `Anka/Coder Narrow', contains ' '
! Package fontspec Error: The font "Anka/Coder Narrow" cannot be found.
Is there a way to allow fontspec to load a font whose name contains an embedded slash?
Peter Flynn schrieb:
Is there a way to allow fontspec to load a font whose name contains an embedded slash?
On my system, TeX Live 2020 on Debian Buster, copying AnkaCoder-C75-r.ttf to the directory where the .tex-file to compile is stored and saying
\setmonofont{AnkaCoder-C75-r.ttf}
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 150:10:24 |
Calls: | 10,383 |
Files: | 14,054 |
Messages: | 6,417,787 |