emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: RC <recif@yahoo.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Questions about lists and export to latex
Date: Wed, 05 Aug 2009 12:40:59 -0400	[thread overview]
Message-ID: <87d47a43j8.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <loom.20090805T160150-872@post.gmane.org> (RC's message of "Wed\, 5 Aug 2009 16\:15\:25 +0000 \(UTC\)")

RC <recif@yahoo.com> 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.


  reply	other threads:[~2009-08-05 16:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-05 16:15 Questions about lists and export to latex RC
2009-08-05 16:40 ` Bernt Hansen [this message]
2009-08-05 17:11   ` RC

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d47a43j8.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=recif@yahoo.com \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).