From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: LaTeX export of lists Date: Mon, 25 Jul 2011 06:15:42 -1000 Message-ID: References: <87r55fa6oe.fsf@gmail.com> <87mxg2aguo.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:53603) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlNoy-0008TM-1B for emacs-orgmode@gnu.org; Mon, 25 Jul 2011 12:16:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QlNos-0004bb-OM for emacs-orgmode@gnu.org; Mon, 25 Jul 2011 12:15:55 -0400 Received: from oproxy6-pub.bluehost.com ([67.222.54.6]:48866) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QlNos-0004bN-FC for emacs-orgmode@gnu.org; Mon, 25 Jul 2011 12:15:50 -0400 In-Reply-To: <87mxg2aguo.fsf@gmail.com> (Nicolas Goaziou's message of "Mon, 25 Jul 2011 10:45:35 +0200") 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: Nicolas Goaziou Cc: Org-mode Nicolas Goaziou writes: > Hello, > > tsd@tsdye.com (Thomas S. Dye) writes: > >> Nicolas Goaziou writes: >>> That raises an interesting question: can a list belong to a paragraph in >>> Org? According to paragraph-related regexps, it can't, for now. And your >>> request is more a "LaTeXism" than an "Orgism" (!). > >> I probably don't understand your question fully, but it seems obvious to >> me that a list can either belong to a paragraph or it can be separate. >> I'm not certain why Org-mode would want to choose one over the other. > > It isn't obvious. For example, in HTML, a list within a paragraph > doesn't even make sense[1]. > > There's no harm in it, but you're basically faking Org and its LaTeX > exporter, as lists and paragraphs are two distinct entities[2]. > > Regards, > > > Footnotes: > > [1] You can't have
    within

    , according to > http://www.w3.org/TR/html401/struct/text.html#h-9.3.1 > > [2] If you try to `mark-paragraph' in your file, it won't mark both > the text and the list in one go. Aloha Nicolas, Interesting observations. Thanks. The relation seems obvious to me because my model comes from printed works, which commonly include enumerated lists typeset within paragraphs. Perhaps given the limitation of the HTML spec and the structure of paragraphs in Org-mode it will always be necessary to have the LaTeX exporter take care of setting lists inside paragraphs. Thanks again for your help with this. All the best, Tom -- T.S. Dye & Colleagues, Archaeologists 735 Bishop St, Suite 315, Honolulu, HI 96813 Tel: 808-529-0866, Fax: 808-529-0884 http://www.tsdye.com