emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Possible bug: List items with * in them when *:nil


From: Bastien
Subject: Re: [O] Possible bug: List items with * in them when *:nil
Date: Mon, 30 Jan 2012 07:42:52 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

Hi Jonathan,

Jonathan Leech-Pepin <address@hidden> writes:

> The following sample org file does not export as possibly expected.
>
> ,-------------------------------------------
> | #+TITLE: Bug?
> | #+OPTIONS: *:nil toc:nil author:nil
> |
> | - hello (*) I would like to have two items
> | - may (*) I please?
> `-------------------------------------------
>
> Instead of the two items being listed with (*) as a part of their
> items they are placed on a single line as though they were still
> being
> wrapped in bold tags. I tested this further and it occurs in LaTeX,
> HTML and ODT exports. ASCII does the right thing and exports it as
> two list items.

The *:nil option is not the problem here.

The problem comes from the fact that the * in (*) actually _do_
emphasize the text (it is in bold font in the buffer).  Given that, the
exporter does its best, which is not very good.

The bug here is to allow multiline fontification over distinct list
items -- we'll try to fix it, but that's a rather complex issue.

On top of the workaround above, have a look at
`org-emphasis-regexp-components', thru which you can prevent parentheses
as post/pre-characters in a fontified string.

HTH,

PS: FWIW, I also sent this reply to StackOverflow, thanks for 
forwarding questions from there to here!

-- 
 Bastien



reply via email to

[Prev in Thread] Current Thread [Next in Thread]