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 ULcXO1eK6GX9WAEAe85BDQ:P1 (envelope-from ) for ; Wed, 06 Mar 2024 16:23:04 +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 ULcXO1eK6GX9WAEAe85BDQ (envelope-from ) for ; Wed, 06 Mar 2024 16:23:04 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=o8e1gKjg; 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=1709738583; 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=M7Wuf9yF/KPRz8i9NgChlOcmdVnI2I/I37VS6tMrTQ0=; b=QQUExa381Tm1RnH9mMCG+BhO/U7wC2eR/TfXfoYaohrFHYf/b/ThBUZZL/rY4PbkMiIwl1 E0iucQy43PsUeLXrEAx/rq/ObJPjwYwIKg5qHqf5hujCIo7Je5oRD43P7T6r0pBNTm3C3L kkEDVqC2dORtGYmxXGDWwQK1RfXQSAKXvZQoYo/oV9YNwbTwdxBmU+5N/Z7Qk3JTGwL/fk CDHOzQRmG+Zl0RzAAQuJT5Gi8KAvIJ0n4tukqJSSY6GiXxwGq+XAgUkuVRO2W8XjHdltg3 ZhHHbPlwdmtM2BxKnVIpQgByZYKmA6gSiJdmGs1PNy2KsoCwYAfzNEz6x702Tg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=o8e1gKjg; 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=1709738583; a=rsa-sha256; cv=none; b=APc5RpYe0303u0rhJDOPa88msAvOqTCNp3mobh2Id+h0lq1A5FIPW+3XNidKuMDy0IjhZn yp9RN4J+sG7oq7XP0A4Hkrd3l/4KyxDRDwY759xe67Jyf0jZLhgMmxtvR6kGtw9A0aXAGx e/0l4JkVaRu1mD7TPNhS0HhLH+hQS67L40QI6WNl2mApnp13acZAUipxzigPyM0F6GmFD9 gIBAZOTfWcVUkjb6z7ozLCISjRG2i2TGjGSEtHiLxUFd6QJdBJzPwdmHZrgXvMrxuknPVX mNxOvea2urW8W9QsuldBMyp/W0qdn3SC8mSy+cqjmHYJpn4l/gGy36awjSho8Q== 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 B716E15501 for ; Wed, 6 Mar 2024 16:23:03 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rht5s-0006Xw-MZ; Wed, 06 Mar 2024 10:22:08 -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 1rht5r-0006Xi-8Y for emacs-orgmode@gnu.org; Wed, 06 Mar 2024 10:22:07 -0500 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 1rht5p-00024u-CV for emacs-orgmode@gnu.org; Wed, 06 Mar 2024 10:22:07 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 650F7240101 for ; Wed, 6 Mar 2024 16:22:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1709738522; bh=hXj7eL3OgKiuDJAk8P+m7Y9ySp0Pqa92e5uRCHZZkOM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=o8e1gKjgd5MWsye2R/KddOy21/oQAR7Xhd1rMQkCwjtg6C7AeUtgxdJoTH1eyQRce b4TfB/WY54XSVFWdewSdPOvRryPrDgkLCS0u4KtggO3PdbAk/61aGwPS/7RbgQoW5n uYJZoEw0P1Jo2wcBaYuXdx9qPmXN2gTetVkmfq9aNZSG051eEhWhnymysOs5zb3Mch aEQ2qQjkQ0TANCVOi97FrOdqF32UCynofeK0arVye460v9uqakVq+OuJyETvbdeW2c DR15YUKQQzEklgX7BcvI72vvVUxgXyPNhXvyhKmRk4Xko7PrDZ4uJW+Ki0ABCpsV2r PXzA0IgqXs8fg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Tqbkx5VClz9rxR; Wed, 6 Mar 2024 16:22:01 +0100 (CET) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: smallcaps: Re: Experimental public branch for inline special blocks In-Reply-To: (Max Nikulin's message of "Wed, 6 Mar 2024 17:55:24 +0700") References: <87wmql6690.fsf@posteo.net> <871q8o37vq.fsf@posteo.net> Date: Wed, 06 Mar 2024 15:21:59 +0000 Message-ID: <87h6hj1j3c.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: -6.70 X-Spam-Score: -6.70 X-Migadu-Queue-Id: B716E15501 X-TUID: 17FKB5SSeY+T Max Nikulin writes: > OK, just consider it as my dissenting opinion. I believe that it should > be possible for the same Org document > > #+options: inline-special-block-aliases:(("definition" :smallcaps t)) > > &definition{Example} or &_[:smallcaps t]{ad-hoc} > > to export it as > > Example > or ad-hoc > > or as > > Example > or ad-hoc > > by adjusting of global settings. The former one be suitable for a CMS > that does not allow user CSS and the latter one is preferable for a site > under full user control and having CSS > > .definition, .small-capps { font-variant: small-caps; } With the current implementation this: #+options: inline-special-block-aliases:(("definition" :smallcaps t)) &definition{Example} produces: Example :smallcaps simply adds a (say) direct formatting layer. I am not a fan of any form of direct formatting. But, as I already said, I think that these types of global attributes can be useful for users who do not want to bother with predefining styles, classes or commands in odt/html/LaTeX, or because they do not know how to do it. They simply want a text to be exported with a certain color or with small caps, or with more effects (in case more global attributes are implemented (background color, text size, etc). I think an option could be added to disable global attributes or specify which backend they should be used on. Anyway, I would not see it necessary, but perhaps other users think differently. -- Juan Manuel Mac=C3=ADas -- Composici=C3=B3n tipogr=C3=A1fica, tratamiento d= e datos, dise=C3=B1o editorial y ortotipograf=C3=ADa