emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Diego Zamboni <diego@zzamboni.org>
To: Eric Abrahamsen <eric@ericabrahamsen.net>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: Paragraph consisting only of number and full stop disappears in export
Date: Mon, 5 Mar 2018 16:02:06 +0100	[thread overview]
Message-ID: <CAGY83EcKxRvUwxiZmy-5d7KJET2=wAvp3FOQY5G4uLzZOBrZ9w@mail.gmail.com> (raw)
In-Reply-To: <87y3j7trzu.fsf@ericabrahamsen.net>

[-- Attachment #1: Type: text/plain, Size: 1262 bytes --]

Hi Eric,

I found out that adding any non-space character after the dot prevents org
from interpreting it as a list. In particular, adding a non-breaking-space
entity at the end of the line works, like this: "300.\nbsp"

Maybe other punctuations would also work and make sense in the context of
your document- see `org-entities-help` for the full list of available
entities.

--Diego


On Sun, Mar 4, 2018 at 11:07 PM, Eric Abrahamsen <eric@ericabrahamsen.net>
wrote:

> Hi,
>
> I just discovered that a paragraph disappeared from a subtree I was
> exporting, I guess because the paragraph consists of just a number
> followed by a full stop, and was interpreted as a list item. I'm
> translating subtitles, and the dialogue went:
>
> #+begin_src org
> There are no taxis, but I've got a car.
>
> How much to Dongying?
>
> 300.
>
> We can be there 10am tomorrow.
> #+end_src
>
> I'm not surprised that "300." got interpreted as a list item, but I
> wonder if there's a way to protect against it being removed altogether.
> I suppose it might be nice if a single list item with no content would
> be interpreted as a paragraph, but that probably opens the door to all
> kinds of weird edge cases. If there were just a way to escape it...
>
> Thanks,
> Eric
>
>
>

[-- Attachment #2: Type: text/html, Size: 1770 bytes --]

  parent reply	other threads:[~2018-03-05 15:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-04 22:07 Paragraph consisting only of number and full stop disappears in export Eric Abrahamsen
2018-03-05  1:13 ` Samuel Wales
2018-03-05  1:43   ` Eric Abrahamsen
2018-03-05  2:44     ` Samuel Wales
2018-03-05 17:49       ` Eric Abrahamsen
2018-03-05  7:19 ` Eric S Fraga
2018-03-05 13:04 ` Nicolas Goaziou
2018-03-05 15:02 ` Diego Zamboni [this message]
2018-03-05 17:50 ` Eric Abrahamsen

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='CAGY83EcKxRvUwxiZmy-5d7KJET2=wAvp3FOQY5G4uLzZOBrZ9w@mail.gmail.com' \
    --to=diego@zzamboni.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=eric@ericabrahamsen.net \
    /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).