emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: tsd@tsdye.com (Thomas S. Dye)
To: Fabrice Popineau <fabrice.popineau@supelec.fr>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Lists, exports to LaTeX and cr/lf
Date: Sun, 07 Jul 2013 12:55:34 -1000	[thread overview]
Message-ID: <m1txk6dlp5.fsf@tsdye.com> (raw)
In-Reply-To: <CAFgFV9OmSakrn0nKA5sbffZZL-xN2NyyqhdmLzUu_tQZ4kgFiw@mail.gmail.com> (Fabrice Popineau's message of "Sun, 7 Jul 2013 21:52:13 +0200")

Aloha Fabrice,

Fabrice Popineau <fabrice.popineau@supelec.fr> writes:

> Hi,
>
> I have a question regarding lists and Org-mode 8.0.2 (the version I
> currently use).
> It seems that if I export this :
>
> - foo foo foo foo foo
> bar bar bar bar
> - foo foo foo foo foo
> bar bar bar bar
>
> Then I get 2 itemize environments because I broke the line after foo.

The line break is not terminating the itemize environment by itself. It
is the lack of indentation on the "bar bar" lines that terminates the
itemize environments in this case.

The following should yield a single itemize environment when it is
exported: 

- foo foo foo foo foo
  bar bar bar bar
- foo foo foo foo foo
  bar bar bar bar

> I don't remember that it was the case previously.
> I would find it much more convenient if the end of the environment
> was denoted by an empty line, ie:
>
> - foo foo foo foo foo
> bar bar bar bar
>
> - foo foo foo foo foo
> bar bar bar bar

The end of the environment can be denoted by two (or more) empty lines.
This way it is possible to have multi-paragraph (separated by single
empty lines) items in lists.

See section 2.7, Plain lists, in the Org-mode manual for a precise
description of list indentation and ending.

hth,
Tom



>
> Any comment about this or did I miss something already explained on the
> list?
>
> Thanks in advance,
>
> -- 
> Fabrice
> Hi,
>
> I have a question regarding lists and Org-mode 8.0.2 (the version I
> currently use).
> It seems that if I export this :
>
> - foo foo foo foo foo
> bar bar bar bar
> - foo foo foo foo foo
> bar bar bar bar
>
> Then I get 2 itemize environments because I broke the line after foo.
> I don't remember that it was the case previously.
> I would find it much more convenient if the end of the environment
> was denoted by an empty line, ie:
>
> - foo foo foo foo foo
> bar bar bar bar
>
> - foo foo foo foo foo
> bar bar bar bar
>
> Any comment about this or did I miss something already explained on
> the list?
>
> Thanks in advance,

-- 
Thomas S. Dye
http://www.tsdye.com

  reply	other threads:[~2013-07-07 22:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-07 19:52 Lists, exports to LaTeX and cr/lf Fabrice Popineau
2013-07-07 22:55 ` Thomas S. Dye [this message]
2013-07-07 23:03   ` Fabrice Popineau

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=m1txk6dlp5.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=fabrice.popineau@supelec.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).