From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id uLexOMo7DWd6fQAAe85BDQ:P1 (envelope-from ) for ; Mon, 14 Oct 2024 15:42:03 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id uLexOMo7DWd6fQAAe85BDQ (envelope-from ) for ; Mon, 14 Oct 2024 17:42:03 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=city17.xyz header.s=dkim header.b=dgSe6Z74; 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"; dmarc=pass (policy=reject) header.from=city17.xyz ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1728920522; 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=qqHpQ9EOt9gXI0KUuMangShcA1Pf4DP+3AmdS4JKXwU=; b=fmCLeoaW35pw8waCByz/E9tD8OLU8UkRZqNJ9HydiKEj9AXyoBMg9Qt7xYg8IEX+XRixAp RmNvDz12jVGcEkfqqknkHekc1pdGFkXJbEHhef5b+DLkw1ksSTgZ/IsbfeJmNtz3JdX19F gci5xYl6KhF0882/6MP8HOthP0BWMZsrhtl/CBoRvlBEDbNhMYEipIs8tBJldz26sewmUl NzPFwaUa6FI6zp5JyHqxHJqos3NY1Cp9qo6PLglL1rBmb6npAAppzcE8Hjyzvqp2zsFH8Q qdKOl30ATf4cZAqVbEyRvpEKvgTeYRW8CtMNFmKcWiwxJjv/OvH2HFS8epPUCw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=city17.xyz header.s=dkim header.b=dgSe6Z74; 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"; dmarc=pass (policy=reject) header.from=city17.xyz ARC-Seal: i=1; s=key1; d=yhetil.org; t=1728920522; a=rsa-sha256; cv=none; b=UJR3u5xUYpWJmtw4noufyQ1/aFow+JtWbwqbfTVT/+u49l1Q0+QUyG5x5kISLiob7vzbzh 0yIUh/DgxE8qK6gOwpNgONUpXvcJ1kfRvPz31LK19/UzfX5HQCzTW5PMDviUaBD9MeiukN PGVg7uZ3TxpeEUbOenPFLJorfmsEHpRwVVd83aQjD+Mi4y5vBXeT4nsW7a/zlNqmWaP9nC 5OkdMVwQOnO7xKFsx3Tp2pVqplHUY3G+QM+iz1dyCTlxXr9KsFlMYlhY5trTyxS7Zz/Jpd M+IugXqZweD+pcLRyb13j07XzjOLEWDRiWK0fjcKSq1RAVtNZOdjsqdgPGpTyg== 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 72D238A266 for ; Mon, 14 Oct 2024 17:42:00 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t0NC9-0006Mi-Lj; Mon, 14 Oct 2024 11:41:17 -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 1t0NC6-0006MG-8s for emacs-orgmode@gnu.org; Mon, 14 Oct 2024 11:41:15 -0400 Received: from mail.city17.xyz ([45.91.101.53]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t0NC4-0002bz-H8 for emacs-orgmode@gnu.org; Mon, 14 Oct 2024 11:41:14 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 862794E249; Mon, 14 Oct 2024 17:41:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=city17.xyz; s=dkim; t=1728920470; h=from:subject:date:message-id:to:cc:mime-version:content-type: in-reply-to:references; bh=qqHpQ9EOt9gXI0KUuMangShcA1Pf4DP+3AmdS4JKXwU=; b=dgSe6Z74rK3fFnDQ9PWb/iHuzDVDbKvFgUEHcmD8x9MkBYdRS8M0bWRpR6Xrqp3TnODN7f oOQ2LFzMOF8szy1AaUN/0rdUVvZMwFWH00BmpWYstIJNjTjp0qoaoHbhmjt3cQs7FFxSYN uAq4E5d48nw0brnDk8qHUTBH05CSx+tgrtCnDxEJTdeQD9hKX/c94cVbYpUkckY5I9yFum 1NvMDmFgJ2mfAb84o9O2wIJNDSWt4qz8+pTTnnNNhQPmvaXXHfkl9KhA1Pj8SfWF02BugO SZmaBEg/bF5AascLMwHYIJhZfqQSoOSQnl/v/l3ZnpdyXbM2dRL+z7lmO+xwSA== From: jman To: Christian Moe Cc: emacs-orgmode@gnu.org Subject: Re: Understanding Publish (ox-publish.el) In-Reply-To: <87jzeb9ixl.fsf@christianmoe.com> (Christian Moe's message of "Mon, 14 Oct 2024 10:37:59 +0200") References: <871q0j3iv2.fsf@city17.xyz> <87jzeb9ixl.fsf@christianmoe.com> Date: Mon, 14 Oct 2024 17:40:59 +0200 Message-ID: <877caavgj8.fsf@city17.xyz> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Last-TLS-Session-Version: TLSv1.3 Received-SPF: pass client-ip=45.91.101.53; envelope-from=emacs-orgmode@city17.xyz; helo=mail.city17.xyz 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_NONE=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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 0.47 X-Spam-Score: 0.47 X-Migadu-Queue-Id: 72D238A266 X-TUID: pdCfLDouV8V9 Christian Moe writes: > 1. First issue: > > Not quite sure what you mean by saying that it "does not handle content > exceeding the page length". If the problem is with placing images, > tables etc., latex does its best, and manually adding \clearpage or > \newpage as needed tends to be the way it's done. Hey thanks for the tips! To be clearer about what I mean I'll provide two sample documents. I hope they're good to reproduce the issue. 1) Compiling with ox-publish the following document produces the expected result. Text is automatically distributed on subsequent pages https://paste.sr.ht/~jman/06239fa6624a1af23edfbb5154f5d9dcfdf8427a 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 These samples are compiled with: $ emacs --batch .org --load ol-pdf.el --funcall org-publish-current-file `ol-pdf.el` is nothing special, I think: (require 'ol) (require 'ox-publish) (setq org-publish-project-alist '(("org-to-pdf" :base-directory "~/src" :base-extension "org" :publishing-directory "~/pdf" :publishing-function org-latex-publish-to-pdf :recursive t :with-toc nil :with-date nil :with-author nil ))) Additional info: - I am using Emacs 29.4 (Org mode 9.6.15) - I compile these file using the Debian/testing texlive-latex-* (2024.20240829-2) packages (pdfTeX-1.40.26) - I also tried compiling the PDF using `latexmk` (4.85) but the end result doesn't change > 2. Second issue: Getting rid of link borders. [...] Thanks! Your suggestions gave me a few ideas to explore and this is now understood. Best,