From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id UG46EYaPEmebEQAA62LTzQ:P1 (envelope-from ) for ; Fri, 18 Oct 2024 16:40:38 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id UG46EYaPEmebEQAA62LTzQ (envelope-from ) for ; Fri, 18 Oct 2024 18:40:38 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=YNHQ4gDA; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729269637; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=acs7p5d44OFwVW8iYHU60Q7v35Rgl0W5wDD33d/hWWM=; b=g+6zywXzQH1ujI8A8niJkK3Zctt7KLoL+uuoMoE+cW0P7J1xB2G1QW3FJzKDeXJvfOAHBu YmlIw+yW6zAWc3M0F5MfB3BHsIsBpwyA92qcN5poGIUxaddJMaf0PYi/2AcRwRpGIoaCXQ S5QNc1jNQ2l8MRpDjw4kE6ygdGIXZEGM00F1X8CnSIEf3Z2ydxuvjGY/DN5dICeN9EOCuA RxKki8jbUohemlgRKi5HKt8CtyARBR2zmmzBbJ+wN4thJeJyCnYwhW1IwGmtL5mddCoi5Y lbx1Ucql/Nf3PsifltKGFmnSUEg9hLlofcNGG8s74SEk08RXHGuVBeh2EiCmpQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729269637; a=rsa-sha256; cv=none; b=LS177tJY7Ds2+JaNgaBQiDFcFb1KlRVvbIxsw2cBfCBpF0ENGBXjS6aOvU3etD/iM9e7J0 t6DW+XHOI4fXfq4iqOb49ha7llki0xS5YtM+vd2BbpIfIJufj6rtWOJFpzfD7qXulN08qB GLG9ZntlSa+sLFhR0hZrmZ9AbaTtVmLmBb++lXnXeE32POaB/dNKsW1E7Skh5gOYfbqt0I ae33pTl5gjaS5PUlK1xl1kS6Z9xC6uBvnQKV/tt9vNYipzRBTeDL6dEHvK3CKMtxqx1VwX Bbz0PkfGxchjMstK61wIPYjN6Kz7lci6mqCKve3+TebbILGXfYjyqV9ehc5Tcg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=YNHQ4gDA; 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=gmail.com 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 CA5617140 for ; Fri, 18 Oct 2024 18:40:37 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t1q0q-0006d8-Eu; Fri, 18 Oct 2024 12:39:40 -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 1t1q0o-0006cZ-Hg for emacs-orgmode@gnu.org; Fri, 18 Oct 2024 12:39:38 -0400 Received: from mail-qt1-x829.google.com ([2607:f8b0:4864:20::829]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t1q0m-0007GZ-Sh for emacs-orgmode@gnu.org; Fri, 18 Oct 2024 12:39:38 -0400 Received: by mail-qt1-x829.google.com with SMTP id d75a77b69052e-45effa9cfbfso510051cf.0 for ; Fri, 18 Oct 2024 09:39:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729269576; x=1729874376; darn=gnu.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=acs7p5d44OFwVW8iYHU60Q7v35Rgl0W5wDD33d/hWWM=; b=YNHQ4gDAsan6RI/VY27cr4j7c7OFCfXfD0mEWoXaa30e93HWIVA5Wx4Y1PtzkasoSO hxocfIfichQCeVDQrIUlgp2m6ZQts3BsmoPq7qCOnKmrwv/+vcB+q0lpJ9GYEhKkFQ4I Y1kZDHWTKhCYH4JfYVGUQ7twi4BLYiAQaTKdiJoyVrQr0i2jHXOthPYbAfR0WncTUxBr 56GpEWzHWZJEHgk3BBpmvY1z5Ff8QZ8V3tAhmc8w1rJhtzSMVfLwK1MBX3cCsRbSpapy VJkABWqWDFhL/fR+8C5uTyL0idXtmomwfO3gzLBK0RZwkn0Z2HaQ//eYuHfrwnk2HEDb S59g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729269576; x=1729874376; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=acs7p5d44OFwVW8iYHU60Q7v35Rgl0W5wDD33d/hWWM=; b=ouFZy4p8v1eA4rYqQFcrf/lyV9vf1l/b7xaMfMwAJMmBo0bQy/AMmTnDc38CAgT7qU cVsY5SEstN3FKFBTVMZE4vQgBcOzdYF3iN6ASdPUh2wLgRqP05REtyomCJe3oYIDQbkr hEdABY9jDA1I+Ouihc7Jglg07qeEemzrc8ZQ6HaStoPFu2LJavBs0BbbKPHKhIpkQ7Py pHQ230cQSm+tHV5ViEMURblTxBdKbKpXk2fBtLEbQ+ejincYDWMkSGJ/AQqzXTbAdANW 5hwd6PazwwyvKtUOEvShlvy4zUscRR+0yJdjxXLjTmZ8neiXajW6T3U0RxK45yVqGIG3 hO3w== X-Gm-Message-State: AOJu0YwrXuesANqpr0pJpNdM9wCs7dK4348cdmfLQp8L832004OKJA38 m6L0fRl43clUIJ3OVdCxrjVZjBTg5bJpVI9zEx0ot4K9pnAFrKD7KYfqK9xwFhjiSATl3Acb45N 5KT+KS/ZmFqBBGGS510SD71i8jpvDMmm9cCc= X-Google-Smtp-Source: AGHT+IHnu4rRK2yKvMEDOBBxU2ZMbnKr2s0FHCGOrRYcNfU5JQqzzj/Xx1cirmUOJ+oaSFsQu0WQTmavrWZahNqG6cI= X-Received: by 2002:ac8:5acf:0:b0:460:9a81:38e5 with SMTP id d75a77b69052e-460aece86c5mr21558061cf.3.1729269575491; Fri, 18 Oct 2024 09:39:35 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Laurence von Bottorff Date: Fri, 18 Oct 2024 11:39:24 -0500 Message-ID: Subject: Re: How to in-line change html for specific paragraph only To: emacs-orgmode Mailinglist Content-Type: multipart/alternative; boundary="000000000000c4b14f0624c2f2b0" Received-SPF: pass client-ip=2607:f8b0:4864:20::829; envelope-from=borgauf@gmail.com; helo=mail-qt1-x829.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 X-Migadu-Spam-Score: -4.85 X-Spam-Score: -4.85 X-Migadu-Queue-Id: CA5617140 X-Migadu-Scanner: mx13.migadu.com X-TUID: BF8Ot5OTsYuK --000000000000c4b14f0624c2f2b0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Just solved it with this in the org-mode file @@html:

@@my text here@@html:

@@ after adding this to css file p.myindent { text-indent: 0em; } On Fri, Oct 18, 2024 at 10:52=E2=80=AFAM Laurence von Bottorff wrote: > I would like to temporarily suspend a CSS rule on an org-mode export to > html. I have various CSS things going on in my export settings. Finally, > I'm overruling the basic html export behavior with this > > #+HTML_HEAD: > > which is specific to my ox-tufte > html export in order to achieve a not-included "literary" book paragraph > look, i.e., paragraph has first line indented, paragraphs have no gap. > However, I would like to suspend the indentation only once in a while > throughout the document for specific paragraphs, e.g., a first paragraph = of > a chapter -- but just for that paragraph. However, if I do an inline > somewhere in the text, e.g., > > @@@@The sheep and their > Cumbrians, an age-old partnership, together since the ancient Norsemen > brought the hardy Herdwick breed to the high and lonely Lake District... > > this changes *all* paragraphs to no indentation everywhere top to bottom. > And reversing this at the end of the paragraph back to 2em just changes > everything everywhere back to 2em. So how can I do a temporary suspension > of the indentation for one paragraph and then turn it back on? > -- > =E2=A8=BD > Lawrence Bottorff > Grand Marais, MN, USA > borgauf@gmail.com > --=20 =E2=A8=BD Lawrence Bottorff Grand Marais, MN, USA borgauf@gmail.com --000000000000c4b14f0624c2f2b0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Just solved it with this in the org-mode file

@@html:<p class=3D"myindent"&g= t;@@my text here@@html:</p>@@

aft= er adding this to css file

p.myindent {
=C2=A0 =C2=A0 text-indent: 0em;
}




On Fri, Oct 18, 2024 at 10:52=E2=80=AFAM Laurence= von Bottorff <borgauf@gmail.com> wrote:
I would like to temporarily suspend a CSS rule on an org-mode= export to html. I have various CSS things going on in my export settings. = Finally, I'm overruling the basic html export behavior with this
#+HTML_HEAD: <style>p { margin-= top: 0px; margin-bottom: 0px; text-indent: 2em; } </style>
=

which is specific= to my=C2=A0ox-tufte html export in order to achieve a not-included "liter= ary" book paragraph look, i.e., paragraph has first line indented, par= agraphs have no gap. However, I would like to suspend the indentation only = once in a while throughout the document for specific paragraphs, e.g., a fi= rst paragraph of a chapter -- but just for that paragraph. However, if I do= an inline somewhere in the text, e.g.,

@@<style> p > { text-indent: 0em; }</style>@@= The sheep and their Cumbrians, an age-old partnership, together since the a= ncient Norsemen brought the hardy Herdwick breed to the high and lonely Lak= e District...

this changes a= ll paragraphs to no indentation everywhere top to bottom. And reversing= this at the end of the paragraph back to 2em just changes everything every= where back to 2em. So how can I do a temporary suspension of the indentatio= n for one paragraph and then turn it back on?
--
=E2=A8=BD
Lawrence Bottorff
Grand Marais, M= N, USA


--
=E2=A8=BD
Lawrence Bottorff
Grand Marais, = MN, USA
--000000000000c4b14f0624c2f2b0--