emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: tsd@tsdye.com (Thomas S. Dye)
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: LaTeX export of lists
Date: Sun, 24 Jul 2011 09:18:48 -1000	[thread overview]
Message-ID: <m162mr4hd3.fsf@tsdye.com> (raw)
In-Reply-To: <87r55fa6oe.fsf@gmail.com> (Nicolas Goaziou's message of "Sun, 24 Jul 2011 20:13:05 +0200")

Nicolas Goaziou <n.goaziou@gmail.com> writes:

> Hello,
>
> tsd@tsdye.com (Thomas S. Dye) writes:
>
>> LaTeX export of lists appears to be inserting an extraneous blank line.
>>
>> This snippet from the Org-mode document:
>>
>> first-order cultural history sequence for Hawai`i can be expressed
>> with model (\ref{eq:first-order}), which states that 
>>    1. the pre-colonization period began at a time too old for the
>>       \rc\space method to date;
>>
>> is exported to LaTeX as:
>>
>> first-order cultural history sequence for Hawai`i can be expressed
>> with model \ref{eq:first-order}, which states that 
>>
>> \begin{enumerate}
>> \item the pre-colonization period began at a time too old for the
>>       \rc\  method to date;
>>
>> The blank line before \begin{enumerate} is interpreted by LaTeX as a
>> paragraph break, which I don't want here because I'm setting the
>> enumerated list within the paragraph and not displayed separately.
>>
>> IIRC, this represents an old behavior that was corrected a while back.
>> I'm not sure when the blank line snuck back in.
>
> I pushed a patch bringing back the old behaviour.
>
> 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" (!).
>
> Anyway, it should be fine now.
>
> Regards,

Aloha Nicolas,

Thanks very much!  The old LaTeXism behavior is back in my example.

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.

I tend to see the question as having to do with how someone working in
Org-mode indicates that a paragraph break is wanted.  I do this with a
blank line, as I do in LaTeX, and this seems to work.

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

  reply	other threads:[~2011-07-24 19:18 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-24 16:16 LaTeX export of lists Thomas S. Dye
2011-07-24 16:44 ` Nick Dokos
2011-07-24 18:13 ` Nicolas Goaziou
2011-07-24 19:18   ` Thomas S. Dye [this message]
2011-07-25  8:45     ` Nicolas Goaziou
2011-07-25 16:15       ` Thomas S. Dye
2011-08-24 15:11         ` Eric S Fraga
2011-08-24 15:53           ` Nicolas Goaziou
2011-08-24 17:39             ` Thomas S. Dye
2011-08-24 18:59               ` Nicolas Goaziou
2011-08-24 19:45                 ` Thomas S. Dye
2011-08-24 16:40           ` Achim Gratz
2011-08-24 17:08           ` Thomas S. Dye
  -- strict thread matches above, loose matches on Subject: below --
2010-11-28 14:33 Thomas S. Dye
2010-11-28 15:05 ` Nicolas Goaziou
2010-11-28 18:40   ` Thomas S. Dye
2010-11-29  8:43     ` Sébastien Mengin
2010-11-27 22:02 Thomas S. Dye
2010-11-28  6:40 ` Richard Lawrence

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=m162mr4hd3.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    /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).