On 02/06/2022 12:02, Phil Estival wrote:
Still, the writing experience is much improved
when comments are allowed inside paragraphs
without disrupting the publication, and this
definitely worth a few modifications.

There are at least a couple of workarounds for inline comments, however some care is required to not add a spurious blank line (I think, ox-latex should strip blank lines from paragraphs).

Maxim Nikulin. Re: Comments break up a paragraph when writing one-setence-per-line. Sun, 18 Jul 2021 15:21:39 +0700. https://list.orgmode.org/sd0oak$k5h$1...@ciao.gmane.io

#+macro: comment

Another test
{{{comment(some text
)}}} with macro comment.

or

Export snippets
@@c: a comment
@@ may be used with any non-existing backend name.


I believe that comments breaking paragraphs is an unnecessary pitfall. While comments are not passed to exporters there are should be no great problems besides users who rely on current behavior. I am unsure how many of them do it intentionally. Attributes and other keywords are more tricky case, but rather independent of comments.

Reply via email to