From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Differences html/pdf Date: Wed, 28 Oct 2009 18:23:25 -0400 Message-ID: <8183.1256768605@alphaville.usa.hp.com> References: <534212BF-E986-4F60-A4FB-BBD00DE08F0C@gmail.com> <877hufqyci.fsf@bzg.ath.cx> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N3Gwl-0005gR-Vy for emacs-orgmode@gnu.org; Wed, 28 Oct 2009 18:24:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N3Gwh-0005Uz-42 for emacs-orgmode@gnu.org; Wed, 28 Oct 2009 18:24:51 -0400 Received: from [199.232.76.173] (port=57010 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N3Gwh-0005Un-0m for emacs-orgmode@gnu.org; Wed, 28 Oct 2009 18:24:47 -0400 Received: from g4t0017.houston.hp.com ([15.201.24.20]:4875) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N3Gwg-0001Fi-Hl for emacs-orgmode@gnu.org; Wed, 28 Oct 2009 18:24:46 -0400 In-Reply-To: Message from Bastien of "Thu, 29 Oct 2009 00:26:05 +0800." <877hufqyci.fsf@bzg.ath.cx> 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: Bastien Cc: emacs-orgmode@gnu.org, andrea Crotti , Carsten Dominik Bastien wrote: > Carsten Dominik writes: > > >> In the latex version they're not exported for some reasons... > > > > That is correct, we have not implemented keeping all line breaks in > > LaTeX. > > I've searched around a bit, and to my big surprise, I cannot find a > LaTeX package preserving line breaks. I understand such a function > doesn't come along nicely with the general LaTeX philosophy, but it > should be possible after all... > > Did anyone already tried to find such a package ? > Not a package, but there is \obeylines (plain TeX) that will preserve line breaks - e.g. Knuth[1] suggests that it be used for typesetting poetry: {\obeylines\smallskip Roses are red, \quad Violets are blue; Rhymes can be typeset \quad with boxes and glue. \smallskip} It apparently works by pretending that the newline is a \par token. Nick [1] Knuth, "The TeXbook", p. 94