From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: latex export - skipping lvls breaks export Date: Tue, 22 Jun 2010 16:40:45 +0200 Message-ID: <87hbkvt9jm.fsf@mundaneum.com> References: <874ogwmfx1.wl%sebhofer@gmail.com> <834ogvjsyl.fsf@yahoo.it> <8739wfmigm.wl%sebhofer@gmail.com> <4C20B1E0.7040606@freylax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi all, Carsten Dominik wrote: > On Jun 22, 2010, at 2:51 PM, Robert Hennig wrote: >> Sebastian Hofer wrote: >>> Giovanni Ridolfi wrote: >>>> Sebastian Hofer writes: >>>>> >>>>> I noticed that if you skip a level in the outline structure (cf. exam= ple >>>>> 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 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 struct= ure >> 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 al= low 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 fol= low me? Best regards, Seb --=20 S=C3=A9bastien 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