[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] LaTeX export of lists
From: |
Nick Dokos |
Subject: |
Re: [O] LaTeX export of lists |
Date: |
Sun, 24 Jul 2011 12:44:12 -0400 |
Thomas S. Dye <address@hidden> 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 <address@hidden>
| 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