From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id wCT/IG2MDWdmegEAe85BDQ:P1 (envelope-from ) for ; Mon, 14 Oct 2024 21:26:05 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id wCT/IG2MDWdmegEAe85BDQ (envelope-from ) for ; Mon, 14 Oct 2024 23:26:05 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=christianmoe.com header.s=x header.b="WDSl/6e7"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=christianmoe.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1728941165; a=rsa-sha256; cv=none; b=AzGWdo9iWHua66RwzCPtM0S/yKTLSSFlqZ6a8RhalOJ76umPHnPLzztPcX++pju5pAcemM IDrhzbjNx5Z9ncvGTKh1qhgY29nHc7pnYMlBaf5kFto0VW1oUcMOadVVH8DOyZ8ojfXzGn XthfnOmJuRh/sAqld0vMcaAmR6YtAIjM1g/2bwo7wvyxTIp+Q1jTBOxT8PlNCdTuSBf4kL oHMSKnKPhvyUxj7MlUu5rySY+AWnrpxZfd0hdO17nMWjL3IHQdvrpqduxP3r/nmja/XLis ns3XN17BPloqbSFjxHyRyESwIOL9e9vZzYNwBgDSHakBCrWWEg17FejJOKqDRg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=christianmoe.com header.s=x header.b="WDSl/6e7"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=christianmoe.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1728941165; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=AvrZCAOhkNmbkoNRZop0n8NHk2f3mMyHGvXCtTuBdHA=; b=fm4q80+MqUcgTDRSutnorjTxVfbBrlM0CcFMNgnAP6M8ROn7SNi0wHP5qO0ujOn3KHXvci 5tVCkgKxvSenzpuU6E1OAaV/mBkx9op5VRbK5U5GvqysCPil26nhC70Sx+RgfZ/lhz3HWN 4fzMCll+kpM/LU3nZULd1ncMRV6Rj8G/8nIXNISYsCTxozxpmgazFzY/Mdypbta3wfLu62 Ae2HgjTn2lMiPWhvKSxrjAYiS2kZluR+6BSHGeNC9PWcSUY5vVJpNbCYR0oyKAQ/dXFE00 l0rCa2M4FmfaVDSzyZ/BWMuE5J6Hr/pu4sOC9ss70MswIwvTWnEHRb5wfdQnWQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0B5A31CBF2 for ; Mon, 14 Oct 2024 23:26:05 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t0SYx-0007Ub-Fg; Mon, 14 Oct 2024 17:25:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t0SYv-0007Ty-Hg for emacs-orgmode@gnu.org; Mon, 14 Oct 2024 17:25:09 -0400 Received: from mailer-211-152.hitrost.net ([91.185.211.152]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t0SYt-0001sA-73 for emacs-orgmode@gnu.org; Mon, 14 Oct 2024 17:25:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=christianmoe.com; s=x; h=Content-Type:MIME-Version:Message-ID:In-reply-to: Date:Subject:Cc:To:From:References:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=AvrZCAOhkNmbkoNRZop0n8NHk2f3mMyHGvXCtTuBdHA=; b=WDSl/6e75fd2kbK20ih0cn0tEU WJDYOsZRyJnkCMSQGC2GnTjl1iATwr+WgkFFYo+DLDKLcJIC/hMvJhGcBL6wKFy0xJgLnlanX36rS yPgW9QLqGTnOPittiPLdshyXiLLZEExbaN8ZukJ1RVN7wlLL5mSFuaBaIXkOYojvSRI4AvlKvEjZf NUWzM+86TTqe4AMR4ecg0tpdLBR+O/ClRDGVUsA4Dp4+TwbW2Bz9arEUq0zFjlZgU7sRRkpUi/4PF 1D9nJ6+tcm7DgSiyVhB94Aq8+Xbx2vpzIGMOOMlhHYDuqwPFj49jLk6zwVDoH4e6nRDrkfG7TaLLO q39Fn40Q==; Received: from 84-20-225-53.dynamic.telemach.net ([84.20.225.53] helo=MacMint) by b1.hitrost.net with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1t0SYo-00000008Cgb-3bOU; Mon, 14 Oct 2024 23:25:02 +0200 References: <871q0j3iv2.fsf@city17.xyz> <87jzeb9ixl.fsf@christianmoe.com> <877caavgj8.fsf@city17.xyz> <87ed4ittcr.fsf@city17.xyz> User-agent: mu4e 1.6.10; emacs 27.1 From: Christian Moe To: jman Cc: emacs-orgmode@gnu.org Subject: Re: Understanding Publish (ox-publish.el) Date: Mon, 14 Oct 2024 23:06:57 +0200 In-reply-to: <87ed4ittcr.fsf@city17.xyz> Message-ID: <87y12q8jiq.fsf@christianmoe.com> MIME-Version: 1.0 Content-Type: text/plain X-GeoIP: Country [IP], SI [84.20.225.53] X-Authenticated-Id: mail@christianmoe.com Received-SPF: pass client-ip=91.185.211.152; envelope-from=mail@christianmoe.com; helo=mailer-211-152.hitrost.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 1.57 X-Spam-Score: 1.57 X-Migadu-Queue-Id: 0B5A31CBF2 X-Migadu-Scanner: mx12.migadu.com X-TUID: RVETE0elHGiB It's due to Latex refusing to commit the typographic crime of leaving a heading at the bottom of the page. See: https://tex.stackexchange.com/questions/57857/overfull-box-and-broken-pagination-with-page-that-contains-only-section-headings (That one was also asked by an Org user -- the ease of outlining a header structure in Org does tempt people into this situation, which one might wish that Latex could handle with less logic and more grace.) Note that this does /not/ happen with a list. (Try changing your long outline from headers to a list -- you can do so quickly by including the whole outline in the region and pressing `C-c -' -- and exporting it; you get page breaks as expected.) So it doesn't prevent you from exporting an outline to PDF. Yours, Christian jman writes: > jman writes: > >> 2) Compiling this other document will produce strange empty pages. The content of the ordered list >> doesn't fit one page and instead of filling the next page, it will just "overflow" and >> "disappear": >> https://paste.sr.ht/~jman/35434b0fdf08164abf6c59a413d60ea6a4d0e943 > > I think the problem is that for the above file is a single ordered list and org-mode (or Latex?) for > some reason are unable to split it. For an automatic split to happen, the single list must be split. > > So another hack is to add random text in between! Example: > > #+TITLE: Dokument Titel > #+LATEX_HEADER: \usepackage[paper=a4paper,top=3cm,bottom=3cm]{geometry} > > * Title 1 > ** Subtitle > *** Subsubtitle > * Title 2 > ** Subtitle > *** Subsubtitle > * Title 3 > ** Subtitle > *** Subsubtitle > This text here is only to split the ordered list. > * Title 4 > ** Subtitle > *** Subsubtitle > * Title 5 > ** Subtitle > *** Subsubtitle > This text here is only to split the ordered list. > (etc.) > > Now we have multiple lists and the page split happens according to the top and bottom margins set in > the header. > > I am not sure if there is a better way to work around this. > > Best,