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 8DFTCJ+492P5DwAAbAwnHQ (envelope-from ) for ; Thu, 23 Feb 2023 20:03:59 +0100 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 YAJKCJ+492M6/gAAauVa8A (envelope-from ) for ; Thu, 23 Feb 2023 20:03:59 +0100 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 B14C1430A6 for ; Thu, 23 Feb 2023 20:03:58 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVGsh-0004oX-3W; Thu, 23 Feb 2023 14:03:51 -0500 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 1pVGsf-0004oG-19 for emacs-orgmode@gnu.org; Thu, 23 Feb 2023 14:03:49 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pVGsc-00062R-Ux for emacs-orgmode@gnu.org; Thu, 23 Feb 2023 14:03:48 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id CBA432402E4 for ; Thu, 23 Feb 2023 20:03:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1677179024; bh=+1Ix4N0uMXoPX5uHCRVhWxykkM5TdJrlmQS4RwDCV9Q=; h=From:To:Cc:Subject:Date:From; b=W6gxwTpGOQqBKILGdjSj5uZP43pVJcn0+wgvASoSeWEHroG54zJflFqRG4UPeaURV 8YBPj0oNetRJ82njwHKnV8VrQGKAORKGNt9+A0OwpkwtDHZeSeenLYZvmo5q2XXyJd Oo9y4EvgX/Uiy61vjDdJ2Z9tkjDKrB8VPdZx+K34tRXfFq3JpguMvC688i+5TFG0u0 SCZM8TKgA+7aFPZnO1qEGPk3PWTpOwxxGGtEckz9GnurT/V0Yse6tBnQNCVzKCF9h7 +UPnkvHpqj8/uTKfuUbkH8ZsAvsmwo0viQAUTgc6OEowxnpBPrV0GUf1hHkdViqWuL hh6znuI9Oi5nQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PN2Vl6C0hz9rxL; Thu, 23 Feb 2023 20:03:43 +0100 (CET) From: Ihor Radchenko To: Bruce D'Arcus Cc: Timothy , emacs-orgmode@gnu.org Subject: Re: [POLL] Naming of "export features" In-Reply-To: References: <875yc95rxp.fsf@tec.tecosaur.net> <87h6vfnl3a.fsf@tec.tecosaur.net> <871qmhdh3l.fsf@localhost> Date: Thu, 23 Feb 2023 19:04:23 +0000 Message-ID: <87bklkryo8.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@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-bounces+larch=yhetil.org@gnu.org 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=1677179038; 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=iK3S5u6c+ew3V8YAj1BlVDmJMfRf4alFresstN1bOyk=; b=cVQ8CF+AeHTNGBYNt13Sbt2Rf1oMYMb9WqI6W5CoIHLGPPQRUf11tIaIVK9zr7rE/pfyDi 6VYxTGWdRTPLYO3b9WISPs4BgCFO5LIzJ5YsCt5MfjGmvP6rU4zXoRyhTtvidyxhqTrlnD FSpMO7gC7kIUcAcMUvLrgvN7x8Gs6x9pryh1AZaTW537t4e1RFSj5hRlnZWstA0QvcRcJN 200ziSQsw4xR4tCbbE2wx/5FeINO2OLmw3OvaUlK54Neqak03lfjYwF7bPZZYhIMrS8qq5 rSVi9X+/WyZXpzLglByeExSlBRH5s+HCqjukki2X+h3D7LiH3khtMNrOBhsPsQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=W6gxwTpG; 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=1677179038; a=rsa-sha256; cv=none; b=psb+yORLMd90c+7WWGkhTGVX2MY3tq9BG9IfQKZrsGli3p3o4MDQ7mHBZBCIQiwnnUgbro T54SnyP1RguBJk5KNI+TVxxoueRGLdS6J5/Y5GZeOBQEQsG2ODKhNCa/2OXI1dwSoTRX4R QFql/RFW27TXU14opbHJjhpbUp5m7kVa6TLqh7AAX27IL0po8H/Bj2YUh3bkTfSxJjLk9Y TssAh+sETYagQKyRYxyBeZp/2o9corWrKltH422wfuk4V7Z0QRUXKh7sOKQG5CAOEKmsoU xLnJ6aY6KX2FIMqlo45VpXPCw28/La9wmvGedTyYgAf/YcQgZNjJJEinjA6Gcg== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -6.16 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=W6gxwTpG; 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 X-Migadu-Queue-Id: B14C1430A6 X-Spam-Score: -6.16 X-TUID: JPV309PqYp0W "Bruce D'Arcus" writes: > I'm not really following this discussion, but is this perhaps similar > to pandoc/djot's notion of "filters"? > > https://github.com/jgm/djot.js#filters Nope. Filters are org-export-filters-alist. What we are talking about is a generic way to test Org buffer contents + AST and including/not including something into export output according to the test result. Like, 1. If there are images in Org source, include image-related CSS into resulting html 2. If exported paragraph consists of a single image, export it as latex "figure" environment. Otherwise, export as proper paragraph. 3. If we include \usepackage{foo} in latex export, there is no need to \usepackage{bar} because "foo" loads "bar" anyway. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at