From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 4LraObpn72WmewEAe85BDQ:P1 (envelope-from ) for ; Mon, 11 Mar 2024 21:21:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 4LraObpn72WmewEAe85BDQ (envelope-from ) for ; Mon, 11 Mar 2024 21:21:15 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=OA9vJJl4; 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=1710188474; 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=3LGKsh/GToKTuCmNmc/ObDORvN5Bh66lh51p3tUjisU=; b=aHrj16P4mLmmmqO4f/hSA949MtVgx20y8OX1XVkQfO/KdVQN/gqVtlg+Bzu8WXEB5yzzCG GNkGH4ydH7kCeRNKUtBdtuCqjqocIi7ivlE6qg2g5kHsspmosYhTQ5WRg+k1XDTTdbwUU4 FvUTR3gGQQcraPg4hr30YxCwwy2Jy0agsfp7ZkhGtwMlHSp6xl1ExgKx9cruPxkL0UHUJE 7SlT00xPGdleKHTFEaj8ClbzLcV0Y3iHJ5s3FGQyP12oWArayyVo5MBZQjIs7/R4TpC15s Vsjl8+dfLC1ovRXSYpt5vxwV3Q977N/bgWhoE0guanbT1eirR8O+TladhWMBTA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=OA9vJJl4; 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=1710188474; a=rsa-sha256; cv=none; b=q0adM2vxRSOh/Z5slq6mbGhZvyYmEt+vX3zUg/NSJVTLi1+0B/rBqT5guOTcM7D4vuKt0X FtirNVD8Mm0n1i5wH16zSXBN6mn48Yx0KtUguNOqOCyB+69pd7j1AEmP3Qns8mgLM1dpqH SyYoBYwUoKMUX48AOjlCSGYdo/iU9Oha8SrU64RsQVnn+bLsibXZPu9kRaXe9AmbH/ngsV /W28lF8FEq4jlC/h8cdfYpGy+YfPCeZ779d6mwrVwOwLuqbhlJGjee3HRV4NttuKPibUa9 RS0dMXw1n48wOpdLUB2x4mTU4NEMLfw2VQZoVJM6PW9t5XGAtXeuyH0OJnOnnA== 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 C4E2F55078 for ; Mon, 11 Mar 2024 21:21:14 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rjm87-0008BN-JD; Mon, 11 Mar 2024 16:20:15 -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 1rjm7x-0008Ak-52 for emacs-orgmode@gnu.org; Mon, 11 Mar 2024 16:20:09 -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 1rjm7r-0003tw-JZ for emacs-orgmode@gnu.org; Mon, 11 Mar 2024 16:20:02 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 2C5A2240103 for ; Mon, 11 Mar 2024 21:19:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710188397; bh=3LGKsh/GToKTuCmNmc/ObDORvN5Bh66lh51p3tUjisU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=OA9vJJl4RsIR/TwrEtTsrsZXMsczMdLvGLsc3rypu5STkO2UQgMvsZ8YpUJV75pfV +IDIY1huoWBKyIkzFQvl6QkmIp4eHhKBZZynBx7j/WvQW+0ms1aQptIZezvl/4eWIu cgZTty9mzHK3uh+91F8wuB1rNSfgHGnAxYcbi1syCV9EdQ/TG8JP4mZRgW6chslfI2 pNvMm4gAtyyUp2JeI8C7wTdlCZL/DMahSvy5LPGlrzF64SBVVSk+a9jIFzsNag8puy fy/M7ZUY5H9ZE4SvA01Ag7hVRxyzt+ge98TG14NA6h2ADs37auyI1YIwWabY6Cz/vU jYQy9ed8Ibi2w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Ttp6N4RLcz6tx0; Mon, 11 Mar 2024 21:19:56 +0100 (CET) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: `:export' attribute?: Re: Experimental public branch for inline special blocks In-Reply-To: (Max Nikulin's message of "Tue, 12 Mar 2024 00:01:02 +0700") References: <87wmql6690.fsf@posteo.net> <87cysb2h68.fsf@posteo.net> <877ciavnwo.fsf_-_@posteo.net> <87bk7k7tuf.fsf@posteo.net> Date: Mon, 11 Mar 2024 20:19:54 +0000 Message-ID: <87wmq85xn9.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.34 X-Spam-Score: -9.34 X-Migadu-Queue-Id: C4E2F55078 X-Migadu-Scanner: mx13.migadu.com X-TUID: /PK8KJc2fLDG Max Nikulin writes: > Your example uses a closed list of backends while "not (html or > latex)" may be applicable to ascii, rst, some wiki dialects, etc. Makes sense. > Backend-specific markup may be more complex and content of fallback > option may be different from text used in export snippets. Perhaps I > shouldn't give so simple example. I think I have understood the essentials, but perhaps it would be good to see a slightly more complex scenario. > Side note: I expect that the new object will be more convenient than > export snippets in most cases. I think so. In any case, although this object is proving pleasantly versatile for us, I think we should not lose sight of the fact that its main purpose is to be an inline text container with export properties. Exports snippets are more for literal code inclusion. There can be border uses between both objects, as there can also be with macros and links. I suppose the ideal is to always choose the feature that best suits a given context. One can put, for example @esindex[:export latex+]{some word}, but in this case it would be more comfortable to put @@latex:\esindex{some word}@@ or even use a macro. >> :export "latex+ html+ rest*" > > "rest" might be a valid backend name. I will try to implement the "rest" option. --=20 Juan Manuel Mac=C3=ADas -- Composici=C3=B3n tipogr=C3=A1fica, tratamiento d= e datos, dise=C3=B1o editorial y ortotipograf=C3=ADa