From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MFUiF2vmIGPOYwAAbAwnHQ (envelope-from ) for ; Tue, 13 Sep 2022 22:22:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4NvrFmvmIGNrJAEAauVa8A (envelope-from ) for ; Tue, 13 Sep 2022 22:22:03 +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 06FBD2958E for ; Tue, 13 Sep 2022 22:22:02 +0200 (CEST) Received: from localhost ([::1]:51146 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYCPy-0001NZ-0H for larch@yhetil.org; Tue, 13 Sep 2022 16:22:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60510) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYC4T-0005Pw-Dl for emacs-orgmode@gnu.org; Tue, 13 Sep 2022 15:59:49 -0400 Received: from mail-4325.protonmail.ch ([185.70.43.25]:12059) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYC4Q-0005w5-RB for emacs-orgmode@gnu.org; Tue, 13 Sep 2022 15:59:48 -0400 Date: Tue, 13 Sep 2022 19:59:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1663099179; x=1663358379; bh=do47HNWnRhPW0RuE9RZYFF4WFcNDBDjB0TeSa3v2BU8=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=Yugk5BHZ3jq3djOSw+8X16S/A9iAm8Qv3njBrTatgHJfsm2Gmwz8kIKy5IzL/twwM bLA41l1tk7wTVzcBPaXHcEQ0SPn/5ikERMObdmhmmAAJwhpZejZWYMorlBXgiZvix/ a5DClDXOLNmXPNoc6LvsNvCjCswyyCstPI89OVuDj8auB19OC/DTBxv+2c+5xJpYVZ RdnJoL9SEd8Z8RyIBft4jI1+uBmubmyvtyQvBc2VNZRNmfGasBXZuuwMp8nsVKM9QN 8WPu2yWyZ4INuv6UXD9WfSkznTGTrQi3NPMlwPIqqsKnuV8o+FIWI1uxjtIxHwnhjX idVkhRGm7wRiw== To: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= From: "M. Pger" Cc: orgmode Subject: Re: error org export to pdf when latex letter class has been added to org-latex-classes Message-ID: In-Reply-To: <8735cv5fd4.fsf@posteo.net> References: <8735cv5fd4.fsf@posteo.net> Feedback-ID: 44058556:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.25; envelope-from=mpger@protonmail.com; helo=mail-4325.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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" 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=1663100523; 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: 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=do47HNWnRhPW0RuE9RZYFF4WFcNDBDjB0TeSa3v2BU8=; b=Gc53TrFiFwI2M6imFuEm1KC1HcPVEmpmWzQskdhuZ28aG3NxDfHK78Bt+R3o8nOqa36QR2 1NXNZzcxgZ8GqBmYefv76aKpmjFWpPSTRGTcPZAtq+OiZB626S8StN+bD5Eyhm/8AD0maI YnWOeOz7UZ3E/3lDz0yGRR8dtyZz/WMYai6u4Noq0LuTebG+yu/HSqXBdv4Md7hYNm5+CH nA5r1qBQriB22oLpmGzB9HrfDZ6Qac+EihI7fvUVFrOFiLCG2pjr0WZZ8hD0wWUJ46Xeyo JfX7x6Cd+RllrOSm9Mn6SYKFEBa+9cB7wse4LvyBNnuIJxGnn8nXkktWZVvAVg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663100523; a=rsa-sha256; cv=none; b=SKKJquiU2VkOiJKyuRfTB3+SLPVDDKH1cTkE2jW0W//DtLmqfh3IJz39d2CvlZ/Rjy/R+Y a0VoaTFpVTlDO0izxGElah8rsIz60/VmCuct+cF8lXxyjcRhHOPx4wxvIFoJjOmzkQiSYZ cXPKl63/8oIfx+zk+ekcnT2Xl0RzAGfXD0hYGcyVjW+YHXcR4RagTg0bn842oUiILeal+D k5E3jKhNRIA4qs1xJmj0LhN16P9lClNsY5GLumZRVvSdKbJWJCSjYhkYM4J1tCQKVseQT2 9hGcKrUUTn+1rivs+fTvp7B1ur0v6fc0Eb5+IPgKRx3lFCPIcMH1PlaG6wGckA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=Yugk5BHZ; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.81 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=Yugk5BHZ; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 06FBD2958E X-Spam-Score: -3.81 X-Migadu-Scanner: scn1.migadu.com X-TUID: ZyzH0tUSnR0L Hi, Thank you for your answer. > Are you including citations in your letter?=20 No, that's also why it is puzzling. You should be able to reproduce the iss= ue by creating a really minimalist init file including the following: ``` (with-eval-after-load 'ox-latex (add-to-list 'org-latex-classes '("letter" "\\documentclass{letter}")) ) (setq org-latex-pdf-process (list "latexmk -shell-escape -f -pdf %f")) ``` As mentioned in my previous mail, the error also appears when using `pdflat= ex` instead of `latexmk`. Best, M ------- Original Message ------- On Tuesday, September 13th, 2022 at 7:55 PM, Juan Manuel Mac=C3=ADas wrote: > Hi, >=20 > M. Pger writes: >=20 > > (/usr/share/texlive/texmf-dist/tex/latex/natbib/natbib.sty > >=20 > > ! LaTeX Error: Environment thebibliography undefined. > >=20 > > See the LaTeX manual or LaTeX Companion for explanation. > > Type H for immediate help. > > ... > >=20 > > l.1063 \renewenvironment{thebibliography} > > [1]{% > > ? > > ! Emergency stop. > > ... > >=20 > > l.1063 \renewenvironment{thebibliography} > > [1]{% > > ! =3D=3D> Fatal error occurred, no output PDF file produced! >=20 >=20 > Are you including citations in your letter? Maybe this is related: > https://latex.org/forum/viewtopic.php?f=3D4&t=3D3359 >=20 > Best regards, >=20 > Juan Manuel >=20 > -- > -- > ------------------------------------------------------ > Juan Manuel Mac=C3=ADas >=20 > https://juanmanuelmacias.com >=20 > https://lunotipia.juanmanuelmacias.com >=20 > https://gnutas.juanmanuelmacias.com