From: Thibault Polge <thibault@thb.lt>
To: emacs-orgmode@gnu.org
Subject: [BUG] A commented line breaks line numbering [9.6-pre (release_9.5.5-1058-g6ef33b @ /home/thblt/.emacs.d/lib/org/lisp/)]
Date: Mon, 14 Nov 2022 12:51:38 +0100 [thread overview]
Message-ID: <877czx7nzp.fsf@thb.lt> (raw)
Hello,
With org 9.6-pre, a commented out line breaks list numbering (even with
`org-list-repair`), and effectively breaks a list in two distinct lists
in exporters. Eg:
1. Item 1
2. Item 2
# 3. Commented out item 3
1. Reset counter?
At "Reset counter?", HTML export opens a new <ol> there, LaTex a new
\begin{enumerate}
This may be expected behavior --- it's present in Pandoc as well --- but
it's surprising, since I'd expect a comment line to be fully ignored
from the comment marker to the final \n, inclusive. I'd thus expect the
above example to be perfectly equivalent to:
1. Item 1
2. Item 2
3. Reset counter?
And to export as a single <ol>/enumerate.
Regards,
Thibault
next reply other threads:[~2022-11-15 0:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-14 11:51 Thibault Polge [this message]
2022-11-15 1:51 ` [BUG] A commented line breaks line numbering [9.6-pre (release_9.5.5-1058-g6ef33b @ /home/thblt/.emacs.d/lib/org/lisp/)] Ihor Radchenko
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=877czx7nzp.fsf@thb.lt \
--to=thibault@thb.lt \
--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).