emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: "Thomas S. Dye" <tsd@tsdye.com>
Cc: nicholas.dokos@hp.com, Org-mode <emacs-orgmode@gnu.org>
Subject: Re: LaTeX export of lists
Date: Sun, 24 Jul 2011 12:44:12 -0400	[thread overview]
Message-ID: <29583.1311525852@alphaville.dokosmarshall.org> (raw)
In-Reply-To: Message from tsd@tsdye.com (Thomas S. Dye) of "Sun, 24 Jul 2011 06:16:48 -1000." <m1aac34psf.fsf@tsdye.com>

Thomas S. Dye <tsd@tsdye.com> wrote:

> Aloha all,
> 
> 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'm using Org-mode version 7.6 (release_7.6.102.g05c6).
> 
> All the best,
> Tom
> 

Bisected it to this commit:

,----
| 69e02a73de7423bafa4df473cb746865c305b7ae is the first bad commit
| commit 69e02a73de7423bafa4df473cb746865c305b7ae
| Author: Nicolas Goaziou <n.goaziou@gmail.com>
| Date:   Sun Jan 2 13:52:16 2011 +0100
| 
|     Modified export engines for lists
|     
|     * lisp/org-exp.el (org-export-mark-lists): new function, replacing
|       org-export-mark-list-ending. It adds information as text properties
|       to every list, before changes done by exporter destruct them.
|     
|     * lisp/org-html.el (org-export-as-html): delegate list handling to
|       external function org-html-export-list-line.
|     (org-html-export-list-line): new function.
|     
|     * lisp/org-latex.el (org-export-latex-lists): small modification.
| 
| :040000 040000 5c6d7691e72af31680c5560171cc46bea56112ea 4de9fe5e7c954b31ab23a9e84ba28fa818c368c8 M	lisp
`----

Nick

  reply	other threads:[~2011-07-24 16:44 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 [this message]
2011-07-24 18:13 ` Nicolas Goaziou
2011-07-24 19:18   ` Thomas S. Dye
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=29583.1311525852@alphaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=tsd@tsdye.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).