From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 6N54GpxW52XYZQAAqHPOHw:P1 (envelope-from ) for ; Tue, 05 Mar 2024 18:30:04 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 6N54GpxW52XYZQAAqHPOHw (envelope-from ) for ; Tue, 05 Mar 2024 18:30:04 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=AB89CgMQ; 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=1709659804; 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=+SX2twvudN1cFC1GR0XEHEAn252ph0hD7SPxJw/s6Ik=; b=rKBWQqEhG4PJsymLWBzOXwt03jKIwiAoGgrDZOIemfNkZJ1SRBGalOwpp6NX9f9qFul4RY 1BNt9oueXF+xAjLAU1VV2goAp/iv6vPN9icm1KHZTsQfUdAUIWHd+dfPE16kx4niNWfwKj a4eLpywMiOOuiaC3BcAY17ecF5lGa34SsAbDDRNXyfmmfz/5hCDKzejmhQ2c7gdFSotBoN 1yvDNImLnjDN8hX3ukjfGSzKM98IsYVv/5Pqacs6zWx68B5SYyQ7+uikPBvElOyxEM/VzN 3BHMDp58EdvQPtLXuXqZB4C4FGCyAuop28wQDb+pqG1Cmjkw8TZdiE3+ztP7og== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=AB89CgMQ; 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=1709659804; a=rsa-sha256; cv=none; b=KPBQqo3lHGtKanrXmOJJwbrs8vSj46jnTL/1LtMlSyuo/jQYd0FSZv9N32oLdLeT5GooAs LEqesvBIGM89mzKwfGUKKJU8CCNh99NEDKBXHAhd83di2nW8DcYFpnPbpjggrPX2X4sH04 VaY+sCAgBW0ReLkwiJmprmoSlE3sbAgvwbp5haySDQK+D7dUI0jZJ6SOzV6fZu2vHV1SBA p3FtLFfXHPImWHBw6JBngDwriZVQd7RAz06Y0UiQuodsC1eA3Dba4nl/dmiA+APII4KM6H ER/nrYGjVsTBug7CHDdBuZHu4D38uAAmodUAWgGXxazWVO5gcuDWbDNt71WhTQ== 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 3DBDD699F7 for ; Tue, 5 Mar 2024 18:30:04 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rhYbE-00086C-1i; Tue, 05 Mar 2024 12:29: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 1rhYbC-00085g-CN for emacs-orgmode@gnu.org; Tue, 05 Mar 2024 12:29:06 -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 1rhYbA-0001TF-5s for emacs-orgmode@gnu.org; Tue, 05 Mar 2024 12:29:06 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 94737240105 for ; Tue, 5 Mar 2024 18:29:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1709659740; bh=+SX2twvudN1cFC1GR0XEHEAn252ph0hD7SPxJw/s6Ik=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=AB89CgMQGAguXocKwL+jLGp/E+bFKsAobqOBbMWjXISzWOX9Yy8n5+bdToVKxMOUm NoZ1yVrMjX+VBnM2RtdIWtjoNpWUv0DAjJucKB2tYFDgmVuv1ftbFsDS5TyIOJ/Bc1 oBCYmFlFjTkmGFudXLSKmflUTdOLYqeTkDn14p4AXmR0Zm5wzosaAIcSYYHVNsCWds VVQWEQY08j4aNSWh9lbcsBk7ckoay6dKzpE5GjaCll94bAxwLXhmZI6Xby+xYuWAr1 236ncrgMvdNsOj5LnT+evq3I3UiKWUg19HJ6rCREG0oUrHS511qynceQN0pgL8x6tw MO7LOnnvgICxA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Tq2bw0hytz9rxP; Tue, 5 Mar 2024 18:28:59 +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 "Tue, 5 Mar 2024 23:47:32 +0700") References: <87wmql6690.fsf@posteo.net> Date: Tue, 05 Mar 2024 17:28:57 +0000 Message-ID: <871q8o37vq.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-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -5.11 X-Spam-Score: -5.11 X-Migadu-Queue-Id: 3DBDD699F7 X-TUID: XFpQ5MN6SBHy Max Nikulin escribi=C3=B3: > If some type is used through the document multiple times then it is=20 > better to avoid style=3D"font-variant:small-caps" and use a CSS class=20 > instead. Even for LaTeX it may be better to define a dedicated command=20 > to be closer to semantic markup. > > Moreover different decorations may be used in LaTeX and HTML. Some type=20 > may be typed in small caps in LaTeX, but in HTML it may use regular font= =20 > and some color. The "global attribute" concept implies that there should be (ideally) the same result in all possible backends (naturally, if the output is plain text, :color doesn't make much sense). Global attributes are a quick and easy (for the user) way to create direct formatting, analogous to the LaTeX commands \textcolor, \textsc, etc. Its casual use is the most recommended, in my opinion. Let's imagine that a user wants to color segments of text, in the same color, for LaTeX and odt, and does not want to bother with predefined styles or macros in odt and LaTeX respectively. If a segment of text must have a different appearance, for example, in LaTeX (small caps) and HTML (red color), you can put: &_[:html style=3D"color:red;" :prelatex \scshape{}]{text} And if one wants to have more robust control, for example because many text segments must have a certain treatment in HTML, odt or LaTeX, styles, classes and macros can always be defined in the output format. Additionally, there are the :odt-style, :latex-command, :html-tag and :html-class attributes to override what is necessary. What's more, in specific cases global attributes can be added. I think that the current implementation is very flexible and gives rise to many possible variations, and the combination of direct formatting and styles to suit the user. --=20 Juan Manuel Mac=C3=ADas -- Composici=C3=B3n tipogr=C3=A1fica, tratamiento d= e datos, dise=C3=B1o editorial y ortotipograf=C3=ADa