[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error org export to pdf when latex letter class has been added to or
From: |
M. Pger |
Subject: |
Re: error org export to pdf when latex letter class has been added to org-latex-classes |
Date: |
Tue, 13 Sep 2022 19:59:31 +0000 |
Hi,
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`.
Best,
M
------- Original Message -------
On Tuesday, September 13th, 2022 at 7:55 PM, Juan Manuel Macías
<maciaschain@posteo.net> wrote:
> Hi,
>
> M. Pger writes:
>
> > (/usr/share/texlive/texmf-dist/tex/latex/natbib/natbib.sty
> >
> > ! LaTeX Error: Environment thebibliography undefined.
> >
> > See the LaTeX manual or LaTeX Companion for explanation.
> > Type H <return> for immediate help.
> > ...
> >
> > l.1063 \renewenvironment{thebibliography}
> > [1]{%
> > ?
> > ! Emergency stop.
> > ...
> >
> > l.1063 \renewenvironment{thebibliography}
> > [1]{%
> > ! ==> Fatal error occurred, no output PDF file produced!
>
>
> Are you including citations in your letter? Maybe this is related:
> https://latex.org/forum/viewtopic.php?f=4&t=3359
>
> Best regards,
>
> Juan Manuel
>
> --
> --
> ------------------------------------------------------
> Juan Manuel Macías
>
> https://juanmanuelmacias.com
>
> https://lunotipia.juanmanuelmacias.com
>
> https://gnutas.juanmanuelmacias.com