From: Carsten Dominik <dominik@science.uva.nl>
To: Matthew Lundin <mdl@imapmail.org>
Cc: Org-mode ml <emacs-orgmode@gnu.org>
Subject: Re: Latex export bugs and a request
Date: Sat, 21 Mar 2009 18:21:29 +0100 [thread overview]
Message-ID: <9A193714-0153-46CC-BF39-B8866130282C@uva.nl> (raw)
In-Reply-To: <m2r60skj70.fsf@fastmail.fm>
[-- Attachment #1.1: Type: text/plain, Size: 2708 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 4694 bytes --]
[-- Attachment #2: Type: text/plain, Size: 204 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2009-03-21 19:59 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
2009-03-21 17:21 ` Carsten Dominik [this message]
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=9A193714-0153-46CC-BF39-B8866130282C@uva.nl \
--to=dominik@science.uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=mdl@imapmail.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).