emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matthew Lundin <mdl@imapmail.org>
To: Carsten Dominik <dominik@science.uva.nl>
Cc: Org-mode ml <emacs-orgmode@gnu.org>
Subject: Re: Latex export bugs and a request
Date: Thu, 19 Mar 2009 21:43:31 -0500	[thread overview]
Message-ID: <m2r60skj70.fsf@fastmail.fm> (raw)
In-Reply-To: <EC626517-B0D0-4B26-BCA9-AEB939C6E1A5@uva.nl> (Carsten Dominik's message of "Thu\, 19 Mar 2009 11\:04\:57 +0100")


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	other threads:[~2009-03-20  2:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-16 19:16 Latex export bugs and a request Matthew Lundin
2009-03-16 21:16 ` Carsten Dominik
2009-03-18 16:33   ` Matthew Lundin
2009-03-19 10:04     ` Carsten Dominik
2009-03-20  2:43       ` Matthew Lundin [this message]
2009-03-21 17:21         ` Carsten Dominik
2009-03-21 20:32           ` Matthew Lundin
2009-03-22  7:03             ` Carsten Dominik
2009-03-21 18:32         ` Matthew Lundin

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=m2r60skj70.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    /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).