From: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: error org export to pdf when latex letter class has been added to org-latex-classes
Date: Thu, 15 Sep 2022 09:07:00 +0200 [thread overview]
Message-ID: <CAO48Bk8WZebKEi=Aukf-pSDuhAUcJmquYW6EptNKU8YkL9kySg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1070 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 1993 bytes --]
next reply other threads:[~2022-09-15 7:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-15 7:07 Pedro Andres Aranda Gutierrez [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-09-13 15:54 error org export to pdf when latex letter class has been added to org-latex-classes M. Pger
2022-09-13 17:55 ` Juan Manuel Macías
2022-09-13 19:59 ` M. Pger
2022-09-13 20:15 ` Juan Manuel Macías
2022-09-14 2:53 ` Ihor Radchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAO48Bk8WZebKEi=Aukf-pSDuhAUcJmquYW6EptNKU8YkL9kySg@mail.gmail.com' \
--to=paaguti@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).