From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YKCmF2ANNWPVCAAAbAwnHQ (envelope-from ) for ; Thu, 29 Sep 2022 05:13:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id QBnuF2ANNWPVMAAAauVa8A (envelope-from ) for ; Thu, 29 Sep 2022 05:13:36 +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 EC75B2EF34 for ; Thu, 29 Sep 2022 05:13:35 +0200 (CEST) Received: from localhost ([::1]:43138 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odjzR-0004A8-94 for larch@yhetil.org; Wed, 28 Sep 2022 23:13:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43956) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odjyg-00047S-Ku for emacs-orgmode@gnu.org; Wed, 28 Sep 2022 23:12:46 -0400 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]:33739) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odjyd-0000mK-V4 for emacs-orgmode@gnu.org; Wed, 28 Sep 2022 23:12:45 -0400 Received: by mail-pf1-x429.google.com with SMTP id w2so309109pfb.0 for ; Wed, 28 Sep 2022 20:12:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=/1AFY/PsHfZzLtp3WQFpAaEl+/24C5OD5PlodkyUVTQ=; b=iRqBEPI72qdyYAzGDvGNCc5z2qmijXVNLBBt2tE6Z8L9AxykNvFRjQ1uQ0qMWP+0Ce 5f0pEGDjtuOWKq6jxP7leUt3e9nKSv/4th1k1p6C4LXo9MXIioigq/seXwU2mg5Rjy5w Wz8LZuX1qxi6wu2YDWuU6A7mELi6VXsLjnpyGJVqzF3e7yG5Rl680K5Z5jOwSo9ym/sn DF29KSE3zu2fVooaGMQmfqMdrX2hat3Gt+A2XKGzocl5TXovmTm+siVVTpv0RojU+VBe 7pU/HjrjvduoC5+IEiklsTEmk7stwCLV6XngcPaiZLDjci/0As6Xa4Qv7ff9RdH3lZ9h hJ7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=/1AFY/PsHfZzLtp3WQFpAaEl+/24C5OD5PlodkyUVTQ=; b=qnR9B7KqybRejo2+SBhmtIfIvEKXXwEpA8XnxoJPzw1hsNeQ4LZo8a796r8Y12jiKb XuP3d1coVUyhEWtHAjyLorIylI2UqfiAxXKDUm3ziDKU98TvCPZju0I44Yc/YNxb8C8r Mm9rM+huqhXLKc/mpL1c0WuVublDPDpIUVyIj3uXWx13v5FjFZQoofhSKNlQ7/31xVsP OzacjlHwXJ561No8Jgodjt+h5vWqHU3rXfFspZ2iCSjseg5E68bvQzh+2yR+sPc2SSaK Uq1Udb1rdhVwrmyudvpun+qk4krRCE3A+F1BCDJHJh/U5kaBSW6fq/lRjeWssvgmF0GD tirg== X-Gm-Message-State: ACrzQf3SL4whnPBdjp16bNTaody42OdxmKDIzN/jYU8kEeSrDUXxNWk2 qDm3s63Q6/ogJjyRIt56Z1rPNbySQyvz3x7b X-Google-Smtp-Source: AMsMyM7I+W5guYK5x0dl+St4bqYf4r/FLU1sq6t8YykNGFKZbQNa+SBtF+uElVNpJEfvsMUYVWBp9A== X-Received: by 2002:a65:6d8d:0:b0:43c:9bcd:41ab with SMTP id bc13-20020a656d8d000000b0043c9bcd41abmr942671pgb.303.1664421161356; Wed, 28 Sep 2022 20:12:41 -0700 (PDT) Received: from localhost ([2409:8970:a80:3a4:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id y16-20020aa78f30000000b00540a3252191sm4855599pfr.28.2022.09.28.20.12.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Sep 2022 20:12:40 -0700 (PDT) From: Ihor Radchenko To: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= Cc: orgmode Subject: Re: Explicit page breaks (was: Create in Org a bilingual book with facing pages) In-Reply-To: <87leq49bu0.fsf_-_@posteo.net> References: <87h70tyyiz.fsf@posteo.net> <87bkr1ngpm.fsf@localhost> <87pmfg3gp2.fsf@posteo.net> <87v8p8fatt.fsf@localhost> <87leq49bu0.fsf_-_@posteo.net> Date: Thu, 29 Sep 2022 11:13:33 +0800 Message-ID: <87v8p698ki.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::429; envelope-from=yantar92@gmail.com; helo=mail-pf1-x429.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=1664421216; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=/1AFY/PsHfZzLtp3WQFpAaEl+/24C5OD5PlodkyUVTQ=; b=lx85d6t1gWlz7X6a+hBjPxud/wRMmZMgPQcrR1N+n0XhWhgR3CoSZT7hqcnT5GdevE/2hm /82BkrewsAijA+SlIKpgMehpkGCRisfszf6kSeks4gtggpx2l5/wuuWmVg6yiEgJNgs/zx HT6EQN8ADqQB1e/d24x6gJr7gnTRtxWv1ylJt+0VFGGBaIgOpEzq6oGmrCI54eHcgOT9h7 aDqqBi54XvDUeLKVAb3WVIbdvDU97I5Z6PabBYhubn6pNDTczHPlmU04vUgNN2tBmF/94K sI53TNqdz6P7r2N/FXsfYDqxXL4lQieRFJRYoyUh5a85YRhH/weGWQ6tCeEYjg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664421216; a=rsa-sha256; cv=none; b=PxyCRJVp67ilZUVg5B1dckjpXzckgMudJlSgQzWMOJspqoZ45Sd1nQz2T7xhi1adTUkGOZ 02RvAYbc4pf8uXqRFNQpw3BIfSlLWjkuoOTCygKExgYpvLyPijL211bBIEZqs8VswJS/7l PLuP7JEhdkLTAzu5Nmsr73aBbz+qcfjsmZWxb5saUIHaOpDmJvg8e4VIiubSzdqD9ZYKrc unpzzBChPecVa8bWaLgv4kd2udlF7dgki820lgreJu53ZH4T0EDGaO49LGQitlfh0g7KxF MUfBFVA4XAL5CKRYjEg39UGTplWZ5XsbdNiKbv7AosDOAPb3I8twyZ4aqUpDgw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=iRqBEPI7; dmarc=pass (policy=none) header.from=gmail.com; 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: -1.85 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=iRqBEPI7; dmarc=pass (policy=none) header.from=gmail.com; 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: EC75B2EF34 X-Spam-Score: -1.85 X-Migadu-Scanner: scn1.migadu.com X-TUID: yKmXY2UjDZuc Juan Manuel Mac=C3=ADas writes: > 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. I do not like this idea. Do note that page breaks may or may not lay between paragraphs or Org elements. By its nature, page break is an object (in Org terminology). I do understand your desire to allow putting page breaks before headings. However, I think that proliferation of such export options is a mistake. Instead, we should provide a generic way to define pre/post text when exporting headings. We do discuss :export_templates in the other thread, and we may as well define something similar but for including the normal Org markup. (It should not be a property - I'd rather have Org markup to be placed directly into the document and not hidden inside properties drawer). In any case, I'd rather discuss the question of putting staff prior to exported heading in the :export_template thread. --=20 Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92