From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id IOfXDPuRgWbFJgAAqHPOHw:P1 (envelope-from ) for ; Sun, 30 Jun 2024 17:12:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id IOfXDPuRgWbFJgAAqHPOHw (envelope-from ) for ; Sun, 30 Jun 2024 19:12:27 +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=M2fD4Jhh; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1719767547; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=lPWLs3i2I1LzQRkUoPFRIJL/AryITYh9l/qRp6Yca7s=; b=ptId1zjM/LOjodYJDGz7M2+9U8jrMrsiHYlTq/ZgAfBbWo2BnhIUVdtlPCGlvWPVRsEYoq 5YzK3u8rZ53rTWVEPQpvseqOoawwMBashcoRv+kxfFq8cy606gfIMvlisBkHp9bhlZxxLa VccD7tvaSmBfSJ+HYzrT6i+Zbmh1duGV67sJvDVpiXepfu0KP6ytZbAVN32MAIfV05MkKd duz7fCpFBvE4r3K9jjcQlb8HLYVOCApb7jNceZsq0DhuslYGOLtN0XbFG+Rw7pbToLq/FA 41mzlKt6jnDnAzHGQlfUAlNOkr8mB/k6lHwoBKODnwKyLWBnPQ62lJMvokdtgw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=nicolasgoaziou.fr header.s=mailo header.b=M2fD4Jhh; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1719767547; a=rsa-sha256; cv=none; b=hiRZ/bcsmj1IIZLvNYtMZADsTADqhvVata6wv6jsMOFBFaXlCYcwduokPG6ZgkgbNgCbII 7kWredXRxVchiGwfbOylhHE1Y23x/lySarc49FZqziTTVbC4CVUb3kc9XbLD0uNXxxGBKb m0Vyp+2la2hEqkkpQXrDGlupiY4YYVVVJ9PiYh5LMQVafsmxAFvhBwCjvxeOZEK+kxHSbj tJZn6wi4+dvggj247BX+7JRrfTvvaNZkzYhAWWSRv2CpFEe05v6AHo0EHxQIUW4YISLiDn FnqiSI53vyv3xSUT+WGh7gInQvYJDfA2JAiECJ8KpQcvTqDIIgrjw68MQJSDpw== 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 03C6F3B513 for ; Sun, 30 Jun 2024 19:12:27 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sNy5u-00056n-7u; Sun, 30 Jun 2024 13:12:06 -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 1sNy5r-00054l-Kl for guix-patches@gnu.org; Sun, 30 Jun 2024 13:12:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sNy5q-0005hS-9V for guix-patches@gnu.org; Sun, 30 Jun 2024 13:12:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sNy5p-0004pf-Vc for guix-patches@gnu.org; Sun, 30 Jun 2024 13:12:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71602] [PATCH] gnu: texlive-scripts: add mktexfmt Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 30 Jun 2024 17:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71602 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Jorge Acereda Cc: 71602@debbugs.gnu.org Received: via spool by 71602-submit@debbugs.gnu.org id=B71602.171976747418504 (code B ref 71602); Sun, 30 Jun 2024 17:12:01 +0000 Received: (at 71602) by debbugs.gnu.org; 30 Jun 2024 17:11:14 +0000 Received: from localhost ([127.0.0.1]:58892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNy50-0004oL-0d for submit@debbugs.gnu.org; Sun, 30 Jun 2024 13:11:13 -0400 Received: from msg-1.mailo.com ([213.182.54.11]:48322 helo=mailo.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNy4u-0004ni-VM for 71602@debbugs.gnu.org; Sun, 30 Jun 2024 13:11:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nicolasgoaziou.fr; s=mailo; t=1719767458; bh=0dpsVV8njZL+WbBNX0v8bUEw3sxAPGgBdHUAcVnM+3Y=; h=X-EA-Auth:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; b=M2fD4JhhZcEvd1vNihgCefFMid5CUjeUNcvLWeIIfXhU8+WmjlLIk8k+NZQiuBven dz0eMa3D1RGqdXmmJQ4VnC/gf66hLfmBusdZ94bPqAnprJcbkBtIai4G9Rqcveg7aL JYDjt4p4u+UP1JaDmqd8yUHDpFTdA159jaYcROd8= Received: by b221-3.in.mailobj.net [192.168.90.23] with ESMTP via ip-20.mailobj.net [213.182.54.20] Sun, 30 Jun 2024 19:10:57 +0200 (CEST) X-EA-Auth: Egf4JCIzMwZrucPNYkaNcgX4xS4lm0CZmdNWnbtGwmJtH9yXgnS/YquGUaBZyDGXz43cJO4/r3DEXUBT+WOZeWhJ/wJl0e+eyHHJohnCWrs= In-Reply-To: (Jorge Acereda's message of "Sun, 30 Jun 2024 18:47:20 +0200") References: <87sewu8psn.fsf@nicolasgoaziou.fr> Date: Sun, 30 Jun 2024 19:10:42 +0200 Message-ID: <87ed8e8igd.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 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Nicolas Goaziou X-ACL-Warn: , Nicolas Goaziou via Guix-patches From: Nicolas Goaziou via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 03C6F3B513 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -6.88 X-Spam-Score: -6.88 X-TUID: DgpsCQh6eYjJ Jorge Acereda writes: > On Sun, Jun 30, 2024 at 4:32=E2=80=AFPM Nicolas Goaziou wrote: >> This is rather surprising. "mktexfmt" is not directly used to compile >> documents, but rather to create format files. However, these format >> files are pre-generated during build, without relying on "mktexfmt". >> >> Also, I can export from Org to LaTeX without issues. Your problem lies >> elsewhere, IMO. Maybe an incomplete TeX Live installation ? >> > > Oh, sorry. I mean org-latex-export-to-pdf. Maybe I'm missing something > as you suggest. I have installed texlive-bin, texlive-etex and > texlive-scripts. This is what I'm getting: > > This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023/GNU > Guix) (preloaded format=3Dpdflatex) > restricted \write18 enabled. > > kpathsea: Running mktexfmt pdflatex.fmt > mktexfmt: No such file or directory > I can't find the format file `pdflatex.fmt'! I see. The first thing to know is the error above is a red herring. Formats (i.e. ".fmt" files) are pre-generated when TeX Live packages are built. When kpathsea library does not find one, it tries to generate it with "mktexfmt", but the problem stems from the fact that you didn't install the package containing the expected format in the first place. In this case, the package texlive-latex-bin does provide it. Anyway, the packages "texlive-bin, texlive-etex and texlive-scripts" are clearly insufficient to compile any document. As indicated in the manual, you should install collections of packages to create a self-sufficient TeX Live distribution. For Org, at the very least, you should start by installing texlive-collection-latexrecommended (and remove the previous packages you had). The packages texlive-collection-pictures (for PGF/TikZ) and texlive-collection-fontsrecommended can be nice to have, too, but they are optional for Org. However, if you want a relatively small TeX Live installation, you may want to stay away from texlive-collection-binextra, texlive-collection-fontsextra, texlive-collection-fontutils, and texlive-collection-latexextra, which can be quite large. I suggest to pick the individual packages you need from them. Off the top of my head, for Org, you may want: - texlive-capt-of - texlive-soul - texlive-ulem - texlilve-wrapfig all from texlive-collection-latexextra. Of course, if space is not an issue, installing texlive-collection-latexextra (roughly 1500 packages, 1G) is an option. There is also texlive-scheme-full (schemes are meta packages mixing collections and sometimes individual packages), which installs all TeX Live (4500 packages, 4G). But I really recommend to spend a few minutes to select a sufficient TeX Live tree instead. HTH, Regards, --=20 Nicolas Goaziou