[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XeLaTeX, fontspec, unsuccessful font search

From: Wiktor Żelazny
Subject: XeLaTeX, fontspec, unsuccessful font search
Date: Wed, 22 Jan 2020 16:25:43 +0100

Dear list,

I’ve been tackling a similar problem as in [1]:

$ cat minimal.tex

   \setmainfont{Latin Modern Sans}

$ guix environment --container --ad-hoc texlive texlive-latex-fontspec 
[env]$ xelatex minimal

   -dist/tex/latex/fontspec/fontspec.cfg)))kpathsea:make_tex: Invalid filename 
`Latin Modern Sans', contains ' '

   ! fontspec error: "font-not-found"
   ! The font "Latin Modern Sans" cannot be found.
   ! See the fontspec documentation for further information.
   ! For immediate help type H <return>.
   l.3 \setmainfont{Latin Modern Sans}

Actually, it started with me trying to obtain a pdf output with `pandoc
--pdf-engine=xelatex` from a markdown file. This returns a different
error, albeit seemingly related: lmodern not found. So the issue looks
deeper than the space in the font name.

For an environment without `--container`, `fc-match` returns no match,
even after `fc-cache -f`.

Any hint will be appreciated.



Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]