emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Latex export bugs and a request


From: Carsten Dominik
Subject: Re: [Orgmode] Latex export bugs and a request
Date: Sat, 21 Mar 2009 18:21:29 +0100

Hi Matthew,

I have worked on this part of the LaTeX exporter.  Among other things, I now export
these headers as an itemize list by default, parallel to the HTML exporter.

You can customize org-export-latex-low-levels to specify what exactly you want, you can get description or enumerate lists as well.

Let me know if the problems now go away.

- Carsten

On Mar 20, 2009, at 3:43 AM, Matthew Lundin wrote:


Hi Carsten,

2. Headlines greater than n when H:n (e.g., level three headlines
when H
is set to 2) are exported as description lists.

Is this the intended behavior?

This is how Bastien designed it, and it is similar to the HTML way,
turning these into lists.  It works fine if there is any text before
the plain list bullets.


When I use a paragraph of text instead of plain list bullets, the
subsequent paragraph becomes the definition of the headline, which
becomes the list label. Is this correct?

I am confused, could you make a detailed example, please?

Sorry for being unclear. Take, for instance, the following source file:

--8<---------------cut here---------------start------------->8---
#+OPTIONS: H:2

* This is the first heading

Here is some text after the first heading.

** This is the second heading

Here is some text after the second heading.

*** This is the third heading

Here is some text after the third heading.
--8<---------------cut here---------------end--------------->8---

This outputs to tex as follows (preamble excluded):

--8<---------------cut here---------------start------------->8---
\section{This is the first heading}
\label{sec-1}


Here is some text after the first heading.

\subsection{This is the second heading}
\label{sec-1.1}


Here is some text after the second heading.

\begin{description}

\item[This is the third heading]\label{sec-1.1.1}



Here is some text after the third heading.
\end{description}
--8<---------------cut here---------------end--------------->8---

When latex is run, the output looks like this. Note how the text after
the third heading is folded into the same line:

--8<---------------cut here---------------start------------->8---
1 This is the first heading

Here is some text after the first heading.

1.1 This is the second heading

Here is some text after the second heading.

This is the third heading Here is some text after the third heading.
--8<---------------cut here---------------end--------------->8---

- Matt


reply via email to

[Prev in Thread] Current Thread [Next in Thread]