From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Collapse LaTeX source before start of main document? Date: Thu, 27 Sep 2012 11:33:05 -0400 Message-ID: <9180.1348759985@alphaville> References: <878vumsam8.fsf@fastmail.fm> <87tydat89b.fsf@fastmail.fm> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41378) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THG8z-0004A8-Ec for emacs-orgmode@gnu.org; Thu, 27 Sep 2012 11:36:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1THG8q-00013j-HV for emacs-orgmode@gnu.org; Thu, 27 Sep 2012 11:36:53 -0400 Received: from g4t0014.houston.hp.com ([15.201.24.17]:41724) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THG5M-0008Gn-M9 for emacs-orgmode@gnu.org; Thu, 27 Sep 2012 11:33:08 -0400 In-Reply-To: Message from Renier Marchand of "Thu, 27 Sep 2012 09:07:15 -0000." List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Renier Marchand Cc: emacs-orgmode@gnu.org Renier Marchand wrote: > > It seems that the reason this does not work for Chris Malone is that if the > heading tagged with :prelim: is preceded with a heading tagged with :noexport: > then the content of the prelim section is in effect not exported. > > For this example > > * My setup :noexport: > Some org-mode setup commands that should not be exported > * Preliminary material :prelim: > > Some preliminary material > > * Point one > > Text in point one > > * Point two :prelim: > > Text in point two. > > * Point three > > Text in point three. > > The following is exported > > Table of Contents > > 1 Point one > 2 Point three > 1 Point one > > Text in point one > > Text in point two. > > 2 Point three > > Text in point three. > > Date: 2012-09-27 11:04:36 SAST > > Author: Renier Marchand > > Org version 7.6 with Emacs version 23 > > Validate XHTML 1.0 > > Note the absence of the text before the table of contents. > I can't reproduce this. I get correct behavior in all cases I've tried: with both the old and the new exporter, html, latex and ascii. What version of org are you using? Mine is Org-mode version 7.9.1 (release_7.9.1-348-gea7baa @ /home/nick/elisp/org-mode/lisp/) Nick