From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: Inlinetask at end of paragraph causes two paragraphs to merge [8.2.10 (8.2.10-41-g42228a-elpaplus @ /home/myq/.emacs.d/elpa/org-plus-contrib-20150601/)] Date: Mon, 08 Jun 2015 08:30:08 +0200 Message-ID: <877freogpb.fsf@nicolasgoaziou.fr> References: <87d217vn1b.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41460) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1qY6-0004Qd-Bi for emacs-orgmode@gnu.org; Mon, 08 Jun 2015 02:28:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z1qY5-0006Yi-E2 for emacs-orgmode@gnu.org; Mon, 08 Jun 2015 02:28:42 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:52495) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1qY5-0006YV-7l for emacs-orgmode@gnu.org; Mon, 08 Jun 2015 02:28:41 -0400 In-Reply-To: (myq larson's message of "Sun, 7 Jun 2015 23:44:35 -0600") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: myq larson Cc: emacs-orgmode@gnu.org myq larson writes: > Using that definition though, there are probably three paragraphs. I choose > ASCII export as the easiest example to show in email, but exporting to > LaTeX shows the problem more clearly. There will not be two new lines > which means the two paragraphs will be interpreted as a single > paragraph. Correct. As a feature, ox-latex preserves blank lines between elements, which means they will be treated as a single paragraph in LaTeX. > I believe the above ASCII example will be interpreted as a > single paragraph by most readers as well. > > Exporting to Org mode gives the following: > > #+BEGIN_EXAMPLE > ,#+OPTIONS: inline:nil toc:nil > > ,* title > > Here is some text which should not be cut by an inline task because > it should respect the linebreaks and understand when a new paragraph > starts. > I think this is the right way to go. But there are some challenges. > Another problem is that there is no way to fix the problem. > #+END_EXAMPLE > > I'm pretty sure that's not how Org mode defines two paragraphs though. > As a work around, I just avoid putting inline comments at the end of > paragraphs. You should simply add an empty line between a paragraph and the inlinetask. Regards,