From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: How to export casual letter without from and to address? Date: Sun, 06 Mar 2016 20:02:59 +0100 Message-ID: <871t7nig4c.fsf@gmx.us> References: <8737s56xom.fsf@ucl.ac.uk> <87k2lg69f8.fsf@ucl.ac.uk> <87twkkzori.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acdxS-0003kc-Bd for emacs-orgmode@gnu.org; Sun, 06 Mar 2016 14:03:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1acdxP-0006p2-4h for emacs-orgmode@gnu.org; Sun, 06 Mar 2016 14:03:14 -0500 Received: from plane.gmane.org ([80.91.229.3]:50158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acdxO-0006oU-Ue for emacs-orgmode@gnu.org; Sun, 06 Mar 2016 14:03:11 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1acdxJ-0003JX-Eh for emacs-orgmode@gnu.org; Sun, 06 Mar 2016 20:03:05 +0100 Received: from 178.162.199.93 ([178.162.199.93]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Mar 2016 20:03:05 +0100 Received: from rasmus by 178.162.199.93 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Mar 2016 20:03:05 +0100 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: emacs-orgmode@gnu.org Marcin Borkowski writes: > On 2016-03-05, at 19:56, Eric S Fraga wrote: > >> On Saturday, 5 Mar 2016 at 10:47, York Zhao wrote: >>>> Why use a letter exporter (koma?) if you don't want something that looks like >>>> a letter? >>> >>> I wanted it to be a letter in all aspects, except that it doesn't have the "from >>> address" and "to address" in the header. More specifically, I want my letter >>> looks like: >>> >>> Hi Flora, >>> >>> Blah blah blah! >>> >>> Regards, >>> >>> York >>> >>>> simply write it as a normal org document and export it to pdf or odt or >>>> whatever you wish to send. >>> >>> The problem is, it seems to me that to export to pdf, LaTeX export is the only >>> way to go. But then you would have to choose a document class. Obviously you >>> can't use "article", nor "book". So my question may probably rephrase as: which >>> latex document class do you use to export the letter "as is"? >> >> Ah, okay, I see. Well, you could try something along the lines of: >> >> #+begin_src org >> ,#+title: >> ,#+author: >> ,#+date: >> ,#+options: toc:nil num:nil >> ,* >> Hi Flora >> >> Blah blah blah! >> >> Regards, >> >> # leave some room for signature >> \vspace*{1.5cm} >> >> York >> #+end_src >> >> where the headline has a space after the "*". You might want to play >> with parindent and parskip LaTeX variables if you don't like the >> default. >> >> Alternatively, there may be other LaTeX styles that could give you what >> you want with a little customisation although probably unlikely. For >> instance, have a look at http://www.latextemplates.com/ and maybe create >> your own using the custom class example? > > You could also stick something like > > \let\maketitle=\relax This only works in latex. A backend-agnostic solution could be: #+options: title:nil Though maybe it's undesirable in some other aspect. Rasmus -- May the Force be with you