From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id gDyxKD1kOma8qAAA62LTzQ:P1 (envelope-from ) for ; Tue, 07 May 2024 19:26:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id gDyxKD1kOma8qAAA62LTzQ (envelope-from ) for ; Tue, 07 May 2024 19:26:21 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=nicolasgoaziou.fr header.s=mailo header.b="z/u6Mq51"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1715102778; a=rsa-sha256; cv=none; b=ri7yMPTOInwqFE7v7wXh7NKygQK3kU/YcUYbdLKpTdOeQA9YKn+k6hnLvu0CP9NZksFGy8 YSrQjyZZrxP8jUoKZ3RoiB2TLfkPwY3tLcZ1h6Cqgt7+lIH1AVXHW9xD6sY97wc7LUKPIc LF9YBEsIDlxWMVkBfDJBvYCx8QawT9B/GxJAIWmRClcBPtPWYBoi+fRbQtZs3LPxF6j2Ja g+JlOAHexTlrGZOsCVp6O08EK3CqeoEiDFS5H51xBuyAZDOcwX+zmHhQ11Fpx4KBw5OhwM OKlZgmQr8+1QC2eNayKy2NJ7hhc/nT75VbWpxRW99jrJUdqSpMUxZ7iQ3WlZZQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=nicolasgoaziou.fr header.s=mailo header.b="z/u6Mq51"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1715102778; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=QPh6eZX3OMB5cGeTp3SHaOQhCEbCiPrvpz3i2OoM8YA=; b=NuRbH3VW0XO6KUaB3hnolsPR2xT2Agg+VV1dSlCcF5T7zCtMHhfbwdChZxygWLZusfzCJ1 KZRj20WXwjXguTceJeDim1+Ar54cu2hODUMIXde6uXBjuxfDVxW8P4+nGJmMJi29a8D8GL 4VSIE91PoSVZB63Lj4UrU72mjJHqf0kDebJjqp2rewN/w8h8XmxWlTvY+cp4pcUOBQizT7 8CTU12UcKStomElpEu+L1BeI+++A84mZWdQ4hQp80K9AslO+YP/ARBiLJTGEgbq5XAbXaS DzW+HIOFcO4HUK/eVhT43m8cirgjvdIuCVjTk2VUhim2lGMFb8ZA2TWzZckSFA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4317719738 for ; Tue, 7 May 2024 19:26:18 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s4OZk-0007hz-Nq; Tue, 07 May 2024 13:26:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s4OZi-0007gF-Pb for help-guix@gnu.org; Tue, 07 May 2024 13:25:58 -0400 Received: from msg-1.mailo.com ([213.182.54.11] helo=mailo.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s4OZg-0007DW-P9 for help-guix@gnu.org; Tue, 07 May 2024 13:25:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nicolasgoaziou.fr; s=mailo; t=1715102751; bh=w8v2jxkiwLbBe6OxiEpGez4J6rKMWIdEQ9UDth2icPU=; h=X-EA-Auth:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; b=z/u6Mq51Vu+lEQmx1mjqJJWUAcd5ydZhFrhID1NArNcJhsYIybMlge79/Quldm6qP La+/MIs4zTvfQxa+cUJM+To0Zhm1UALtB6G9b87Ia8ntabzuvMf6muu7vPQNi5uSnt w9OHCaRtwbQTLK86Ftx9WbSG4MsPJjm0tVp10NzQ= Received: by b221-6.in.mailobj.net [192.168.90.26] with ESMTP via ip-20.mailobj.net [213.182.54.20] Tue, 7 May 2024 19:25:51 +0200 (CEST) X-EA-Auth: wLQNNaK4D3H/Jxz2eTcH8yeYNVC9K5hCXjo5kZtldq25ytkXlSwYE1m7uWL2gKeZacyu+G2/WGF6mYVbUD/paMj7JS7eFhGT48QGSQr5KdM= To: Benjamin Slade Cc: help-guix@gnu.org Subject: Re: LuaTeX/luaotfload doesn't find any fonts (using fontspec) on Guix? In-Reply-To: <87zft1fun8.fsf@gmail.com> (Benjamin Slade's message of "Tue, 07 May 2024 11:34:35 -0500") References: <87zft1fun8.fsf@gmail.com> Date: Tue, 07 May 2024 19:25:35 +0200 Message-ID: <878r0ly1o0.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=213.182.54.11; envelope-from=mail@nicolasgoaziou.fr; helo=mailo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Nicolas Goaziou From: Nicolas Goaziou via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 4317719738 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -5.89 X-Spam-Score: -5.89 X-TUID: 10ULsoXw9uij Hello, Benjamin Slade writes: > I'm having trouble using LuaTeX on Guix. > > luaotfload doesn't seem to be able to find any fonts, whether system-wide= or local (when used with fontspec). I get messages like: > > luaotfload | db : Reload initiated (formats: otf,ttf,ttc); reason: = Font "Cardo" not found. > luaotfload | resolve : sequence of 3 lookups yielded nothing appr= opriate. > ! Package fontspec Error: The font "Cardo" cannot be found. > > I don't have this issue on other distros, or on Guix when using XeTeX ins= tead of LuaTeX. > > Is there some additional setup or configuration (or another package ?) > that I need on Guix to get LuaTeX/luatofload to work properly ? > (pathing issues of some sort ?) I compiled successfully the following document (test-font.tex): --8<---------------cut here---------------start------------->8--- \documentclass[11pt,a4paper]{amsart} \usepackage{unicode-math} \setmathfont{Asana Math} \setmainfont{Droid Serif} \begin{document} \[(D_e\Phi_{\gamma(s)})^{-1}(\gamma'(s))=3D\varphi'(s)(D_e\Phi_{\alpha(\var= phi(s))})^{-1}(\alpha'(\varphi(s)))\] \end{document} --8<---------------cut here---------------end--------------->8--- using the following command: guix shell texlive-scheme-small texlive-collection-luatex texlive-droid t= exlive-asana-math texlive-unicode-math -- lualatex test-font.tex However, I don't think it takes into consideration the specified fonts. In the same environment, `luaotfload-tool --help' reports --8<---------------cut here---------------start------------->8--- The font database will be saved to {/gnu/store/f1hdawmb5401cldyl6f27lvc3hvxbw8l-profile/share/texmf-dist/lu= atex-cache/generic/names/luaotfload-names.lua.gz {/gnu/store/f1hdawmb5401cldyl6f27lvc3hvxbw8l-profile/share/texmf-dist/lu= atex-cache/generic/names/luaotfload-names.luc ---------------------------------------------------------------------------= ---- FONT CACHE --cache=3D operate on font cache, where is "show", "purge", or "erase" The font cache will be written to {/gnu/store/f1hdawmb5401cldyl6f27lvc3hvxbw8l-profile/share/texmf-dist/lu= atex-cache/generic/fonts/ --8<---------------cut here---------------end--------------->8--- This doesn't seem good as the store is not writable. I read[=C2=B9] that "texmf.cnf" and "texmfcnf.lua" might be misconfigured. = In particular, `kpsewhich -var-value=3DTEXMFCACHE' reports a store location. At the very least, I think TEXMFCACHE in "texmf.cnf" should be set to $TEXMFVAR instead of $TEXMFSYSVAR;$TEXMFVAR as it is the case currently. I'm not sure it will help, tho. Regards, [=C2=B9] --=20 Nicolas Goaziou