From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Rogers Subject: Re: [new exporter] ASCII export, single newline Date: Wed, 12 Dec 2012 23:30:08 -0800 Message-ID: <86mwxil88v.fsf@davidrogersmusic.ca> References: <868v935dpl.fsf@gmail.com> <87ehiurkhh.fsf@gmail.com> Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39889) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tj3FG-0000cZ-Da for emacs-orgmode@gnu.org; Thu, 13 Dec 2012 02:30:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tj3FE-0004Ar-2G for emacs-orgmode@gnu.org; Thu, 13 Dec 2012 02:30:14 -0500 Received: from mail-da0-f41.google.com ([209.85.210.41]:43853) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tj3FD-0004Aa-Ki for emacs-orgmode@gnu.org; Thu, 13 Dec 2012 02:30:11 -0500 Received: by mail-da0-f41.google.com with SMTP id e20so611903dak.0 for ; Wed, 12 Dec 2012 23:30:10 -0800 (PST) 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: emacs-orgmode@gnu.org Nicolas Goaziou writes: > Hello, > > 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. > 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.) -- David