From: York Zhao <gtdplatform@gmail.com>
To: Rasmus <rasmus@gmx.us>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: How to export casual letter without from and to address?
Date: Sun, 6 Mar 2016 20:11:40 -0500 [thread overview]
Message-ID: <CAD3zm211-89DFjUd1bbRTxshQH8+UV8Wv94aV3uSF9Ztdz4vgw@mail.gmail.com> (raw)
In-Reply-To: <87wppfh1hw.fsf@gmx.us>
Thank you very much Eric S Fraga, H. Dieter Wilhelm, Marcin Borkowski, Nick
Dokos and Rasmus for helping me with this! I finally took Nick Dokos's approach,
and solved the problem! Here's what I did that worked:
1. In my .emacs, I added:
#+BEGIN_SRC emacs-lisp
(add-to-list 'org-latex-classes
'("letter" "\\documentclass[12pt]{letter}
\\usepackage{fullpage}
\\usepackage{setspace}"))
#+END_SRC
2. In org-mode buffer, I had the following: \\
* Letter to Flora on 2016-03-05
:PROPERTIES:
:EXPORT_LATEX_CLASS: letter
:EXPORT_LATEX_HEADER: \signature{York}
:EXPORT_DATE: 2016-03-05 Saturday
:EXPORT_OPTIONS: title:nil toc:nil
:END:
\begin{letter}{}
\opening{Hi Flora,\\}
Blah blah blah!
\closing{Regards,}
\end{letter}
3. C-c C-e l o exporting to PDF
4. Print out the PDF file
Thanks again,\\
York
On Sun, Mar 6, 2016 at 2:04 PM, Rasmus <rasmus@gmx.us> wrote:
> York Zhao <gtdplatform@gmail.com> writes:
>
>> Hi list,
>>
>> I've been wondering for a while that when using org-mode to write letters, how
>> do you export casual a letter that doesn't have from address and to address?
>
> If you really, really want to use ox-koma-letter couldn't you just set the
> addresses to @@latex:\mbox{}@@ or something similar?
>
> I think a better solution is just to use ox-latex.
>
> Rasmus
>
> --
> Dobbelt-A
>
>
next prev parent reply other threads:[~2016-03-07 1:11 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-04 5:12 How to export casual letter without from and to address? York Zhao
2016-03-05 3:36 ` York Zhao
2016-03-05 10:12 ` Eric S Fraga
2016-03-05 11:22 ` H. Dieter Wilhelm
2016-03-05 15:57 ` York Zhao
2016-03-06 10:38 ` H. Dieter Wilhelm
2016-03-05 15:47 ` York Zhao
2016-03-05 17:33 ` Marcin Borkowski
2016-03-05 18:56 ` Eric S Fraga
2016-03-05 19:52 ` Marcin Borkowski
2016-03-06 19:02 ` Rasmus
2016-03-06 3:15 ` Nick Dokos
2016-03-06 19:04 ` Rasmus
2016-03-07 1:11 ` York Zhao [this message]
2016-03-24 12:32 ` rbenit68
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAD3zm211-89DFjUd1bbRTxshQH8+UV8Wv94aV3uSF9Ztdz4vgw@mail.gmail.com \
--to=gtdplatform@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=rasmus@gmx.us \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.