emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Rogers <davidandrewrogers@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [new exporter] ASCII export, single newline
Date: Wed, 12 Dec 2012 23:30:08 -0800	[thread overview]
Message-ID: <86mwxil88v.fsf@davidrogersmusic.ca> (raw)
In-Reply-To: 87ehiurkhh.fsf@gmail.com

Nicolas Goaziou <n.goaziou@gmail.com> writes:

> Hello,
>
> David Rogers <davidandrewrogers@gmail.com> 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

  parent reply	other threads:[~2012-12-13  7:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-12 18:26 [new exporter] ASCII export, single newline David Rogers
2012-12-12 22:09 ` Nicolas Goaziou
2012-12-12 23:21   ` David Rogers
2012-12-13  7:30   ` David Rogers [this message]
2012-12-13 12:53     ` Nicolas Goaziou
2012-12-13 20:17       ` David Rogers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86mwxil88v.fsf@davidrogersmusic.ca \
    --to=davidandrewrogers@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).