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 ms8.migadu.com with LMTPS id OMCGF71c8GVZtwAAe85BDQ:P1 (envelope-from ) for ; Tue, 12 Mar 2024 14:46:37 +0100 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 OMCGF71c8GVZtwAAe85BDQ (envelope-from ) for ; Tue, 12 Mar 2024 14:46:37 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Ppaq74MF; 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=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710251197; 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=hyHfn+sVTNKkiQ0yL7+XjQ8Vho78YNB6hhAs6RvAkvM=; b=py2z5NEWU1wfDCMuR1WWpzMEtLUua9G8B2GmTaRed8QO6FZzbbShjhHHhBhG4cmofZIcfw XY8UEmNhFcH3zla44FmAR+CsVONHrvRCLdPwfHOHtxgYXjVSx3x1xfTU1N4xKJ7hF2FTFA oAF5oEwRGNXOBk6xbO1k0rBVEYPbD/wf2uOJjgZ+v7mfenek9vtStopXZPr/926Z7SxJIC aZeG6rhS70TKFzU3ilH4i4xZLW0p48q1HZdVLf6nVdc+NwzCSRA4+eFGjOfpLTGFdCt4ah 3nhCi/30yEQm6OvW8FOZEqsHyQFeupfiUzuNXAkLff7TPGaXK1FdEy6IQKBz1A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Ppaq74MF; 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=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710251197; a=rsa-sha256; cv=none; b=tq2v5qmDKi/vbuORH6TLCy2jSt++9MF5nSXF9QPN1fHyEyWnoxCTpRjS7y8SirfnXGGb3G w4zL1Jvuda+/iOBQ4kPbrPJGCdEH6+6HN3vCrEjjMA8gm+cdq1TSgOXWUpd3oGK+17Qt1T a44ug7XV17SFXp5dJPV4dmwE0jON1rr7OkPazjTwiVooL+QlVrE6NkWwgPzbk3S4tiVj6/ sqmV8SCd2vKB7qh2cFSPDnzxP0PCD2V248zV8ZuQU5tTXovCmBmBmmA7kUg81hYeri0Qno Eukn3cK0HzfAhW2+oD9GdId4aIImxRvHRxW3Dotwe9q6Y+BqjKOVI2S7j0TZmA== 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 414F431EEA for ; Tue, 12 Mar 2024 14:46:37 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rk2SH-0006i5-SM; Tue, 12 Mar 2024 09:46:09 -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 1rk2SC-0006Ze-Ru for emacs-orgmode@gnu.org; Tue, 12 Mar 2024 09:46:05 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rk2S9-0004Qf-VN for emacs-orgmode@gnu.org; Tue, 12 Mar 2024 09:46:04 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 86273240101 for ; Tue, 12 Mar 2024 14:45:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710251151; bh=hyHfn+sVTNKkiQ0yL7+XjQ8Vho78YNB6hhAs6RvAkvM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=Ppaq74MF4TAEmbSmdz06MhJtL/Aij7pNI7j0LMA9w3SjL1mPnnSuiIAtwxddWZNi7 /4Nkvy22lAYLUURznak0DiAWHPvW7V1kE8d+iy8M1NXQHFkhZl7PbHKLfyKPzq/zd6 TUiprSni8dRDV7r0MxNChGv5Ef3X+145Cr/q04t/dSO8yqzaijBeZL0i1fet72PaNr lWaJpzoUAnJypqMTeFCb7nn9q1a9CYsYUhvwlqFw2ZJB1vu/p+T63vsMhLUbrFmhrz uMwTgpxWrkiuY/gFR+PHrrCTQ6xNeMs0Au+xsi0kzPmfyDVXSIaMYuMe/y3KNbGYY3 aLGIMHx3Dd+kw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TvFKB5jxHz9rxG; Tue, 12 Mar 2024 14:45:50 +0100 (CET) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: emacs-orgmode@gnu.org Cc: Max Nikulin , Stefan Nobis Subject: Re: `:export' attribute?: Re: Experimental public branch for inline special blocks In-Reply-To: (Stefan Nobis's message of "Tue, 12 Mar 2024 09:32:35 +0100") References: <87wmql6690.fsf@posteo.net> <87cysb2h68.fsf@posteo.net> <877ciavnwo.fsf_-_@posteo.net> <87bk7k7tuf.fsf@posteo.net> <87wmq85xn9.fsf@posteo.net> Date: Tue, 12 Mar 2024 13:45:48 +0000 Message-ID: <877ci7bm2b.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: mx12.migadu.com X-Migadu-Spam-Score: -9.49 X-Spam-Score: -9.49 X-Migadu-Queue-Id: 414F431EEA X-TUID: QLdZIUMXx7pQ In the last commit I have introduced some changes. Now this new feature is no longer hardcoded in each backend but is controlled by an external function in ox.el. I think this can simplify the implementation for other backends. As Stefan Nobis proposed, the "+" sign is now not necessary: backend-name =3D full export backend-name* =3D only contents And the "rest" option is introduced, with the same syntax as before. Examples: @foo[:export noexport]{lorem ipsum dolor} =3D=3D> does not export anything @foo[:export contents]{lorem ipsum dolor} =3D=3D> only contents @foo[:export latex]{lorem ipsum dolor} =3D=3D> exports only to LaTeX @foo[:export latex odt* html*]{lorem ipsum dolor} =3D=3D> exports everything to LaTeX, but to odt and HTML only the content @foo[:export latex* rest]{lorem ipsum dolor} =3D=3D> content to LaTeX but full export to the rest of the backends @foo[:export latex rest*]{lorem ipsum dolor} =3D=3D> the opposite of the above. --=20 Juan Manuel Mac=C3=ADas -- Composici=C3=B3n tipogr=C3=A1fica, tratamiento d= e datos, dise=C3=B1o editorial y ortotipograf=C3=ADa