From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id IMgsGDyhQ2YVDwAAqHPOHw:P1 (envelope-from ) for ; Tue, 14 May 2024 19:37:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id IMgsGDyhQ2YVDwAAqHPOHw (envelope-from ) for ; Tue, 14 May 2024 19:37:00 +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=hIr6KJQ7; 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=1715708220; 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=6Po46AXKGcPSpgQ7xbtUkMSamGzYFfkMFcgNwy5Kq3Y=; b=EMpFVP7UTro91wz8Wb7ysfL/8W3CLpZX3tbqerC2UjjCkAO6KqOYDEFWB21Zrc6THrQijo IoNrAskylQPNPi9f4Mh4GEIo4h8uu5wMQQypsOuK/baFxkQD8RPbYClAK2i4+Ye3SCiYIr mP9KHMGMqrvX+5J+6E/uiKcd2I0WFaREDQhlR4JjnICuln1Se4bU/DtwMpfS1+u/qr3KjQ e9SBWqqMYUw8brb11khX3oCVtX5anh3h8zn9xW71uLoeAZ7fa5Fl+L3q0oEcUWnUIs6com y8vHOqyuuFrAeQudqFLne6ccHtn8gR/VMgLWDFvWOsuY+u/F/wCFMdRVMiSa+Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1715708220; a=rsa-sha256; cv=none; b=Wg0wbsDp+XPrAXVPEUSWi+/xJbnEztWG9M8SnTG3przKFfK+b7VDDPoosk4hjPvJHN2DNQ tmduHCO1mm1Epty83rzVWi0Q8EDWnINMc/H932TBFbXNAjIW5YfL1TTs8EHGozoi98SK3f Nb3BCoDlQR6zyTpluSLP9+1Tur0vS/aqRCLmHPUwhdVtAD7Fn5oyhHOv1VpPN7X3hcJNhp xWqxf4gAd2ubIqNtDpmsFvNJkCJo9VrtrOhpYpVN0z/CKWBvEUzR4XbFK84PsrHeH45WhX TzRmlqja8rQlR9aD4rIIUzR0kDmR2ZpNY/XhWA60K/++kPk9Q5PQ7TJooUzkIw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=nicolasgoaziou.fr header.s=mailo header.b=hIr6KJQ7; 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" 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 4E1C347E7 for ; Tue, 14 May 2024 19:37:00 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s6w4l-000257-Mf; Tue, 14 May 2024 13:36:31 -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 1s6w4c-000235-Tr for help-guix@gnu.org; Tue, 14 May 2024 13:36:25 -0400 Received: from msg-4.mailo.com ([213.182.54.15] 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 1s6w4Z-0003UU-H8 for help-guix@gnu.org; Tue, 14 May 2024 13:36:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nicolasgoaziou.fr; s=mailo; t=1715708174; bh=nuD51fREPCW7i/qz40MxOzUcgya5L69jNZ90IH93Xz8=; h=X-EA-Auth:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; b=hIr6KJQ7M3DRRHSctDBz68S3bVfRsS6DSB3nhhEnN2ho/BMjmYGe32Od0jRIJYfip InghIWH3FIqg6GvCArxTqQh6ebnc14rUURYJH/wHHjakegHBK4zlOI284eVioJki0h rZu2Or3gn6cJ4wtCz4LJKVv1zaHiFdtsm1KvZbZU= Received: by b221-5.in.mailobj.net [192.168.90.25] with ESMTP via ip-20.mailobj.net [213.182.54.20] Tue, 14 May 2024 19:36:14 +0200 (CEST) X-EA-Auth: imk2SNWe+Ueg9/IOvOZ2R69OVATWkz3OGtBoA2iEa+yImw31z3Pnnj79XlbjIxT9InIHKtXlYawKw5DzICxODAgkgJ/80M4GmXsTqZsHA0E= To: Benjamin Slade Cc: help-guix@gnu.org Subject: Re: LuaTeX/luaotfload doesn't find any fonts (using fontspec) on Guix? In-Reply-To: <8734qrx8fq.fsf@nicolasgoaziou.fr> (Nicolas Goaziou via's message of "Thu, 09 May 2024 18:21:29 +0200") References: <87zft1fun8.fsf@gmail.com> <878r0ly1o0.fsf@nicolasgoaziou.fr> <87le4jko03.fsf@gmail.com> <8734qrx8fq.fsf@nicolasgoaziou.fr> Date: Tue, 14 May 2024 19:35:58 +0200 Message-ID: <87wmnwthxd.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.15; 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -2.87 X-Spam-Score: -2.87 X-Migadu-Queue-Id: 4E1C347E7 X-Migadu-Scanner: mx11.migadu.com X-TUID: FoZqYit3iulj Hello, I forgot to send a carbon copy to help-guix ML in my last answer, so I include it here. Nicolas Goaziou via writes: > Benjamin Slade writes: > >>> This doesn't seem good as the store is not writable. >> >>> I read[=C2=B9] that "texmf.cnf" and "texmfcnf.lua" might be misconfigur= ed. In >>> particular, `kpsewhich -var-value=3DTEXMFCACHE' reports a store locatio= n. >>> 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. >> >> I will try to see if there is anything that can be done in terms of >> local/home configuration. >> >> I wonder if there's a reasonable upstream/Guix fix for the luatex >> package definition. > > What I wrote above is actually wrong. $TEXMFSYSVAR does not point to the > store, but to "{/gnu/...", which means "lualatex" creates a "{" > directory in the current working directory. It is silly (and has been > reported already[=C2=B9]), but at least the cache can be written to the d= isk. > > I'm not sure yet there's a problem on the Guix side. Font configuration > can be tricky. Actually, the problem is on the Guix side, and it will be solved in the "tex-team" branch. Meanwhile, the solution is to set OSFONTDIR environment variable to '{$XDG_DATA_DIRS}'. With it, the following "test.tex" document compiles correctly: --8<---------------cut here---------------start------------->8--- \documentclass{article} \usepackage{fontspec} \setmainfont{Fantasque Sans Mono} \begin{document} Test \textbf{Test} \textit{Test} \end{document} --8<---------------cut here---------------end--------------->8--- in the following environment guix shell --pure texlive-collection-latex texlive-fontspec fontconfig fo= nt-fantasque-sans with the following command export OSFONTDIR=3D'{$XDG_DATA_DIRS}'; lualatex test.tex Thank you for the bug report! Regards, --=20 Nicolas Goaziou