From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Questions about lists and export to latex Date: Wed, 05 Aug 2009 12:40:59 -0400 Message-ID: <87d47a43j8.fsf@gollum.intra.norang.ca> References: 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 1MYjY5-0005vY-En for emacs-orgmode@gnu.org; Wed, 05 Aug 2009 12:41:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MYjY2-0005u9-S7 for emacs-orgmode@gnu.org; Wed, 05 Aug 2009 12:41:09 -0400 Received: from [199.232.76.173] (port=35510 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYjY2-0005u2-OJ for emacs-orgmode@gnu.org; Wed, 05 Aug 2009 12:41:06 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:64320) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MYjY2-0001T2-7u for emacs-orgmode@gnu.org; Wed, 05 Aug 2009 12:41:06 -0400 In-Reply-To: (RC's message of "Wed\, 5 Aug 2009 16\:15\:25 +0000 \(UTC\)") 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: RC Cc: emacs-orgmode@gnu.org RC writes: > I have a couple of questions about lists in org-mode and exporting to > latex. I have attached a example file that illustrates this > behavior. > 1) When I hit tab on the last item in a list, everything until the > next heading is folded under that item. Is this expected behavior, > and is there a way to turn it off? (setq org-cycle-include-plain-lists nil) maybe? > 2) If I hit TAB after a blank line following a list, the indentation > is such that the new list (List 3 in the file below) exports as a > sublist of the preceding list. Is there a simple way to mark the > end of the list? Thanks for your help in answering thes questions. > > * Heading 1 > List 1 > - Item 1 > - Item 2 > - Item 3 > > List 2 > - Item 1 > - Item 2 > > List 3 > - Item 1 > - Item 2 > > * Heading 2 > List 1 > - Item 1 > - Item 2 > Lists are defined by their indentation. There is no way to mark the end of a list explicitly as far as I know. Just don't indent the content so that it is part of the list anymore. In your examples 'List 1', 'List 2', and 'List 3' are not actually part of your list. The list is defined by the items alone. 'List 3' is the body part of List 2 Item 2 and Item 2 has a sublist (your List 3) since it is indented. Define your list items and use S-right and S-left to define the hierarchy appropriately - then fill in body details appropriately indented. -Bernt