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: Thu, 13 Dec 2012 12:17:50 -0800	[thread overview]
Message-ID: <86hanpln9t.fsf@gmail.com> (raw)
In-Reply-To: <87d2yep0zt.fsf@gmail.com> (Nicolas Goaziou's message of "Thu, 13 Dec 2012 13:53:10 +0100")

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

> David Rogers <davidandrewrogers@gmail.com> writes:
>
>>> 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.
>
> You have to update Org. I fixed it yesterday (shortly before answering
> your message)

Thank you! You (and many who work on Org) have this very nice habit -
when you see that something in Org is broken, you mostly just go and fix
it. I appreciate the work that all of you do.

>
>>> 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.

So now I know about #+OPTIONS: \n:t , and also the new exporter should
just do it correctly anyway, since you fixed it? Perfect. Thanks again
for your help.

-- 
David

      reply	other threads:[~2012-12-13 20:17 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
2012-12-13 12:53     ` Nicolas Goaziou
2012-12-13 20:17       ` David Rogers [this message]

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=86hanpln9t.fsf@gmail.com \
    --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).