From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: keep newlines on pdf export Date: Mon, 14 Dec 2009 08:49:36 +0100 Message-ID: <2CCF10F4-2EA4-4F37-BC4E-634F2DEB83F9@gmail.com> References: <1bcd1ad60912121704s1cfd465dh95b942c2be78d30a@mail.gmail.com> <752.1260762052@gamaville.dokosmarshall.org> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NK5gh-0000IF-HS for emacs-orgmode@gnu.org; Mon, 14 Dec 2009 02:49:47 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NK5gc-0000HZ-Pl for emacs-orgmode@gnu.org; Mon, 14 Dec 2009 02:49:46 -0500 Received: from [199.232.76.173] (port=40831 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NK5gc-0000HW-Kd for emacs-orgmode@gnu.org; Mon, 14 Dec 2009 02:49:42 -0500 Received: from mx20.gnu.org ([199.232.41.8]:47436) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NK5gb-00049j-SP for emacs-orgmode@gnu.org; Mon, 14 Dec 2009 02:49:42 -0500 Received: from mail-ew0-f224.google.com ([209.85.219.224]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NK5ga-0000mu-TT for emacs-orgmode@gnu.org; Mon, 14 Dec 2009 02:49:41 -0500 Received: by ewy24 with SMTP id 24so3224613ewy.26 for ; Sun, 13 Dec 2009 23:49:39 -0800 (PST) In-Reply-To: <752.1260762052@gamaville.dokosmarshall.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: Eraldo Helal , Org-Mode On Dec 14, 2009, at 4:40 AM, Nick Dokos wrote: > Eraldo Helal wrote: > >> When I export an org file like the following to pdf: >> test.org >>> line1 >>> line2 >>> line3 >> >> what I get is: >> test.pdf >>> line1 line2 line3 >> >> however, I would like to get the following in the pdf: >> test.pdf >>> line1 >>> line2 >>> line3 >> >> How can I get pdf export to keep my org newlines? >> Remark: I do have "\n:t" set in my options line. >> > > Not sure whether this actually went in or not: see > > http://thread.gmane.org/gmane.emacs.orgmode/18823 We went in and out of this idea. For a while, "#+OPTIONS: \n:t" did enter a \obeylines into the LaTeX output, but that turned out to be not reliable, http://thread.gmane.org/gmane.emacs.orgmode/18823/focus=18867 so I removed that again. But the hack you show below surely will work in that limited sense. - Carsten > > Also I messed up the syntax of obeylines before - it should > look like this: > > #+LATEX: {\obeylines %} > line1 > line2 > line3 > #+LATEX: } > > Nick > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten