From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yPzcMOoBRGIpEwEAgWs5BA (envelope-from ) for ; Wed, 30 Mar 2022 09:08:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6DGLLeoBRGLFPAEAauVa8A (envelope-from ) for ; Wed, 30 Mar 2022 09:08:26 +0200 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 7282D97D4 for ; Wed, 30 Mar 2022 09:08:26 +0200 (CEST) Received: from localhost ([::1]:56322 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZSRN-0004tJ-Kn for larch@yhetil.org; Wed, 30 Mar 2022 03:08:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56090) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZSR4-0004qJ-RD for help-guix@gnu.org; Wed, 30 Mar 2022 03:08:06 -0400 Received: from mail-40133.protonmail.ch ([185.70.40.133]:20173) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZSR2-000070-GA for help-guix@gnu.org; Wed, 30 Mar 2022 03:08:06 -0400 Date: Wed, 30 Mar 2022 07:08:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1648624082; bh=u5j5TQ41891+VphDkF9rDrmJMNKktTSi8cVQb/Qnv2k=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=Ai7fCHOvvtAvvqZFd2X4wl+lSjZH8YktlUn8pGQ1ggccyKZz3mSoWxfj7PJ1eurJI 3W6si6JYLsz6oVTIPGwZJlnYXtX6SYPDkcOhB5YAYGlrJui59UB8e4Zzr1OkgvZtqL cqB8MMFBwdelsEWPtOPG1k/tdsRc5Lr+9NbsAC4JpttlKjsgw1+Yqvh8p+mk9VagAR BLZnQMjziAhjR7BXmDAideG4KWU6/0kuqZhsCXMeU24y4rzNlUMA1+dtxrkzRAuS2/ tXlcWHANYynEo8POnZBoeQyjrKfroR3X8LJpValFQjEdYWTWAbaJCU15YSaqMgVwsI 3vJze5RF4YJgQ== To: TK From: TK Cc: help-guix@gnu.org Subject: Re: Missing LaTeX font (R related) Message-ID: In-Reply-To: References: <8735j9doy3.fsf@elephly.net> <87ilrx81ji.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.133; envelope-from=tkprom@protonmail.com; helo=mail-40133.protonmail.ch 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, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TO_EQ_FM_DIRECT_MX=0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: TK Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648624106; 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=u5j5TQ41891+VphDkF9rDrmJMNKktTSi8cVQb/Qnv2k=; b=HTNvDjVCZPglKvj642aBXE+ZdWreYZfmxyIgbOjQ5qcwJXPN7mSSGE5oWbE5CR+j6bxITt cWOrQA5oMZ3KBoOVU8a2DClYZTBg90kN/DgdwEzPjPmCoPBY8rKfIK+hecTjxAcP/c6Wfd PI81/xLELWMkz4+cEEOVQaJCTIPPg+GrRpfiOhksvaQzYWcOK6lUD8o73UazC4hbQkTJu5 kMwv4181GMhMEn0dRSdJgD2d2SwzpdYLjGeIva5p5RoXv6Ds11xbrvs3cPKP8qR/Pd7a+U CcrJ0XBPIOX4ZpnpsUBeBcEqktAfm8O5cQqwxh12ROi9cGCh0xEqc5qLAGbCmg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648624106; a=rsa-sha256; cv=none; b=u3OR2Ca66DP/fCKP317T0Nvh1jvDKKu70TlCQ935Fu+GCgEMutZXpB588iY1+c1ACssIIz ijCKQXBqIrkn7fgmvhZBAKC4vkOUItwPISslq64KFw8dZ+RAtJnCMrPnNS7pX4FMqcyleL KyrZqXa8DlFjci25m/e5H0sA5EGi/50axOi7yOscAO1GrIEFuiEjBF/rqjjWIjq60HLvuc MvNB8rwwuV1nvndLOuasP/L+MN0FP2PbpSwrCBJT5/d58vpndNRE1V/s5yyY7rSQjWONEP DKDt/VDHG21F6SZu8vppyPdnCCDbkuK6jkt5QLtq67m2tzwNC+7G+kD/WuHCfg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail header.b=Ai7fCHOv; dmarc=pass (policy=quarantine) header.from=protonmail.com; 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" X-Migadu-Spam-Score: -9.37 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail header.b=Ai7fCHOv; dmarc=pass (policy=quarantine) header.from=protonmail.com; 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" X-Migadu-Queue-Id: 7282D97D4 X-Spam-Score: -9.37 X-Migadu-Scanner: scn0.migadu.com X-TUID: YawTUUOHVbAM > > TK tkprom@protonmail.com writes: > > > > After some more investigation, I think I narrowed down the > > > > > > issue. Package texlive-inconsolata indeed installs the `t1-zi4r-0' fo= nt. However, the` map' for that font exists only under dvips, not in > > > > > > the pdftex subdir. > > > > We=E2=80=99re generating these map files based on the contents of the p= rofile. > > > > We=E2=80=99re using a profile hook for this. > > > > > I am not a TeX magus, but it is indicative that the file on the > > > > > > official TeXLive repo > > > > > > https://tug.org/svn/texlive/trunk/Master/texmf-dist/fonts/map/pdftex/= updmap/pdftex.map > > > > > > does contain `zi4' entries. > > > > We don=E2=80=99t use that file because it contains everything; instead = we > > > > generate it in a profile hook so that it only contains entries that > > > > correspond to what has actually been installed. > > > > > Shouldn't the installation of texlive-inconsolata put the > > > > > > corresponding entries into `pdftex.map'? > > > > Yes, it should. > > > > > Any hints on where to go from here? > > > > When I do > > > > guix shell -C texlive-base texlive-inconsolata > > > > I see that > > > > $GUIX_ENVIRONMENT/share/texmf-dist/fonts/map/pdftex/updmap/pdftex.map > > > > contains entries for the inconsolata fonts. > > > > (The profile hook depends on texlive-base.) > > > > -- > > > > Ricardo > > Hi Ricardo, > > Thanks for narrowing it down. > > It turns out that replacing `texlive-tiny' with` texlive-base' in the man= ifest did the trick. So, the message for future readers is, if you want you= r own subset of TexLive, start with `texlive-base' in your manifest, then a= dd whichever other packages, or fonts you need. > > Cheers, > > T For the reference, the smallest TexLive manifest I came up with that passed= `R CMD check` for the R package I am developing has been: ``` (use-modules (guix packages) =09 (gnu packages tex)) (define specs '("texlive-base" "texlive-pdftex" =09=09"texlive-url" "texlive-inconsolata" "texlive-latex-xkeyval" "texlive-fonts-ec" "texlive-times" "texlive-helvetic" =09=09"texlive-amsfonts")) (specifications->manifest `(,@specs)) ``` I probably don't need texlive-pdftex there, but can't check now.