From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MARbL2sfNGPJrgAAbAwnHQ (envelope-from ) for ; Wed, 28 Sep 2022 12:18:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sIYmL2sfNGM1HAEAauVa8A (envelope-from ) for ; Wed, 28 Sep 2022 12:18:19 +0200 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 AD3404413E for ; Wed, 28 Sep 2022 12:18:18 +0200 (CEST) Received: from localhost ([::1]:50676 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odU8v-0001tv-Ng for larch@yhetil.org; Wed, 28 Sep 2022 06:18:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odRqL-00046U-OP for emacs-orgmode@gnu.org; Wed, 28 Sep 2022 03:51:00 -0400 Received: from mout01.posteo.de ([185.67.36.65]:57289) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odRqJ-0004xI-3G for emacs-orgmode@gnu.org; Wed, 28 Sep 2022 03:50:57 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id F3609240028 for ; Wed, 28 Sep 2022 09:50:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1664351453; bh=ZhfwX85IlC5tZQisOiVTrbUHf8qORCbtGYvu5pOXTUg=; h=From:To:Cc:Subject:Date:From; b=hytZ5OE5OZ9Y5M6rNeeci+jBwQXhZRVrmyK7jUHiqLjKiIfwce/yMXN2LCCpXmYJW 6rvbUxjh1tuibx0+dn377FjvdvOUkYV1c5FDInz8QCDFmAOW42Dqpbev0C4xYANYug 80mH2aFJih8BvrQs2+aYILqZJi0Ibp15pOfB/0V+MN9HmYOPNBLbjZqkqN6rRs27kg 48isge3GZYgYKoO80rtBuDN+WJX3K8wfRFjsyDRKLq4KpjzUJH3SauOYgYkZC0Kqhr BDFM+TVOKP56/d9aCB/JawWld6hZGuKmMn7jh6aW8BcKnxBM1YeJDEK1S2G1ZQ0hd2 Bn0oh5hx05BYQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4McpZd6CCVz9rxM; Wed, 28 Sep 2022 09:50:49 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Ihor Radchenko Cc: orgmode Subject: Explicit page breaks (was: Create in Org a bilingual book with facing pages) References: <87h70tyyiz.fsf@posteo.net> <87bkr1ngpm.fsf@localhost> <87pmfg3gp2.fsf@posteo.net> <87v8p8fatt.fsf@localhost> Date: Wed, 28 Sep 2022 07:50:47 +0000 In-Reply-To: <87v8p8fatt.fsf@localhost> (Ihor Radchenko's message of "Wed, 28 Sep 2022 11:15:58 +0800") Message-ID: <87leq49bu0.fsf_-_@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=maciaschain@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_DNSWL_MED=-2.3, 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664360299; 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=M1d15koAaiqaUvnjhM+OnfRjlHDHiwHITQfU14FxdBs=; b=Z/dDTwYhL97XA2fjGi7pQ3guv7/pIAChrOFmN5q/p24hCDLuz2hU48wTcDOnV4L/UufiV+ 3GuOukEwAWYAUcs2NSQIEl/kOz+zaUoguc0o1/qOjIB1qrbxlfA5ogs/wyiK1hIBWZcrvd ydMOVodBBjRrnp/IFtRBHMySjxMm5v0zrpFTvKZ62e8BrZxPXu2OqzU1q0PFNANMVy2xiG YW38DpmCI9qUHzcXn9jfwn/kIFWt5qSUC8wC42txa2zuZ/+REkGRo7Wsg3dOSNM5rrMGH6 0INBL4kVYXU1ATC6R8u3Q5uimqCo0FLq4EJre4jCSn4ZG3mlFEReJBscfMQBCw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664360299; a=rsa-sha256; cv=none; b=uayGMtC1/+uUhHL3KRnLA/kVsap20ndWPma2GlsMVYT+/bJ/glRPJqzaX+hl+Ss8Nu62Ma wuyjKPMzUjEcuP0kzf/oa2Uxr7yCOPEjnFSnkEUr1rY908g9k5vH1EqFci/GuMdwGKVPjp S9BV2TQNy24oolZL6jRq6AcoQuYSgmvKsZM65ltV7wAFcNmddos7V4ANGDQvBjc5A374LF 1st5tIRqGSULf0+iTmJnhAi2L+BEVofplVf/juPjSRK/seJkQM2O/gPRbqQpuopONzsYFJ 7shmgLg9DkZJzeecHnVkKTU8WoR4RK4wI12Be92nGMwxlD9hmfHjOMQDeqDRhQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=hytZ5OE5; dmarc=pass (policy=none) header.from=posteo.net; 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" X-Migadu-Spam-Score: -4.05 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=hytZ5OE5; dmarc=pass (policy=none) header.from=posteo.net; 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" X-Migadu-Queue-Id: AD3404413E X-Spam-Score: -4.05 X-Migadu-Scanner: scn1.migadu.com X-TUID: brlbG7uoqXYg Ihor Radchenko writes: >>> 1. \clearpage command, which reminds me about >>> https://orgmode.org/list/87mtamjrft.fsf@localhost >>> May it be useful to have page break syntax element in Org? >> >> I really don't have an opinion at the moment... As a user I try to put >> as few direct LaTeX commands as possible: commands like \newpage, >> \pagebreak, \clearpage, \bigskip, \quad, etc. Whenever I can, I >> prefer to control spaces and page breaks using more general macros. And, >> when I put these commands, the fact of resorting to an export snippet >> does not usually bother me, since they are not very verbose commands. >> But I don't know what other users will think... > > Fine-tuning commands should indeed be dedicated to specific export > backends. It is generally meaningless to have \clearpage in html export. > > However, \pagebreak specifically is something people use in plain text > files, and it may be useful for odt exports. I agree. In the case of odt its xml is a pain for me to deal with, and usually I have to open an odt document in Emacs and look at the contents.xml file to find the (probably) correct tag Between that hideous labyrinth of tags :-) Well, considering that the most sensible place (IMO) to introduce an explicit page break would be before almost anything that isn't a section (since in sections page breaks should be defined by style), how about something like this: #+ATTR_LATEX: :pagebreak \clearpage #+ATTR_ODT: :pagebreak t Lorem ipsum dolor sit amet, consectetuer adipiscing elit... (In the case of LaTeX the expected value of :pagebreak could be any of several commands that LaTeX has for page breaking (or any other arbitrary code). And if you put :pagebreak t, the default value would be \pagebreak. And to introduce an explicit break before a heading, the above could be added as a property. Best regards, Juan Manuel