From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 kPKdFuHlIGP4JwEAbAwnHQ (envelope-from ) for ; Tue, 13 Sep 2022 22:19:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id GOmNFuHlIGN+dQAA9RJhRA (envelope-from ) for ; Tue, 13 Sep 2022 22:19:45 +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 AC64A2942E for ; Tue, 13 Sep 2022 22:19:44 +0200 (CEST) Received: from localhost ([::1]:49092 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYCNj-0005G0-Hq for larch@yhetil.org; Tue, 13 Sep 2022 16:19:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYCJr-0003FX-BZ for emacs-orgmode@gnu.org; Tue, 13 Sep 2022 16:15:43 -0400 Received: from mout01.posteo.de ([185.67.36.65]:52941) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYCJp-00006Z-Fc for emacs-orgmode@gnu.org; Tue, 13 Sep 2022 16:15:43 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id E25F424002A for ; Tue, 13 Sep 2022 22:15:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1663100138; bh=3SeHwlr2ufa1w5StOrzISCnmbug4wBap+Z9oGE5Ov2Y=; h=From:To:Cc:Subject:Date:From; b=hdmciB2/h3uC8WsVoh1U7JtWj44qjcOuCQlu6WCfK8Gk5oM5bFMDKbcbNmgo8AWe7 U+ONza3Kq9TUzjTjJ96m/F0kG4KXpqtmgC6iOsAbbm5CIKevEjKyzAfbs6mUYDqp8D MlwIgPlckGzOl04G975iX9xc5Px4grjnmblZO79MzWHKdgdN459ZeCcB3+GJDKrwUo bWffnMXAR1u+/ZsA/UZfyC6ICxqiyQ97Kxmgixri4tIWnO9KE1HvvX6RuUmQzbBdVn JFrmgB13fHZk0ogjN0+b3trD3LMP0vqdyOsr7iJIcMaKxwhNaIC9ndF+5FInDOolV0 w//Rtl4g/eMbw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MRvpy1wKFz6tmj; Tue, 13 Sep 2022 22:15:35 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: "M. Pger" Cc: orgmode Subject: Re: error org export to pdf when latex letter class has been added to org-latex-classes References: <8735cv5fd4.fsf@posteo.net> Date: Tue, 13 Sep 2022 20:15:33 +0000 In-Reply-To: (M. Pger's message of "Tue, 13 Sep 2022 19:59:31 +0000") Message-ID: <874jxbvxne.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=maciaschain@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=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=1663100385; 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=Pi7VjaqS0nXyiEJSwMzEQctZiGdmBkNuNvMUsRPONu4=; b=E0yIpUMhF+ym+BlGORKtqBivIAe7Tq/Q4t7g0jdSzpcZajTGdJ8oD43xiI1lljVDdHz79f eoSHC23vpcJ6Vavk7pZZwM/jqjdYGFrXXn+PoUq9/DEzlDgKP/LPXWtuwOCSt3VcbBA1bM 9b/RXaFrFVwf8ac+PA5Tq1AeO3NLvtq6vA4EWRNp5Ylw/2DMRSr9In6OOEhU+F2CudmjEW E3n6ax2sPWEjYtXtAJSnwZdp39pFpbeZLvSNs4TSJRLtrTg0Igu+xKFi8YAfsmtsWqKub2 MEHv8b3Au8HzmC7X20lI/u/Hr4EJloynLEOMzG+Mogm21XmLLx2ui9scF+iPFA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663100385; a=rsa-sha256; cv=none; b=LNo1Sw0tojNLEOPf3sFgaDM0AWdyLSby/w13xGk6yAcVVnjgEA/V1Svbn4woeraLZ1LGen Ut4e1YKRrH2IscCTt1z3hgGDVk6hzP9nDMJYs2jz7CvF4Bj7vC0zRIzAeHYNViQD+yPFf/ pzg3+pJCAWmmpxrnUCYNodUBIlBBDzxlR/LJL7dBDlVMKLNKVRLixI7pd9haALy1m0gciM 9sRk/QM9h+/J7yO6pSL7HBar7PT/Eh1mIBEWWcvnl49xBpatABNTrxsJghwJ1JO63F/3Zb pHTHB8nSCM03RSNCVr5pXEuVJ1h73HsLH5m1URXj/ugaACmzFhIiBN8RiulRDQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="hdmciB2/"; dmarc=pass (policy=none) header.from=posteo.net; 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: -4.01 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="hdmciB2/"; dmarc=pass (policy=none) header.from=posteo.net; 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: AC64A2942E X-Spam-Score: -4.01 X-Migadu-Scanner: scn1.migadu.com X-TUID: cxQK5VSKC5Sx M. Pger writes: > Thank you for your answer. > >> Are you including citations in your letter? > > No, that's also why it is puzzling. You should be able to reproduce > the issue 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 `pdflatex` instead of `latexmk`. Hmm, it's weird. With your configuration I cannot reproduce the problem. Anyway, I have Org configured so that it doesn't load any package in the preamble. And if you directly compile the .tex file generated by org during export, does it also give you an error? Could you please paste the preamble of that tex file here, up to the \begin{document}? Best regards, Juan Manuel