From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [new exporter] ASCII export, single newline Date: Thu, 13 Dec 2012 13:53:10 +0100 Message-ID: <87d2yep0zt.fsf@gmail.com> References: <868v935dpl.fsf@gmail.com> <87ehiurkhh.fsf@gmail.com> <86mwxil88v.fsf@davidrogersmusic.ca> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33051) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tj8Lq-0003J2-Mg for emacs-orgmode@gnu.org; Thu, 13 Dec 2012 07:57:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tj8Lo-0004Ks-Ho for emacs-orgmode@gnu.org; Thu, 13 Dec 2012 07:57:22 -0500 Received: from mail-wg0-f51.google.com ([74.125.82.51]:52960) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tj8Lo-0004Kl-Ba for emacs-orgmode@gnu.org; Thu, 13 Dec 2012 07:57:20 -0500 Received: by mail-wg0-f51.google.com with SMTP id gg4so793380wgb.30 for ; Thu, 13 Dec 2012 04:57:19 -0800 (PST) In-Reply-To: <86mwxil88v.fsf@davidrogersmusic.ca> (David Rogers's message of "Wed, 12 Dec 2012 23:30:08 -0800") 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: David Rogers Cc: emacs-orgmode@gnu.org David Rogers writes: >> David Rogers writes: >> >>> My plain-text notes, however, often contain single newlines, which I'd >>> like to retain. The new ASCII exporter converts them to spaces. If I put >>> double newlines in the original, then the exporter doesn't convert >>> anything, and leaves them double. I'm glad to format my originals in any >>> way that works - my aim is only to get single newlines into the finished >>> export. Is there an easy way to do that? >> >> IIUC, you want line breaks. I.e: >> >> Some line \\ >> Some other line. > > Exporting the double backslash adds an extra blank line, which I don't > want. You have to update Org. I fixed it yesterday (shortly before answering your message) >> If you want a line break on every line, use #+OPTIONS: \n:t > > This gave me exactly what I was looking for, thank you. My line breaks are > preserved, but no new ones are added. > > (The old ASCII exporter preserved line breaks, without using any OPTIONS.) The old ASCII exporter didn't format paragraphs properly. Regards, -- Nicolas Goaziou