emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <esflists@gmail.com>
To: Mohamed Zaki <mzaki77@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Fwd: Org mode latex export with "Letter" Class
Date: Mon, 13 Nov 2017 09:17:41 +0000	[thread overview]
Message-ID: <87po8ma66i.fsf@gmail.com> (raw)
In-Reply-To: <CAPwP6Q5J2TfnDeHDVmRyvgO3qYqdQ3uLvqZRSOCs6FUZXX1yyw@mail.gmail.com> (Mohamed Zaki's message of "Sun, 12 Nov 2017 14:34:04 -0800")

[-- Attachment #1: Type: text/plain, Size: 773 bytes --]

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 
    \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...

-- 
: Eric S Fraga via Emacs 27.0.50, Org release_9.1.2-155-gf474c7

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 194 bytes --]

      reply	other threads:[~2017-11-13  9:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAPwP6Q7+MtxcLcW_TdKin1aOckQ86cigaXoe7W-0niK4HFyfFA@mail.gmail.com>
2017-11-12 22:34 ` Fwd: Org mode latex export with "Letter" Class Mohamed Zaki
2017-11-13  9:17   ` Eric S Fraga [this message]

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=87po8ma66i.fsf@gmail.com \
    --to=esflists@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mzaki77@gmail.com \
    /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).