From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Differences html/pdf Date: Thu, 29 Oct 2009 10:20:46 +0100 Message-ID: <3FDDBBB3-5788-4690-A0E5-55C97244C9A9@gmail.com> References: <534212BF-E986-4F60-A4FB-BBD00DE08F0C@gmail.com> <877hufqyci.fsf@bzg.ath.cx> <8183.1256768605@alphaville.usa.hp.com> 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 1N3RBi-0007nY-LQ for emacs-orgmode@gnu.org; Thu, 29 Oct 2009 05:20:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N3RBd-0007l5-08 for emacs-orgmode@gnu.org; Thu, 29 Oct 2009 05:20:57 -0400 Received: from [199.232.76.173] (port=46991 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N3RBc-0007km-Gj for emacs-orgmode@gnu.org; Thu, 29 Oct 2009 05:20:52 -0400 Received: from mail-ew0-f228.google.com ([209.85.219.228]:44086) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N3RBc-0000Mu-6L for emacs-orgmode@gnu.org; Thu, 29 Oct 2009 05:20:52 -0400 Received: by ewy28 with SMTP id 28so318103ewy.42 for ; Thu, 29 Oct 2009 02:20:51 -0700 (PDT) In-Reply-To: <8183.1256768605@alphaville.usa.hp.com> 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: Bastien , emacs-orgmode@gnu.org, andrea Crotti On Oct 28, 2009, at 11:23 PM, Nick Dokos wrote: > 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. OK, this is pretty good, and I have added it to be inserted as a consequence of setting org-export-preserve-breaks. But I believe in complex documents there might be problems, so I would be interested in test results. Only then we will decide if this should stay in. - Carsten