From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Fwd: Org mode latex export with "Letter" Class Date: Mon, 13 Nov 2017 09:17:41 +0000 Message-ID: <87po8ma66i.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59872) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eEAsF-0002xF-Vt for emacs-orgmode@gnu.org; Mon, 13 Nov 2017 04:17:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eEAsC-0004b7-R8 for emacs-orgmode@gnu.org; Mon, 13 Nov 2017 04:17:47 -0500 Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]:53361) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eEAsC-0004aM-KE for emacs-orgmode@gnu.org; Mon, 13 Nov 2017 04:17:44 -0500 Received: by mail-wm0-x230.google.com with SMTP id g141so13565879wmg.2 for ; Mon, 13 Nov 2017 01:17:44 -0800 (PST) In-Reply-To: (Mohamed Zaki's message of "Sun, 12 Nov 2017 14:34:04 -0800") 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: Mohamed Zaki Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sunday, 12 Nov 2017 at 14:34, Mohamed Zaki wrote: > Hi > > I am trying to export an org file to latex using the org-mode version > 9.1.2. The input file structure is: You could try: #+LaTeX_CLASS: LTR #+options: toc:nil #+attr_latex: :options {To somebody \\ Somewhere \\ Planet Earth} #+begin_letter=20 \opening{Dear Sir/Madam,} Some text \closing{Thank you,} #+end_letter but note that the entry you have defined for the LTR org latex class is incorrect as it is not intended for defining blocks. So long as you don't use any headings, the above will work (or does for me). In any case, I would recommend using ox-koma-letter instead... =2D-=20 : Eric S Fraga via Emacs 27.0.50, Org release_9.1.2-155-gf474c7 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSPXCedOQfhSlwpVw3IkZPY//z2fQUCWgljNQAKCRDIkZPY//z2 fSIbAJ4n8hLHos6/A7923fStCDXhijY9wACfVlAAk5W6YwcxSjwmngfl6+ffwmE= =OUHI -----END PGP SIGNATURE----- --=-=-=--