From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Controlling pagination on headings in Latex/PDF export? Date: Fri, 17 Feb 2012 11:42:08 -0500 Message-ID: <1881.1329496928@alphaville> References: <44B0EAE8544C834188E8790873CDE1CC3E11EA@ARCEXCHANGE.arc.local> <16733.1329416454@alphaville> <44B0EAE8544C834188E8790873CDE1CC3E154C@ARCEXCHANGE.arc.local> <80obsyr2b7.fsf@somewhere.org> <44B0EAE8544C834188E8790873CDE1CC3E15DA@ARCEXCHANGE.arc.local> <44B0EAE8544C834188E8790873CDE1CC3E15F0@ARCEXCHANGE.arc.local> <25037.1329426732@alphaville> <44B0EAE8544C834188E8790873CDE1CC3E1890@ARCEXCHANGE.arc.local> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:60346) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RyQt0-0003le-IL for emacs-orgmode@gnu.org; Fri, 17 Feb 2012 11:42:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RyQsu-0001Nn-8n for emacs-orgmode@gnu.org; Fri, 17 Feb 2012 11:42:18 -0500 Received: from g5t0008.atlanta.hp.com ([15.192.0.45]:17509) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RyQsu-0001NP-32 for emacs-orgmode@gnu.org; Fri, 17 Feb 2012 11:42:12 -0500 In-Reply-To: Message from Stefan Nobis of "Fri, 17 Feb 2012 10:09:36 +0100." 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: Stefan Nobis Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Stefan Nobis wrote: > Jos'h Fuller writes: > > > Hi! > > > Thanks for your kind words! ; - ) > > > I did wrap the "mykeepwithnextpar" definition and I moved the call between the heading > > and the table as suggested, but it still doesn't seem to want to cooperate (heading on > > one page, table on the next). > > I just tried to export the example posted by Nick. The tabluar is > wrapped in a center environment. I think this is the problem. Without > the help of something like the minipage environment I think it is > impossible to prevent page breaks before the centered object in the > general case (the problem is not the centering but the environment > "center" is implemented with the help of a list environment and IIRC > lists allow page breaks around them). > > As I'm not a LaTeX expert it may be helpful to ask on comp.text.tex > for some tipps. > But there is still a LARGE penalty for breaking there: it's not impossible to produce but it *is* hard. I agree with you that we are not going to solve it until we see an example input file that reproduces the problem. Nick