From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <help-guix-bounces+larch=yhetil.org@gnu.org> Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gKmLE17V8GRqNAAA9RJhRA:P1 (envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Thu, 31 Aug 2023 20:01:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gKmLE17V8GRqNAAA9RJhRA (envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Thu, 31 Aug 2023 20:01:02 +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 E698E47873 for <larch@yhetil.org>; Thu, 31 Aug 2023 20:01:01 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=eKtf2FS5; dmarc=pass (policy=none) header.from=gmail.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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1693504862; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=q+TUap1PuVTSxE7I5m/kZCi6FPV8oO2cNLDvOvNTGAU=; b=RqIzbXbXqbGexdnU9HUKEb7po3JuChSBh/EKTq+wkaZL+BrwSeikbaeW8wcPaldBgBUqr6 H9eSaCl8u9JyPuGd3VKS7irqbw/J1BadV6ApFgo7V8m3+g+5JBj+G0CjBHHHJ/wtDY7xJv Fc52HWj5bEqd6IZff3BisA+RPt5B5rqFR4dj+7DHBr9RCRa3pjq7+7BxqX5rx3G7Y3Dpu+ HBoVx8Ry17dO+oifM1hRvh3d7y02kUYzhIMYyYf/MOS1J5T/UKUATMvc93MYK9k63MIm7W VngkvQYT5O5VoKSDeUMUzqFkKvWk9EeoaxFkjW/tz6HioFA3EMOwuNqfs2/Klw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=eKtf2FS5; dmarc=pass (policy=none) header.from=gmail.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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693504862; a=rsa-sha256; cv=none; b=bLz2ilg5zTBiXWIauVOSjOt7EHtIlCXglRH2gEgV7BEbfKTADgleny194NAkEqXh+Mjf7r 7tu+ffDHno7xKAAdEPMGHyezNH55bHHU8D2AzhqcJTsI96fPwI54HzKCL4oEPf6Wk5wgl9 CbK9PromFx0K9qTO5JZ8kVJb+tWkL+MfgCq/r2l5oX4qgT2zY+PnCYNrVm1yzA9FqfE6Tx ptkkUGt2qRiQAXQDWJWUOr5H3kAASiRgkWlXc+E36hIr1JZFpniuqSazM+l664M0e73v7C Grd8c8pdmoooUvOfU7Hd37wX142KU8xchCcBaoFkL4V6rQ83vfN3IFMb8/iPwQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <help-guix-bounces@gnu.org>) id 1qblxx-0004PT-Jp; Thu, 31 Aug 2023 14:00:25 -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 <poptsov.artyom@gmail.com>) id 1qblxu-0004M8-Oy for help-guix@gnu.org; Thu, 31 Aug 2023 14:00:22 -0400 Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <poptsov.artyom@gmail.com>) id 1qblxs-0007eO-70 for help-guix@gnu.org; Thu, 31 Aug 2023 14:00:22 -0400 Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2bcb89b476bso20392451fa.1 for <help-guix@gnu.org>; Thu, 31 Aug 2023 11:00:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693504817; x=1694109617; darn=gnu.org; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=q+TUap1PuVTSxE7I5m/kZCi6FPV8oO2cNLDvOvNTGAU=; b=eKtf2FS5NgTgl/GHN4o5C2baQJlMjyybV9hJDtZmd/m4B9G22pEkpMTSSXuZ8SuCx7 HHSs71y+3LHye5UDQdz/X3Ar0wZKttGtsYtrq7Qa1wP3g0SVGxkx+VTrTiZ9wchwSEhU VxbDn6B81seX0f4GmI5zbYT4knOKGQTkAght69aXZ5zCpTfAiv+3cNBMAnLzK9hMre7j KcMI3IaOB21E7ZLmcOVwfDqY4m3UXzRtZppXbAYy8k89HLgMDI/1pOe2H7lq7fs9MQ3U tm9XlsJsXk9xxSleGyij6H3u6hLTPAHWPol0E6QSkeMwD14RNF3/nn4QJfC+N4LX8QAp hnZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693504817; x=1694109617; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=q+TUap1PuVTSxE7I5m/kZCi6FPV8oO2cNLDvOvNTGAU=; b=P54PCMw6ZBsFwNYnKUCT49N3oK18f4WJzGfjJLlatm0fogVhwXH8oii1/Y9FAacw2i LMwEh7geFqkGIg/MTxF94+nGS15vnAYAsL27GPR1EWSe3+ILb8I8y0t3vpybZTyEKVR9 wxi6d98nNcAkWOeHi5REoQrfYNsJnT/kxm2ZrTmzJrFf5zEWzGYxj24PvgPYj3tKTyD9 gV7L6JqfMVZ+buApYp1MEwUaUHZJnMGJ7XZQ2gC3hmOxl0qhaKvJxOip7Tu4jpn/jvOk TWLHPg9wUHjimJSd7tjVbCZkF8HphXR9fg4LRlaG9Xp61cgYChv9DIr28o78nTt4Dxa5 /a+g== X-Gm-Message-State: AOJu0YwbDiH+QCibVMl5TWjlDHM2MjYSzjMsGxt9ThOvfPHjRr+hlGpD +VZ3vGo7NxJnoSdXebOP7GbEioan1ck= X-Google-Smtp-Source: AGHT+IGdv5dOVKPkbtHVuENzJytN7IuqPw3b3kU7tT5PoggTE6KOylYLfYu2SD850JZ4JCHrDKeLyA== X-Received: by 2002:a2e:9c51:0:b0:2bc:b6d9:4347 with SMTP id t17-20020a2e9c51000000b002bcb6d94347mr4941585ljj.20.1693504817201; Thu, 31 Aug 2023 11:00:17 -0700 (PDT) Received: from elephant ([5.166.209.252]) by smtp.gmail.com with ESMTPSA id bx30-20020a05651c199e00b002bba9a4f715sm423967ljb.11.2023.08.31.11.00.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Aug 2023 11:00:16 -0700 (PDT) From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com> To: Nicolas Goaziou <mail@nicolasgoaziou.fr> Cc: help-guix@gnu.org Subject: Re: LaTeX: Need help with packaging a book in GNU Guix References: <873503ygd1.fsf@gmail.com> <87v8cynrwa.fsf@nicolasgoaziou.fr> <87pm3658ao.fsf@gmail.com> <87jztenhgp.fsf@nicolasgoaziou.fr> <871qflemc6.fsf@gmail.com> <878r9toez5.fsf@nicolasgoaziou.fr> Date: Thu, 31 Aug 2023 21:00:12 +0300 In-Reply-To: <878r9toez5.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Tue, 29 Aug 2023 20:55:42 +0200") Message-ID: <87fs3zay8j.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a00:1450:4864:20::230; envelope-from=poptsov.artyom@gmail.com; helo=mail-lj1-x230.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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: <help-guix.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-guix>, <mailto:help-guix-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/help-guix> List-Post: <mailto:help-guix@gnu.org> List-Help: <mailto:help-guix-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-guix>, <mailto:help-guix-request@gnu.org?subject=subscribe> 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-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -11.19 X-Spam-Score: -11.19 X-Migadu-Queue-Id: E698E47873 X-TUID: PEjQLyIPq54u --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello Nicolas, sorry for bothering you again with my LaTeX questions, but I faced with a new problem on my way to package my book for GNU Guix. When the build system runs "xelatex" as follows: =2D-8<---------------cut here---------------start------------->8--- xelatex --shell-escape sparc.tex > sparc.pdf.log.2 2>&1 =2D-8<---------------cut here---------------end--------------->8--- It produces a PDF file which size is ~4MiB instead of ~7MiB as it must be. There's an error in the log: =2D-8<---------------cut here---------------start------------->8--- xdvipdfmx:fatal: Cannot proceed without .vf or "physical" font for PDF outp= ut... No output PDF file written. =2D-8<---------------cut here---------------end--------------->8--- Again, when I add "texlive" package to the inputs, the book builds fine. Also it build fine when I run the build without "texlive" but inside a pure Guix shell environment on my machine. That is a bit trickier to check the difference between environments but at least I can say that I have the following texlive packages installed on my base system (Ubuntu 22.04): =2D-8<---------------cut here---------------start------------->8--- $ dpkg -l | grep texlive ii texlive-base 2021.20220204-1 = all TeX Live: Essential programs and files ii texlive-binaries 2021.20210626.59705-1ubun= tu0.1 amd64 Binaries for TeX Live ii texlive-latex-base 2021.20220204-1 = all TeX Live: LaTeX fundamental packages ii texlive-music 2021.20220204-1 = all TeX Live: Music packages =2D-8<---------------cut here---------------end--------------->8--- Here's my attempt to create a patch for Guix that adds the book: https://github.com/artyom-poptsov/guix/commit/001ede4fe5b7ecb0c342ad05554= 799193bd93107 Could you please take a look and give me a hint on what I'm missing here? Thanks! =2D avp =2D-=20 Artyom "avp" Poptsov <poptsov.artyom@gmail.com> Home page: https://memory-heap.org/~avp/ CADR Hackerspace co-founder: https://cadrspace.ru/ GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFNBAEBCgA3FiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmTw1SwZHHBvcHRzb3Yu YXJ0eW9tQGdtYWlsLmNvbQAKCRDpxaLZCJigL7NlB/94IuyOUQmtOs6aCKziiTTQ w3K+5XB5d+rfzbtL4emgQuFIobsaHW1/VUhNeLMBfo8X6Ip8z414qBGywJKIBJjO 6oeXlGx1qJbafP+/r6UTnLYyv4PMEDUiE6huAvqQUAXS3M5g8B/A1Et9zVk4Gr5Q g7NhXvVZBbPvszd6t61djqx+futa6Sg+iVKbXGK1R62HrFls9uLXsVll4q0lHm4E +3d1bo0NXypC/LMeFFt97RAa9YbVTdqykL39IAr8Jxb4K0achSY8kSsGXKkM83OM YIOpBxEuj/NO+AndtoIDwQXr6zaScAerNhjn4WCvXxKGdFHLPKtmnG4wBHGgF7Jt =I5fh -----END PGP SIGNATURE----- --=-=-=--