From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wiktor =?utf-8?Q?=C5=BBelazny?= Subject: XeLaTeX, fontspec, unsuccessful font search Date: Wed, 22 Jan 2020 16:25:43 +0100 Message-ID: <20200122152543.xjb6qvbvjsbkeuxo@wzguix> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="luylz5do2w5zg6u3" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:38261) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuHtF-0006FR-Pa for help-guix@gnu.org; Wed, 22 Jan 2020 10:25:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iuHtE-0002q6-Jn for help-guix@gnu.org; Wed, 22 Jan 2020 10:25:57 -0500 Received: from freeshell.de ([2a01:360:106::2]:43222) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iuHtE-0002oR-Dg for help-guix@gnu.org; Wed, 22 Jan 2020 10:25:56 -0500 Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org --luylz5do2w5zg6u3 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dear list, I=E2=80=99ve been tackling a similar problem as in [1]: $ cat minimal.tex \documentclass{minimal} \usepackage{fontspec} \setmainfont{Latin Modern Sans} \begin{document} Hello \end{document} $ guix environment --container --ad-hoc texlive texlive-latex-fontspec texl= ive-lm [env]$ xelatex minimal (/gnu/store/ar2lrskw5mbqyc8k7ai3i7p5ig6fdkp0-texlive-texmf-20180414/shar= e/texmf -dist/tex/latex/fontspec/fontspec.cfg)))kpathsea:make_tex: Invalid filen= ame `Latin Modern Sans', contains ' ' !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! fontspec error: "font-not-found" !=20 ! The font "Latin Modern Sans" cannot be found. !=20 ! See the fontspec documentation for further information. !=20 ! For immediate help type H . !............................................... =20 =20 l.3 \setmainfont{Latin Modern Sans} Actually, it started with me trying to obtain a pdf output with `pandoc --pdf-engine=3Dxelatex` 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. W=C5=BB [1]: https://github.com/NixOS/nixpkgs/issues/24485 --luylz5do2w5zg6u3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEvcl0zdnJun12Glc9xzWoxqtgedUFAl4oaXdfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEJE Qzk3NENERDlDOUJBN0Q3NjFBNTczREM3MzVBOEM2QUI2MDc5RDUACgkQxzWoxqtg edVdDQ//c+kEIEwJbz2ocFwVoMg9xAZPhDEVrvwjIQ7BrXHSlWSOx6V2hJ336bt4 gxdIKmXd7tK9xfLcMcKvIXJsNCoG4yXb/hbppKmiRVUpbr6hxwpIOsHi5zHNlb8U JbHiSl4Y8fpA/jza4dmtg0HlTnbMiQbs2nNUXLvXhNrl4HZbipgcs47/YwL9yx/g xjWgQKoB2CRcznCcMeck1BJTuZ5g0YXOWe/+TDAizZA1DKIpet7hBK+idm9w0s5U 4O5Ry9ULd317djapfdRQEH093YEtVu1AwQQoD1+V+s5ogj5Vh1Upxh85m3Gw1n61 D43YRXY8iBvvHal7Dyn3RYM1tnPMRGkegpo/gOpVqyU4kzWmPz3ICDjU+gIDCLPG qjNuEauEzA0/8ufluiXmeIkPHcyrWqt2pUNHDmyCY0HGf9zDSGnengSNV4nVwUOr hwbTvife+LEiwKNL6KHLCUa+d/VfmEnzSyqLj6NCN+sD50gEFJB1O0bsWTIjhWuZ Jgz8osJ1amODHc0W/wLuNbSTOWvCbRHeqtOgGOhm8JHPuS68EnSAipE8nKJITddN m4QYRq+IFrpif4zqSa5u9pf2TlIFvlXJm8K+fjke6hja9RXi688WLgsvDmI+yMYM b7pnBQp5PbdDCKhmdiFQkVvoAYGNSPc67nBBhs4UfQ6OfDipiaI= =meQv -----END PGP SIGNATURE----- --luylz5do2w5zg6u3--