From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 0MEiCqucPGM1IwAAbAwnHQ (envelope-from ) for ; Tue, 04 Oct 2022 22:50:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uI5GCaucPGMdPQEAG6o9tA (envelope-from ) for ; Tue, 04 Oct 2022 22:50:51 +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 A74902E120 for ; Tue, 4 Oct 2022 22:50:50 +0200 (CEST) Received: from localhost ([::1]:50588 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofosL-0002Jb-Ch for larch@yhetil.org; Tue, 04 Oct 2022 16:50:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41990) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofoSm-0003tf-Ab for emacs-orgmode@gnu.org; Tue, 04 Oct 2022 16:24:30 -0400 Received: from mout02.posteo.de ([185.67.36.66]:39725) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofoSk-00012W-1J for emacs-orgmode@gnu.org; Tue, 04 Oct 2022 16:24:24 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id CA22D240104 for ; Tue, 4 Oct 2022 22:24:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1664915056; bh=9Zj1ZjfaA671Utax5D/ZgC6ArWxXcrCagIgz3DZWrBg=; h=From:To:Cc:Subject:Date:From; b=plTffHtuTyWKD7wjtwAGAjogpPo5ZwLsp4WaJEZ1TTw8EFboeRZHxpQ/TNEvYeCBY w+/V5Nl981OzFHdU5y0lF6bV2d+DzGuYeQcOdhFpkHdeN/tA88LP7mPtFkEUry90c5 oyi/Kn6ufr42Kq23zzzC85mAW5RfW4cfJH755stFpelzCd/IAh8RcVd7SpCL6aGWk1 7PfRzI7YZ1lcZzcAs7Y8qxjtI/6+IvLFr60HZeBVaUdly9lGpwyy4tyVqMygPAtMyU QLW4oWAi0gShvVv4Q44fw/WLZOkBOpZMcguu/1zH7s3s1k4Kr6hfrCgXaPgEQorsXT dERJZPojqtBuQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Mhq1D0Qdzz6tnm; Tue, 4 Oct 2022 22:24:15 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Ihor Radchenko Cc: orgmode Subject: Re: Explicit page breaks References: <87h70tyyiz.fsf@posteo.net> <87bkr1ngpm.fsf@localhost> <87pmfg3gp2.fsf@posteo.net> <87v8p8fatt.fsf@localhost> <87leq49bu0.fsf_-_@posteo.net> <87v8p698ki.fsf@localhost> <87sfkaague.fsf@posteo.net> <87v8p1wf81.fsf@localhost> Date: Tue, 04 Oct 2022 20:24:13 +0000 In-Reply-To: <87v8p1wf81.fsf@localhost> (Ihor Radchenko's message of "Mon, 03 Oct 2022 15:14:54 +0800") Message-ID: <87ilkzqqvm.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=maciaschain@posteo.net; helo=mout02.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, RCVD_IN_MSPIKE_H2=-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" 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=1664916651; 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=Dx4eHxv+gHLFZxAgr1kebGGrtX6MYHK5/pam25bttFc=; b=KbvQfbxHjs3A1NZNpL+teI4hSmVdQIp/TeEBVJSz/MVRGilOlNF7Ae6zRvDKgpBtySD/0P F9WOoEyOIE8RUy29jqZszf0L+3zROveL3PUGGeGs0gOC5Jn1gI/i8Gt/4nlLEvaP6jgyqA I7SuRi2C8Nlp6lVPQ2RIAiezdZtqw+jbWl6U/5ErPxcwoIB4MyRMGMGHk8ZFSFJNZhXjpt vtmQcjaF2OibEcC2FuXgnivJyXaBY89S7JfRYvGrOIb4Lm4uXWRQMhkp9X4DcuPSkhIYBV /9CvibbGTJkn55uXazF5gUOgfFAnaBTXeYxe82PAaHFaWP+MDAtVtGz1F9QbgA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664916651; a=rsa-sha256; cv=none; b=YjW+BBIuPEkcufwJZLc8w2AnhWJ7OKUPpdS6/Mp125yiGAHWGBGOyer2ZKzD2t/UjhpXYM 4iE1fuRMARfddWhK6xPkCisG3m63z4Lf+zaCQF4aHnKmTpI3Ex2S5A368dEicN0mNJB5Xr MEUNAIYwR9mFeOWBS8Hbv5llnW+5/CLwM6PhDRgwxSmLmoTs9ncxM/sLF5GKsoo5M2HNI7 EFFQIz3SL1FEeszkQKJ89ZW7VQvEMypUpz6Qt2ojsFX6IAqoMOhgS8XqFd1sYJqPqqQ8fn 57/lQOoqS9e3Aim/sRnbzC7BGKGO70tUrSKQskNsrvPJpZ5uRcB4P1GjpvgjMA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=plTffHtu; 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: -6.06 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=plTffHtu; 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: A74902E120 X-Spam-Score: -6.06 X-Migadu-Scanner: scn0.migadu.com X-TUID: pPp7gWw7XoDY Ihor Radchenko writes: > May we introduce a new standard macro {{{page-break(backend)}}} > that will expand to an appropriate > @@backend: ? The macro seems like a good idea. The only (minor) inconvenience that I see, if I have understood it correctly, is in the case of LaTeX, where there are several commands that do different things: \pagebreak, \clearpage, \newpage, etc. Since \pagebreak is a more low-level command (introduces a hard break), it could be left as the default command \clearpage, which starts a new page and ends the old one. I don't know... By the way, in LaTeX there is also the opposite of \pagebreak: \nopagebreak, with a mandatory level from 1 to 4. I see this type of commands more useful for defining new LaTeX commands than for inserting them directly into the document. And, in any case, I think this page break topic is most useful especially for odt, which only has a hard break (and also splits the paragraph in two if added inside the paragraph). For LaTeX, after all, putting things like @@latex:\pagrebreak[2]@@ doesn't involve much verbosity. Anyway, the opendocument schema is completely arcane to me. I have taken a look at the Org Manual and it says that this snippet adds a page break in odt export: #+odt: But I have tried: foo #+odt: bar and the document is not exported with the page break. I don't know if I'm missing something. But as i said, XML is beyond me :-). Best regards, Juan Manuel