From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Goldman Subject: Re: centering blocks cause latex export to crash Date: Wed, 14 Dec 2011 15:41:14 -0600 Message-ID: <4EE917FA.6080305@sift.info> References: <4EE90FC8.6080706@sift.info> <4442.1323897212@alphaville.dokosmarshall.org> Reply-To: rpgoldman@sift.info Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:37804) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RawZi-00014D-Te for emacs-orgmode@gnu.org; Wed, 14 Dec 2011 16:41:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RawZh-0006qj-M1 for emacs-orgmode@gnu.org; Wed, 14 Dec 2011 16:41:18 -0500 Received: from mpls.sift.info ([75.146.46.193]:35249) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RawZh-0006qe-FK for emacs-orgmode@gnu.org; Wed, 14 Dec 2011 16:41:17 -0500 In-Reply-To: <4442.1323897212@alphaville.dokosmarshall.org> 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: nicholas.dokos@hp.com Cc: Org Mode On 12/14/11 Dec 14 -3:13 PM, Nick Dokos wrote: > Robert Goldman wrote: > >> I am using the latest org from git. >> >> The attached org-mode file causes latex export to crash with an error of >> "unbalanced begin/end center blocks with ...." >> >> This did work, as recently as a month ago, so something relatively >> recent has broken it. >> >> best, >> r > > Indeed, but note that the latex exporter has always been a little flaky > with stuff before the first headline. As a workaround, if you add a > headline before the block, it works. > > Nick Thanks. But the workaround is not ideal here --- the centering block is supposed to say "Not Cleared for Public Release" for reasons of conditions on my research grant, and that really is not supposed to be in a heading. I have another work-around, but I think the general principle is that forbidding text before the first header is not an ideal constraint. If there's a way to have a header that doesn't produce output (a la noexport), but that doesn't suppress its children, that might be a handy way to accomplish this. I don't know if that's possible (that would also be handy for outlines where you want the outline structure to "fade away" and just leave you with the text that the outline inspired). Best, r