From: "Sébastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: latex export - skipping lvls breaks export
Date: Tue, 22 Jun 2010 16:40:45 +0200 [thread overview]
Message-ID: <87hbkvt9jm.fsf@mundaneum.com> (raw)
In-Reply-To: F03E6782-63C3-44B1-9748-1B1BC7C95A72@gmail.com
Hi all,
Carsten Dominik wrote:
> On Jun 22, 2010, at 2:51 PM, Robert Hennig wrote:
>> Sebastian Hofer wrote:
>>> Giovanni Ridolfi wrote:
>>>> Sebastian Hofer <sebhofer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>>>>>
>>>>> I noticed that if you skip a level in the outline structure (cf. example
>>>>> below) it is not exported to latex. Is there a reason for this?
>>>>
>>>> IIRC it depends in how is written the LaTeX export.
>>>>
>>>> IMHO skipping a level it's <Spock voice> a bit illogical
>>>
>>> I guess it depends on the situation, it may or may not be illogical.
>>
>> I'm working on the translation of a book and the Table of Contents has a
>> odd structure. I would also appreciate if skipping a level in the structure
>> could be possible.
>
> I have nothing against skipping levels - the HTML exporter allows it. But,
> the LaTeX exporter does not. If someone can come up with a good patch, I'd
> consider putting it in. The patch may not be trivial though...
Just for the sake of completeness, here is another (very) good reason to allow
such a thing: for Beamer, with the sidebar outer theme, which allows you to
see, on every slide, where you are in the TOC (up to 2 levels).
If you have such a TOC:
--8<---------------cut here---------------start------------->8---
1. Intro
2. The meat
1. Why?
2. Why not?
3. Conclusion
--8<---------------cut here---------------end--------------->8---
and have frames level beginning at 3, you would have in Org:
--8<---------------cut here---------------start------------->8---
* Intro
*** Introduction
This is first slide.
* The meat
** Why?
*** Why to do this?
Second slide.
** Why not?
*** Why not to do this?
Third slide.
* Conclusion
*** Conclusion
Last slide.
--8<---------------cut here---------------end--------------->8---
So, the solutions are:
1. To allow for skipped levels
-> Sidebar is exactly as it should.
2. Not to export skipped levels
-> You need to insert a level-2 for the Introduction and Conclusion
a. Empty title (such as `** ')
-> Empty space in the TOC displayed in the sidebar
-> Bad!
b. Repeat the title of level-1
-> Not nice...
So, allowing for skipped levels seems the only nice way for me. Did you follow
me?
Best regards,
Seb
--
Sébastien Vauban
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2010-06-22 14:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-21 17:52 latex export - skipping lvls breaks export Sebastian Hofer
2010-06-22 9:51 ` Giovanni Ridolfi
2010-06-22 11:10 ` Sebastian Hofer
2010-06-22 12:51 ` Robert Hennig
2010-06-22 13:06 ` Carsten Dominik
2010-06-22 14:40 ` Sébastien Vauban [this message]
2010-06-22 14:43 ` Sebastian Hofer
2010-06-22 14:41 ` Nick Dokos
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87hbkvt9jm.fsf@mundaneum.com \
--to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
--cc=emacs-orgmode-mXXj517/zsQ@public.gmane.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.