From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mohamed Zaki Subject: Fwd: Org mode latex export with "Letter" Class Date: Sun, 12 Nov 2017 14:34:04 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a1137a7a0bd369f055dd0c29b" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60050) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eE0pz-0001If-6j for emacs-orgmode@gnu.org; Sun, 12 Nov 2017 17:34:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eE0py-00036V-BJ for emacs-orgmode@gnu.org; Sun, 12 Nov 2017 17:34:47 -0500 Received: from mail-oi0-x231.google.com ([2607:f8b0:4003:c06::231]:51151) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eE0py-000366-5r for emacs-orgmode@gnu.org; Sun, 12 Nov 2017 17:34:46 -0500 Received: by mail-oi0-x231.google.com with SMTP id l138so24422oib.7 for ; Sun, 12 Nov 2017 14:34:45 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --001a1137a7a0bd369f055dd0c29b Content-Type: text/plain; charset="UTF-8" Hi I am trying to export an org file to latex using the org-mode version 9.1.2. The input file structure is: #+LaTeX_CLASS: LTR * letter{} . . . \closing{Thank you,} Unfortunately, the compilation fails to generate the proper tex file The body of the tex file is missing. The output tex file is: \documentclass{letter} ... \begin{document} \begin{letter} letter\{\} \end{document} It seems that the exporter does not recognize the letter environment. I use auctex-11.89.5 and the .emacs file includes the following lines (require 'ox-latex) (with-eval-after-load 'ox-latex (add-to-list 'org-latex-classes '("LTR" "\\documentclass{letter}" ("\\begin{letter}" "\\end{letter}" "\\begin{letter}" "\\end{letter}")))) I've been using an older version of org-mode 7.x for many years and never had this problem. But i understand that the export code has changed. I appreciate your help M.Zaki --001a1137a7a0bd369f055dd0c29b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi

I am trying to export an org file to latex using the org-mode versi= on 9.1.2. The input file structure is:
#+LaTeX_CLASS: LTR
* letter{}
.
.<some text here>
.
\closing{Thank you,}=C2=A0

Unfo= rtunately, the compilation fails to generate the proper tex file
<= div>The body of the tex file is missing. The output tex file is:
=
\documentclass{letter}
...
\begin{document}

\begin{letter}
letter\{= \}
\end{document}

It seems that th= e exporter does not recognize the letter environment.

<= div>I use=C2=A0auctex-11.89.5 and the .emacs file includes the following li= nes

(require 'ox-latex)
(with-e= val-after-load 'ox-latex
(add-to-list 'org-latex-classes = '("LTR" "\\documentclass{letter}" ("\\begin{le= tter}" "\\end{letter}" "\\begin{letter}" "\\e= nd{letter}"))))

I've been using an = older version of org-mode 7.x for many years and never had this problem. Bu= t i understand that the export code has changed.
I appreciate you= r help
M.Zaki

--001a1137a7a0bd369f055dd0c29b--