\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: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 23:48:42 |
Calls: | 6,707 |
Calls today: | 1 |
Files: | 12,239 |
Messages: | 5,352,105 |