emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Questions about lists and export to latex


From: Bernt Hansen
Subject: [Orgmode] Re: Questions about lists and export to latex
Date: Wed, 05 Aug 2009 12:40:59 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

RC <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]