\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: | 481 |
Nodes: | 16 (2 / 14) |
Uptime: | 10:13:18 |
Calls: | 9,538 |
Calls today: | 6 |
Files: | 13,653 |
Messages: | 6,139,128 |
Posted today: | 1 |