From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Zhao Subject: Re: How to export casual letter without from and to address? Date: Sun, 6 Mar 2016 20:11:40 -0500 Message-ID: References: <87wppfh1hw.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58661) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acji2-00027Q-3s for emacs-orgmode@gnu.org; Sun, 06 Mar 2016 20:11:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1acji1-0002Ao-5a for emacs-orgmode@gnu.org; Sun, 06 Mar 2016 20:11:42 -0500 Received: from mail-oi0-x22b.google.com ([2607:f8b0:4003:c06::22b]:33629) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acji0-0002Ak-Vk for emacs-orgmode@gnu.org; Sun, 06 Mar 2016 20:11:41 -0500 Received: by mail-oi0-x22b.google.com with SMTP id d205so70288847oia.0 for ; Sun, 06 Mar 2016 17:11:40 -0800 (PST) In-Reply-To: <87wppfh1hw.fsf@gmx.us> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rasmus Cc: emacs-orgmode 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 wrote: > York Zhao 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 > >