From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bill Powell Subject: Re: keep newlines on pdf export Date: Mon, 14 Dec 2009 10:18:53 -0500 Message-ID: <874ontmvmq.wl%bill@billpowellisalive.com> References: <1bcd1ad60912121704s1cfd465dh95b942c2be78d30a@mail.gmail.com> <31640.1260728511@gamaville.dokosmarshall.org> <1bcd1ad60912131251t38ac84d7g9a480828a135d68f@mail.gmail.com> <1bcd1ad60912131253h6112b77bp24c9a873638469c7@mail.gmail.com> <32418.1260747778@gamaville.dokosmarshall.org> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NKCdl-0004k6-NN for emacs-orgmode@gnu.org; Mon, 14 Dec 2009 10:15:13 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NKCdg-0004gr-Fg for emacs-orgmode@gnu.org; Mon, 14 Dec 2009 10:15:12 -0500 Received: from [199.232.76.173] (port=41200 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NKCdg-0004gR-3u for emacs-orgmode@gnu.org; Mon, 14 Dec 2009 10:15:08 -0500 Received: from billpowellisalive.com ([206.130.115.110]:42278) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NKCdf-0000yK-LM for emacs-orgmode@gnu.org; Mon, 14 Dec 2009 10:15:07 -0500 In-Reply-To: <32418.1260747778@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 At Sun, 13 Dec 2009 18:42:58 -0500, Nick Dokos wrote: > > Eraldo Helal wrote: > > > One other reason behind this is that I can not export my document to > > html anymore after I added "\\" at the end of every line... well I can > > but it does not look the way I want it to be. =] > > > > The \obeylines method should not affect the HTML export. > > Nick Hi folks, I also have been using the \obeylines technique. But it seems a bit crufty. I do lots of work in LaTeX, so I have a sense of the perils involved in LaTeX linebreaking. Unfortunately, I have zero experience with elisp, so I can't tackle this (yet). The problem with the \obeylines hack is that if it's not properly closed with a final bracket, your file breaks. But how do you keep this final bracket in place? You can't move headlines around with the usual reckless abandon, because there's no way (that I know of) to keep that final bracket locked at the end of your text file. Unless you want to enter an \obeylines within every headline ... So I would give a +1 to \n:t giving at least rudimentary linebreak support for PDF export, rather than silently failing. As someone who regularly has to export the same file to both HTML and PDF, I would rather have an option that works 90% of the time and sometimes requires an arcane LaTeX fix (and is documented as such), than /always/ have to use an arcane LaTeX fix. Thanks, Bill Powell