From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: centering blocks cause latex export to crash Date: Wed, 14 Dec 2011 17:16:07 -0500 Message-ID: <7353.1323900967@alphaville.dokosmarshall.org> References: <4EE90FC8.6080706@sift.info> <4442.1323897212@alphaville.dokosmarshall.org> <4EE917FA.6080305@sift.info> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:55122) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rax7T-0004dh-Op for emacs-orgmode@gnu.org; Wed, 14 Dec 2011 17:16:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rax7S-0005b6-JE for emacs-orgmode@gnu.org; Wed, 14 Dec 2011 17:16:11 -0500 Received: from g4t0017.houston.hp.com ([15.201.24.20]:43434) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rax7S-0005ah-9P for emacs-orgmode@gnu.org; Wed, 14 Dec 2011 17:16:10 -0500 In-Reply-To: Message from Robert Goldman of "Wed, 14 Dec 2011 15:41:14 CST." <4EE917FA.6080305@sift.info> 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: rpgoldman@sift.info Cc: nicholas.dokos@hp.com, Org Mode Robert Goldman wrote: > 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. > Can it be in a watermark? Something like this perhaps: #+LATEX_HEADER: \usepackage{draftwatermark} #+LATEX_HEADER: \SetWatermarkText{Not Cleared for Public Release} #+LATEX_HEADER: \SetWatermarkFontSize{42pt} > 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). > Agreeed - I believe it's a long standing weakness in the implementation of the exporter and I also believe we'll see a reimplementation (soon?) based on Nicolas's parser. BTW, I wonder what the parser says about text before the first headline. Nick