Hi all, Carsten Dominik wrote: > On Jun 22, 2010, at 2:51 PM, Robert Hennig wrote: >> Sebastian Hofer wrote: >>> Giovanni Ridolfi wrote: >>>> Sebastian Hofer <sebho...@gmail.com> 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@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode