From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Lundin Subject: Re: Feature request (org-empty-line-terminates-plain-lists) Date: Mon, 23 Mar 2009 18:08:54 -0500 Message-ID: References: <877i2g53px.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LltGV-000072-9y for emacs-orgmode@gnu.org; Mon, 23 Mar 2009 19:09:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LltGQ-0008Mh-33 for emacs-orgmode@gnu.org; Mon, 23 Mar 2009 19:09:06 -0400 Received: from [199.232.76.173] (port=39784 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LltGP-0008MI-Oi for emacs-orgmode@gnu.org; Mon, 23 Mar 2009 19:09:01 -0400 Received: from out2.smtp.messagingengine.com ([66.111.4.26]:49512) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LltGP-0005Jn-FZ for emacs-orgmode@gnu.org; Mon, 23 Mar 2009 19:09:01 -0400 In-Reply-To: <877i2g53px.fsf@fastmail.fm> (Matthew Lundin's message of "Mon\, 23 Mar 2009 16\:28\:10 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Matthew Lundin Cc: Org Mode List Carsten, Matthew Lundin writes: > If I may be so bold, I'd like to request an additional setting for > org-empty-line-terminates-plain-lists. Namely, I was wondering if it > would be possible to add an option whereby 2 empty lines would terminate > a plain list. Please disregard this request. I think I did not identify the problem correctly. The problem, instead, lies in the html export. When a plain list is followed by a paragraph, the list is closed in the the export before the paragraph. --8<---------------cut here---------------start------------->8--- - Item One - Item Two Here is the paragraph. --8<---------------cut here---------------end--------------->8--- results in.... ,---- |
    |
  • | Item One | |
  • |
  • | Item Two | |
  • |
| |

Here is the paragraph. |

`---- But when a table follows the list, as in... --8<---------------cut here---------------start------------->8--- - Item One - Item Two | Table cell | Another table cell | --8<---------------cut here---------------end--------------->8--- ...the table is enclosed in the list in the html: ,---- |
    |
  • | Item One | |
  • |
  • | Item Two | | | | | | | |
    Table cellAnother table cell
    | |
  • |
`---- In the latex output, by contrast, the list is closed before the table appears. ,---- | \begin{itemize} | \item Item One | \item Item Two | \end{itemize} | | \begin{center} | \begin{tabular}{ll} | Table cell & Another table cell \\ | \end{tabular} | \end{center} `---- Would it be possible to make the html output consistent with the latex output, so that the list is closed before the table? Thanks, and sorry for making you read that earlier email about a non-problem. :) Matt