From: Jonathan Leech-Pepin <jonathan.leechpepin@gmail.com>
To: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: Possible bug: List items with * in them when *:nil
Date: Sun, 29 Jan 2012 13:24:03 -0500 [thread overview]
Message-ID: <CAEWDx5fTu0RvNGiNSHz+V1eu+BvbPM+i+ONJL=Z8KMtwE8_L=w@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1556 bytes --]
The following question came up on Stack Overflow:
http://stackoverflow.com/questions/9051330/possible-bug-in-org-mode-export-of-item-with
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.
HTML:
,----------------------------------------------------------------------
| <ul>
| <li>hello (*) I would like to have two items - may (*) I please?
| </li>
| </ul>
`----------------------------------------------------------------------
LaTeX:
,-------------------------------------------------------------------
| \begin{itemize}
| \item hello (*) I would like to have two items - may (*) I please?
| \end{itemize}
`-------------------------------------------------------------------
Is this the expected behaviour when *:nil is set on export? I know
you can simply escape the *'s as \* to get the desired result (both
with and without *:nil). However it does seem odd to me that it will
insert the *s as expected in the export, while at the same time keep
the text wrapping that *[...]* creates for bold-face purposes.
Regards,
Jonathan
[-- Attachment #2: Type: text/html, Size: 2261 bytes --]
next reply other threads:[~2012-01-29 18:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-29 18:24 Jonathan Leech-Pepin [this message]
2012-01-30 6:42 ` Possible bug: List items with * in them when *:nil Bastien
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='CAEWDx5fTu0RvNGiNSHz+V1eu+BvbPM+i+ONJL=Z8KMtwE8_L=w@mail.gmail.com' \
--to=jonathan.leechpepin@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).