From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 +KzQNCrVImOlZwAAbAwnHQ (envelope-from ) for ; Thu, 15 Sep 2022 09:32:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kDcdNCrVImOTIAEAG6o9tA (envelope-from ) for ; Thu, 15 Sep 2022 09:32:58 +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 68DE71FBB7 for ; Thu, 15 Sep 2022 09:32:58 +0200 (CEST) Received: from localhost ([::1]:38134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYjMn-0005KB-Ap for larch@yhetil.org; Thu, 15 Sep 2022 03:32:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47898) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYiyB-0001GW-9N for emacs-orgmode@gnu.org; Thu, 15 Sep 2022 03:07:32 -0400 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]:33461) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oYiy9-00017O-5N for emacs-orgmode@gnu.org; Thu, 15 Sep 2022 03:07:30 -0400 Received: by mail-ej1-x62d.google.com with SMTP id lc7so40024815ejb.0 for ; Thu, 15 Sep 2022 00:07:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date; bh=S3W8DjWd/0kzInOEBPvLAo+0FuyLjRPNo1G7jgY5yIs=; b=R/7QQ3ywQl+uE+TMo+aY1IQJLj2dESJw8uPq4eir+15ZWlsbLSWWX65fIFfUgfowkN 9da6Mf/8O4+Rij7GZ9FV8kxtBxkaXpyJ/UQeMztLtPwxtZqZlpPa8y2TS2xE1WAoxSEF 6DKpufeZ5vnzg5gZtqJ6g65WRv15tLfURvKXRSJ7rJkrlRbhOtb0LjZapPF0Ba0Yh4Xp 32TJGk/ULysRc3YTMV5CElGNx+Thsku4JkFWP46J1fJZauG0/IA9rWd0yPZI4yzcL5Uv /WqaigfGdFvUeVW46GW6JgEvSrYVd/WogEm2IcZR73irG6dY58I4G9w2DbjEphlvpWmx aJ6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date; bh=S3W8DjWd/0kzInOEBPvLAo+0FuyLjRPNo1G7jgY5yIs=; b=KQ1kMjFMayBkAS0itkQvgvMYGGGkCEamBfnpCttQJaI4vHg6Z1cpUF2lcuYoximcwA yaVNmWMwF3+FkYI3CspaLISjidJeSo/ZMrwPlwWRutclO/AUsyMgHkXjWhRuNg2HvA3u aCJHHOFSRNn1IxthmY0Q8acD9zUQ5n6mHdR7lr5ACnBJewUCOE9US5Fl4kZ0ZKBv+UVk EP56efOpg+aR/7qlNqKMPH895XcBmDDiTVjROI+oFrJje78tqg1AFBi06/AgMrOol2Rp bSAiArM0cE6C34gIdj6a+Ny9QvQx1lUk6XwPbIHl/0jZaOvZWD7jqSj/oZmYtDcj8nFQ kqEQ== X-Gm-Message-State: ACgBeo2/EeuFw8DJzpMIi0fjq+QL3xOLU+swmwcuwKUbNIfJ60KdrK3v 9Q5ODEzIRFe0eZAGekfXOfg1dZj/yx0vpFsAv7X3cmTdROU= X-Google-Smtp-Source: AA6agR6nvyfby2WbbhH3aRGLlAJDSjakIO0KGAONcTgm4WFVgwOrBsNYDODl6m4k8HvIgYMjwB1Bn+RKUg6+S2fsBDM= X-Received: by 2002:a17:906:5a6b:b0:73c:c9ee:8b5c with SMTP id my43-20020a1709065a6b00b0073cc9ee8b5cmr27500116ejc.310.1663225646519; Thu, 15 Sep 2022 00:07:26 -0700 (PDT) MIME-Version: 1.0 From: Pedro Andres Aranda Gutierrez Date: Thu, 15 Sep 2022 09:07:00 +0200 Message-ID: Subject: Re: error org export to pdf when latex letter class has been added to org-latex-classes To: Org Mode List Content-Type: multipart/alternative; boundary="000000000000d79ba805e8b1e581" Received-SPF: pass client-ip=2a00:1450:4864:20::62d; envelope-from=paaguti@gmail.com; helo=mail-ej1-x62d.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=1663227178; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=S3W8DjWd/0kzInOEBPvLAo+0FuyLjRPNo1G7jgY5yIs=; b=hZ5YiG9BVUTTaCs6k2iBGg0ESNZwnOSn31HR9Q5KFRoCjsb5VyxobJApzEqixYFnthRByI lov26raTdfg7LY/EI2IDeuVKLpqq1DdhAFHTzQQgHmh+QiyzSd39YJMIuMtmSP/CkIYqMe ffnR28IxV8oy7CAgs8dqz1L6A0N0t3Vmz1guj76YGDvCCl+rRMsv0b1JtYFpnzcXMg6NgC KiRAxAf8+sKqtJH2pH3kY50bAciFZqD6T3C/61YmQR7/XZ6x2OTpTwEsiiUJ6SMqrt8gMA yXcBKKpV07KPN1bjcqkKmTuxBntUkNtMS9bR2ryKuoekgCezKEHKsNo3rP1Sgw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663227178; a=rsa-sha256; cv=none; b=OzAjwUk26YLknz279+c5INpkYNOnl+zV4gAP95+3d8ylogeA2wEuT2obmVLO7dB8az9gEX n/DoJOdy7dNyvBWseQgYd2LMZLAgWaSp8VqqjWELYIfxTY/i5aAHHgxOP5XYJWLIuKwsNz na1r8ep8WY5CoUhbxdu+BdRVSlx+lbVAmsUY/uP+gR/wWwau9SV+H1lmRpjXFz9qIUo/sX tZUh6rSkqjMiExLRKuR+gT7z8wXVvMD+MPBoZcEhJePyn10wY1G6Ac/ac69OQjn+X6dOJK bXwbcZL500n4IiQVoRYXW/a7HCq6QxpvS8BmxmtZ8pLOU3cNuwI0ize7qllgSA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="R/7QQ3yw"; dmarc=pass (policy=none) header.from=gmail.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: -2.83 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="R/7QQ3yw"; dmarc=pass (policy=none) header.from=gmail.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: 68DE71FBB7 X-Spam-Score: -2.83 X-Migadu-Scanner: scn1.migadu.com X-TUID: z/SxgDNLruWA --000000000000d79ba805e8b1e581 Content-Type: text/plain; charset="UTF-8" Hi, for what it may help... my emacs version: GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2022-09-12 Adding #+OPTIONS: toc:nil to your MWE I have this small file to export to latex: ``` (require 'org) (require 'ox-latex) (eval-after-load "org" (progn ;; Add KOMA script based books (add-to-list 'org-latex-classes '("letter" "\\documentclass{letter}")) (setq org-latex-pdf-process '("latexmk -bibtex -f %f") org-babel-python-command "python3"))) ``` And I use it as: ``` emacs -Q --batch test.org -l org-export.el -f org-latex-export-to-pdf ``` And I see no errors... Maybe you could try from here and start stripping things further from it to narrow the problem Hope it helps... /PedroAAranda -- Fragen sind nicht da um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler Headaches with a Juju log: unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet --000000000000d79ba805e8b1e581 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

for what it ma= y help...

my emacs version:

GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.= 20, cairo version 1.16.0)
=C2=A0of 2022-09-12
Adding
#+OPTIONS: toc:nil
to your MWE
=

I have this small file to export to latex:
``= `
(require 'org)
(require 'ox-latex)
=

(eval-after-load "org"
=C2=A0 (prog= n
=C2=A0 =C2=A0 ;; Add KOMA script based books
=C2=A0 = =C2=A0 (add-to-list 'org-latex-classes
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0'("letter"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"= ;\\documentclass{letter}"))

=C2=A0 =C2=A0 (se= tq org-latex-pdf-process '("latexmk -bibtex -f %f")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 org-babel-python-command "python3&= quot;)))

```
And I use it as:

```
emacs -Q --batch test.org -l org-export.el -f=C2=A0org-latex-export-to-pdf
```

And I see no errors...=C2=A0
<= br>
Maybe you could try from here and start stripping things furt= her from it to narrow the problem

Hope it helps...= =C2=A0
/PedroAAranda
--
Fragen sind nic= ht da um beantwortet zu werden,
Fragen sind da um gestellt zu werd= en
Georg Kreisler

Headaches with a Juju l= og:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation = we should run a leader-deposed hook here, but we can't yet

--000000000000d79ba805e8b1e581--