From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4IqQHZQQ0mDv+gAAgWs5BA (envelope-from ) for ; Tue, 22 Jun 2021 18:32:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 6LgxGZQQ0mBrVQAA1q6Kng (envelope-from ) for ; Tue, 22 Jun 2021 16:32:20 +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 64E2B22F42 for ; Tue, 22 Jun 2021 18:32:19 +0200 (CEST) Received: from localhost ([::1]:47274 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lvjJx-00009Q-HF for larch@yhetil.org; Tue, 22 Jun 2021 12:32:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40468) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvjJL-00008H-HY for emacs-orgmode@gnu.org; Tue, 22 Jun 2021 12:31:39 -0400 Received: from mail-vs1-xe30.google.com ([2607:f8b0:4864:20::e30]:40562) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lvjJI-0007tF-KP for emacs-orgmode@gnu.org; Tue, 22 Jun 2021 12:31:39 -0400 Received: by mail-vs1-xe30.google.com with SMTP id b1so11575523vsh.7 for ; Tue, 22 Jun 2021 09:31:36 -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=fe6B1kygyj/sHrMAUHQun5nzeRtz4VRWr9hhWS5FETk=; b=pAzPO667rhDZx5FADGARwDGkbIar47/bGXTYomKZHbHZObeTQuD1gTsfXclaDcp+dj IGstRE+g8hU7cZBNuxVwaTMYShQCFwEC48y7jbgZlJszjZERjDG8D1IHywK3rdzF9JXc XXV/U3QdxbBkpgKg2vAO6ORcjd5kwy8OYDsSpdoNr12QmW7Rgx56acaw4mSdTIP5KewL wXjQAkuj3Ke5YJnSQQL4F3wP6jgAhAtlqiCQqmPChITZ6CODT5acZoRq3Oodaii10Pm0 7zbdBaeJM76QiwepExXkACSevHNRDTJ7HfNfmNNvUff0DLOAxih9V9jBlQMI+A7peQ2Y shpQ== 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=fe6B1kygyj/sHrMAUHQun5nzeRtz4VRWr9hhWS5FETk=; b=D+7hXyVPKwfnLUZJ71QDqP8utQnDj0WTjAcvmoFDtith0amcWWY6cZgrpKVWnKW9kt Ez4qfEMfRExJg4ML9I0oNrIaa+stzE1cgIJycmOD+9ztCE7G+TAPFJkXVLS2StsPS+oH wIWe2j+Ta733xgKlm6cwWFndxuFEyqdoiPR2+tq6DrtQFe/AZ3BkjAWrnS9TPCRR27tM z69T8KhSFVD6KhsldLzIb/466Qtq1MUYivQHN/nT72IgynKSRh0K/UbijC3V/xVAkHjC icM+dmlWRjcU55wRhFrlTZgnzENOkzpCSd1ZHbtcdqqqgtFQQwJrRMmpZC1UVURARDUS VzZw== X-Gm-Message-State: AOAM531h/3wuEFU+WZEII0nTDaJY9u87NTfiTvO9d961U7dSjClnAsbH KpG/KrNUkn9nHPsRUUwfGBfiurp21FH49LnCTS8= X-Google-Smtp-Source: ABdhPJw5tui90DmSgp+pMdsfbqgC+2oXf4IcNM/1k6srDmmWKglhWionEM0LmRWY4FFyAIVP3xDeh5/LoZRicsuQw6Y= X-Received: by 2002:a67:fdd5:: with SMTP id l21mr23888536vsq.30.1624379495366; Tue, 22 Jun 2021 09:31:35 -0700 (PDT) MIME-Version: 1.0 References: <875yy6ti7r.fsf@aquinas> In-Reply-To: <875yy6ti7r.fsf@aquinas> From: Matt Price Date: Tue, 22 Jun 2021 12:31:24 -0400 Message-ID: Subject: Re: allow HTML block to escape from outline-text div? WAS: BUG? unable to surround subtrees with html tag To: Richard Lawrence Content-Type: multipart/alternative; boundary="000000000000cd460605c55d5253" Received-SPF: pass client-ip=2607:f8b0:4864:20::e30; envelope-from=moptop99@gmail.com; helo=mail-vs1-xe30.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=1624379540; 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=fe6B1kygyj/sHrMAUHQun5nzeRtz4VRWr9hhWS5FETk=; b=nhFQoE1Bjl32BqQTn0lqphQP4KtNKpS/PqnQQm/KRigxZij4ty/11J+H0nANCoT/6ETY8Y xIUMAc14h8+Aam60vRH98H7yg9PRKBJnsQn86z0/6zpzO0wPFMUh+X9nFJ1drVVfmVRu2Y PQ6zQmKpFBzBqSsssJDwRVo2TZJ9TV9JthDF/kdobvWsadBUaBjkIvzWHSKWd6bTfSTbW3 tPNWbe7hFJwPIb2GVZaXaLsXly5FxXiYhIpKXfHm1/0RE3k4zkiEA9tid+bh1GdLpBZP0r 7Y/f1hnDzVfhAkJy1DZNWB2N39WnLEqBW1lW+XJco9rZG92/BH8Rtm2rxh+laA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624379540; a=rsa-sha256; cv=none; b=uuDbgNeVbg4o4ThcewXY3cf6j1UnQpB9DSkptKQwDzB89O32l2AgJzPQ1rJOYCNXU6BZrq renuqXBQv6dIx8Ei5t3WRbioY7fcCqKv5k0ZcS6Tji0MJKv6K05qTnPb5sewW6Qv1F6/la iwZCjLDz6GSU94sJ/3eZtBCE0SbBqLEmLbBTZvWAZonREs2pc2DgfHPee3/V3/dRD/6J+p V5QEEU/S3Trn5D4aUKz1EvQmtbxn8tpWShmrMWh3VT78DjXWTBlZ3SKew1LITdUQQ0Rxpu k0ALX4qd3cGjYS0me73CKQ/q28NCzkAFjJxsYsbO1LM43GjsMRTqCSYLBAStSA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=pAzPO667; 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.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=pAzPO667; 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: 64E2B22F42 X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: +4ord1HrUDEQ --000000000000cd460605c55d5253 Content-Type: text/plain; charset="UTF-8" On Tue., Jun. 22, 2021, 4:30 a.m. Richard Lawrence, < richard.lawrence@uni-tuebingen.de> wrote: > Hi Matt, > > Matt Price writes: > > >> I would like to be able to surround some portion of a subtree with a > tag, > >> e.g.: > >> > >> * parent > >> some text > >> #+HTML:
> >> ** child 2 > >> some boxed content > >> ** child 2 > >> more boxed content > >> #+HTML:
> >> ** child 3 > >> unboxed content > > > 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. > > Is it important that your two headlines in the boxed content export as >

? > > If not, you could just use a structure like > > * Parent > ** Box > *** Boxed Child 1 > *** Boxed Child 2 > ** Unboxed Child > > and use something like the ignoreheading filter (see Worg's "Org Hacks" > page) to prevent "Box" from producing a separate header, and maybe > various properties (e.g. UNNUMBERED?) to keep the boxed children from > appearing as part of the main outline. > > Otherwise, #+INCLUDE comes to mind as a possible solution. > > Would one of those options work for you? > I think the :ignore: hack will not work quite right, but the others I had not thought of at all, and I will try them out! Thank you, Matt > > -- > Best, > Richard > --000000000000cd460605c55d5253 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Tue., Jun. 22, 2021, 4:30 a.m. Richard Lawrence, &l= t;richard.lawrence@uni= -tuebingen.de> wrote:
Hi Mat= t,

Matt Price <moptop99@gmail.com> writes:

>> I would like to be able to surround some portion of a subtree with= a tag,
>> e.g.:
>>
>> * parent
>>=C2=A0 =C2=A0some text
>> #+HTML: <div class=3D"box">
>> ** child 2
>>=C2=A0 =C2=A0some boxed content
>> ** child 2
>>=C2=A0 =C2=A0 more boxed content
>>=C2=A0 #+HTML:</div>
>> ** child 3
>>=C2=A0 =C2=A0unboxed content

> 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.

Is it important that your two headlines in the boxed content export as <= h2>?

If not, you could just use a structure like

* Parent
** Box
*** Boxed Child 1
*** Boxed Child 2
** Unboxed Child

and use something like the ignoreheading filter (see Worg's "Org H= acks"
page) to prevent "Box" from producing a separate header, and mayb= e
various properties (e.g. UNNUMBERED?) to keep the boxed children from
appearing as part of the main outline.

Otherwise, #+INCLUDE comes to mind as a possible solution.

Would one of those options work for you?

I think the :ignore: hack will not = work quite right, but the others I had not thought of at all, and I will tr= y them out! Thank you,

M= att

--
Best,
Richard
--000000000000cd460605c55d5253--