From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Collapse LaTeX source before start of main document? Date: Fri, 06 May 2011 16:41:19 +0100 Message-ID: <87liyjvnts.fsf@ucl.ac.uk> References: <20110505103713.0ec59a15@kuru.homelinux.net> <20cf3056396178c19204a28aef3b@google.com> <20110505110247.426b5b7a@kuru.homelinux.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:43439) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QIO92-00018X-AZ for emacs-orgmode@gnu.org; Fri, 06 May 2011 12:44:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QIO91-0004sR-Hr for emacs-orgmode@gnu.org; Fri, 06 May 2011 12:44:48 -0400 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:44410) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QIO91-0004rk-Dn for emacs-orgmode@gnu.org; Fri, 06 May 2011 12:44:47 -0400 In-Reply-To: <20110505110247.426b5b7a@kuru.homelinux.net> (Suvayu Ali's message of "Thu, 5 May 2011 11:02:47 -0700") 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: Suvayu Ali Cc: chris.m.malone@gmail.com, emacs-orgmode@gnu.org Suvayu Ali writes: > On Thu, 05 May 2011 17:45:13 +0000 > chris.m.malone@gmail.com wrote: > >> Hi Suvayu, >> >> I think Matt's lisp code /should/ work for doing exactly what we are >> talking about, but for some reason I can't get it to work with LaTeX >> export. >> > > I just tried Matt's code, worked very smoothly for me. :) This is strange. I have tried it just now and it fails for me for a very simple case. It works for html and not for latex. The same bol and eol values are found in either case (which is as it should be, of course). It works, however, if there is at least one headline *before* the one to be omitted, one that will not be omitted; if the omitted one is the first headline, the whole block is gone. Strange. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.258.ga173)