From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YPdTGPbU42C7dwAAgWs5BA (envelope-from ) for ; Tue, 06 Jul 2021 05:58:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 2PMVFPbU42COXQAA1q6Kng (envelope-from ) for ; Tue, 06 Jul 2021 03:58:46 +0000 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 8E7C919200 for ; Tue, 6 Jul 2021 05:58:45 +0200 (CEST) Received: from localhost ([::1]:48146 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0cEN-0005a1-G1 for larch@yhetil.org; Mon, 05 Jul 2021 23:58:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42634) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0cDw-0005Zq-BR for emacs-orgmode@gnu.org; Mon, 05 Jul 2021 23:58:16 -0400 Received: from mail-vs1-xe2b.google.com ([2607:f8b0:4864:20::e2b]:36524) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m0cDu-0006la-9r for emacs-orgmode@gnu.org; Mon, 05 Jul 2021 23:58:15 -0400 Received: by mail-vs1-xe2b.google.com with SMTP id g25so2118532vss.3 for ; Mon, 05 Jul 2021 20:58:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=uPuqFH+vHnDInixBTGefTrj7WI9SsMc++EGeNPYRSpw=; b=GFy0nWvvo0CPUmHTWkGjDU/WfIRBhfa1O5cb+AFziLOZSah1u50qtb2z+ZhksEsJwK AbfkA0D4Ny67afYHGGDrK2N9732KrsWfdqs04g7/wkV0u4hjbEMfO801/2z1VHcEza2y dZE5cldukcYzzIdl8bdZ038+R62YfvRZsd6uvC8uMRM+Sf9otPqimCq06KVCNS5E5TeJ iq7vAdzROalIN9EarWba+lU1mWJgIZjkN6vxk58EUEZZmB4LeSLzF9VmWEGhGGocddg5 J1xDlfWS3v0PLR5IhOqareKKaZAGSHw+56rzBgFZQQNq4un9EPu4WgxWobw+RNWloE/g hY1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uPuqFH+vHnDInixBTGefTrj7WI9SsMc++EGeNPYRSpw=; b=SLyNfj5SkQkKbIoi+OTGz722PpuNbdqTqHjMXSbYod5T7ddJbjMdDfh4M2B6qQTC/a HHcY+Djqim9r/RSrUtFfPcmGA+eULhMcQSL9erYorFNX680ToysZuzu7n0iE8Xi5ZAsN ODYrq+BSb3NkVdgIzcAPAhaRYfTLl1mJL+qjimjnClzr0+1u40MvSgjxZhVRgIerrXCS 3Nsa10pfP6RstJ0aZ6cvIcrfRhlK3Kz4w9Zj/ZULOqHgrIw5LMPSl/DMkjth4lBz//3r /IIiPF5M1IAE2JwCC61ichPFqI2qocapFgqtVNJcGmMCoRzJn+elGxGbXh5nJemxaBL5 jdnw== X-Gm-Message-State: AOAM533j7pcVgbj24UxlzPN1INX4pTZKAsFDn2iM+4vZas9kSfrMEmfs dYAS4fhcmlojY31ECDWuM+Wj7YA2iQJ3ZyH2FWk= X-Google-Smtp-Source: ABdhPJyFfb+cNrS0aNlZXODCFBCer9L3+wSeJOMgqYM5SgOKuYLRa68dia3ZNwZ8WfmiFTKd7Iw8pPVQ+n7o2NWEUpE= X-Received: by 2002:a67:c88b:: with SMTP id v11mr12558891vsk.7.1625543893175; Mon, 05 Jul 2021 20:58:13 -0700 (PDT) MIME-Version: 1.0 References: <87wnqagg8m.fsf@gmail.com> In-Reply-To: <87wnqagg8m.fsf@gmail.com> From: Matt Price Date: Mon, 5 Jul 2021 23:58:01 -0400 Message-ID: Subject: Re: allow HTML block to escape from outline-text div? WAS: BUG? unable to surround subtrees with html tag To: Timothy Content-Type: multipart/alternative; boundary="00000000000051cf5705c66c6e63" Received-SPF: pass client-ip=2607:f8b0:4864:20::e2b; envelope-from=moptop99@gmail.com; helo=mail-vs1-xe2b.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, 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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Org Mode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625543925; 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=uPuqFH+vHnDInixBTGefTrj7WI9SsMc++EGeNPYRSpw=; b=o6n0DiFac4vfNcbQVkdODdpEsDnzOXfYqa3VSRLiW84yIMhnwKslkg29gJOFBq4FAhYVRx xwvV2LRinP3ISUU9TjyQzjyvb9sWnwctSlNlH2rfU4borOsQ/e0WLQHJJZgRzmuIAEcWT+ /Z82l7iMs8wDOiVgokzPxnfWUlBGLYzYOuBXrhYv0rE/CzDewueBncOFlQel2v3W2pa+Z0 mDdhYHoAohStI9EWTAbPGx4df+nVDDD3Dg5OK0AvQ5hzCrjFCmW+oZNMKOOzWvIdjlgS8i I8dVMWTaP4sJ/J8hfHjg1ADOzpwP8sCQ4Sp70yUqNWPx41BjHXyd2zh5uU0c8Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625543925; a=rsa-sha256; cv=none; b=j9/2HpR2TJROXy+3LGumGKes2aRddWacBqeERv9XSHYi7+mu5uC9syAL/S97pfhvDVU4UC UPDYo/uIuAD43BJd12xiWNOFtEyzzrarZF9lZEwdO8AaDno0TRkKlh4vg0Jy7u5ytuuxvT PmA1y5MJnkSj+bYJSlTMdm69DynI56ZMlUzrVlQwYy/2QFGmq9KAxoynhsVazHhRAlE+S2 Ke/d3MDhflZUkE2Eq10+EOAFHTZedwIa1g6RVsP0USWNA2Rb8VxCExSdmMO6m3WZGtxsMI ksZnzLnRpmuu2z2l87DbyPRPUWEQfUoL+OxS5B9hsKmD9BIGdCmcXWMq+pmO2A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=GFy0nWvv; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.11 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=GFy0nWvv; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 8E7C919200 X-Spam-Score: -3.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: BIksNbbXoWRW --00000000000051cf5705c66c6e63 Content-Type: text/plain; charset="UTF-8" On Thu, Jul 1, 2021 at 12:18 PM Timothy wrote: > > Matt Price writes: > > >> I would like to be able to surround some portion of a subtree with a > tag, > > > Sorry for the noise, I believe this is user error. I misread the > exported > > source code, and firefox's developer tools added the closing tag for me, > so > > I kept not seeing my mistake. The error here was not realizing that > section > > contents get wrapped in their own div with class ~outline-text-N~, so my > > ~
~ resulted in malformed HTML. > > > > I don't know if there is a way to somehow slide my own html in between > the > > outine-text element and the outline-container element for a child > subtree. > > If someone knows a way to do this, I'd appreciate a pointer, but for now > I > > think I have to find another way to accomplish this. > > As it so happens, this is something which has come up for me too. I > think in the future it could be worth adding a property that can be used > to wrap a section in certain HTML tag(s). > I'm dealing with it again tonight, and I do find it a bit teeth-gnashing. In this case what I'm looking to do is to hide a whole section when the exported hTML page loads. But right now the subtee children of the headline remain visible even when the text is hidden. Whoa! I just realized I can rewrite this myself, since it's a derived bakend. I guess the export happens from the leafs upwards, so that the contents are already rendered by the time theadline is being processed. So in my headline exporter, just had to wrap the contents in an additional div. It works fine, I feel great about it! > > For now though... the best solution would be what Richard suggests. > > -- > Timothy > --00000000000051cf5705c66c6e63 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Thu, Jul 1, 2021 at 12:18 PM Timot= hy <tecosaur@gmail.com> wro= te:

Matt Price <mopt= op99@gmail.com> writes:

>> I would like to be able to surround some portion of a subtree with= a tag,

> Sorry for the noise, I believe this is user error.=C2=A0 =C2=A0I misre= ad the exported
> source code, and firefox's developer tools added the closing tag f= or me, so
> I kept not seeing my mistake. The error here was not realizing that se= ction
> contents get wrapped in their own div with class ~outline-text-N~, so = my
> ~<div class=3D"box">~ resulted in malformed HTML.
>
> I don't know if there is a way to somehow slide my own html in bet= ween the
> outine-text element and the outline-container element for a child subt= ree.
> If someone knows a way to do this, I'd appreciate a pointer, but f= or now I
> think I have to find another way to accomplish this.

As it so happens, this is something which has come up for me too. I
think in the future it could be worth adding a property that can be used to wrap a section in certain HTML tag(s).

I'm dealing with it again tonight, and I do find it a bit teeth-gnas= hing. In this case what I'm looking to do is to hide a whole section wh= en the exported hTML page loads.=C2=A0 But right now the subtee children of= the headline remain visible even when the text is hidden.

Whoa! I just realized I can rewrite this myself, since it's a = derived bakend.=C2=A0 I guess the export happens from the leafs upwards, so= that the contents are already rendered by the time theadline is being proc= essed.=C2=A0 So in my headline exporter, just had to wrap the contents in a= n additional div.=C2=A0 It works fine, I feel great about it!

For now though... the best solution would be what Richard suggests.

--
Timothy
--00000000000051cf5705c66c6e63--