From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sN2YJMCf0WDjFgAAgWs5BA (envelope-from ) for ; Tue, 22 Jun 2021 10:30:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 8N44IMCf0WASGwAAbx9fmQ (envelope-from ) for ; Tue, 22 Jun 2021 08:30:56 +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 02D0E1939D for ; Tue, 22 Jun 2021 10:30:55 +0200 (CEST) Received: from localhost ([::1]:40614 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lvbo4-0000uQ-Vh for larch@yhetil.org; Tue, 22 Jun 2021 04:30:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47842) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvbnL-0000uI-Hi for emacs-orgmode@gnu.org; Tue, 22 Jun 2021 04:30:07 -0400 Received: from forward4-smtp.messagingengine.com ([66.111.4.238]:40667) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvbnJ-0002a3-CF for emacs-orgmode@gnu.org; Tue, 22 Jun 2021 04:30:07 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailforward.nyi.internal (Postfix) with ESMTP id 64D9F1940BF9; Tue, 22 Jun 2021 04:30:03 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 22 Jun 2021 04:30:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=kOOBiSZW7YRLZYHo7jDjwhsiXIHn2j82VYkGCOmGKcM=; b=J2vcGm1w 8/cjXR8HQHmS8NUQs91WnQWV1u4NcCSwUx+7c2C/+L1ITvjUDHI8kljP3sMiwVJy 4PQhxLuufdGUQyB4syK4/vXv4s7wgWMH8qtf1nx9rmo44Qf2Ti9wi48Rf9ABefPf 5NIRmSoDmVu8rKY1yHOAtqtskudErLfMStyNMT6eERn5K8IKZjiiMgHXE4F0Wyil n5mQQxKVQyH6D6HIHj/l02bmhdJ1Jnql6z0x91p9WjJ3/Q9y5LJu0O50XR8mGLwS 5sY5b6NSO+i+WW+TcJBP5TfD56iGNpcFScZZEYXDwSDDyOGHdiP30JRg6YUUg/i4 LB1gs2uPy2v+7g== X-ME-Sender: X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeeguddgtdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhffkfggtgesthdtredttddttdenucfhrhhomheptfhitghhrghr ugcunfgrfihrvghntggvuceorhhitghhrghrugdrlhgrfihrvghntggvsehunhhiqdhtuh gvsghinhhgvghnrdguvgeqnecuggftrfgrthhtvghrnhephfejheeujeelgfdvieekkeeg tefhgeekkedvgeeljedvteejhefhffefteeggfelnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomheprhiflhesfhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 22 Jun 2021 04:30:03 -0400 (EDT) Received: from rwl by aquinas with local (Exim 4.92) (envelope-from ) id 1lvbnE-0008Uj-GC; Tue, 22 Jun 2021 10:30:00 +0200 From: Richard Lawrence To: Matt Price , Org Mode Subject: Re: allow HTML block to escape from outline-text div? WAS: BUG? unable to surround subtrees with html tag In-Reply-To: References: Date: Tue, 22 Jun 2021 10:30:00 +0200 Message-ID: <875yy6ti7r.fsf@aquinas> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: neutral client-ip=66.111.4.238; envelope-from=rwl@fastmail.com; helo=forward4-smtp.messagingengine.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_NEUTRAL=0.779 autolearn=no 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: , 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=1624350656; 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=kOOBiSZW7YRLZYHo7jDjwhsiXIHn2j82VYkGCOmGKcM=; b=reiwvNleErflcl1vpf/5FWjHt+tJZq0MQJIStrXejWQ+KapwMmKosS6bPre7GDgeMKKDrQ kPGbuVZZGztnKuMn0h/W+2UZIa8Tz6kMRxdErKyENvN4E0ozmCfByxsVmp9PJokFQWrP2T 9yl9ptC2LsVAt2iW9nOIhYuEogk7eCwYq2IAN+lzOtTwc9Hqi7byNVg1U9Zrm8lo4/4X0P wugIrOgvJIWa7EHOv70yN//MjlqJsC5Z++XY7x5AfmyOa/IDtIiHNzSmQkOdFoM2PPPSej ILSLkRgptSoePYNLsZ8VLxNI4EKCjCiUbBI5VRyz3iLJNifUPa3J6FpSJmY1hw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624350656; a=rsa-sha256; cv=none; b=f/vbi6ND180Q8aDr9ro3kRBDFizUWPVEKY116uJ/ZMdIubsL9yhzsR9sqrRp6KfD0jbK6T 2c44wOVB93pY5/zErCfuL9LIH2gronvsFplkunYkwl1Jytk30BvMBniA5vmhBwH87D24Wf 7jsD3ntFVi9LsR0lb2//Ov4vsWe/G7B6XJ8YPl1hRWHbphHFpUPCD0FfVhBNNaFdWdn6zh eWr83LZyCIG3eD7HHJ4TBjR1nwkcyvhyWUVwvL5OCHM0NO7LlRmwBXd+uRlwqsYQjUOIDV /W7ope91yLZpfJSWRv8V1ZSwhUcQp4uTSahSGQ12AAIlpWSQZDCAq9Kqov0T7w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=J2vcGm1w; 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: -2.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=J2vcGm1w; dmarc=none; 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: 02D0E1939D X-Spam-Score: -2.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: KlhbuvQt8URc 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? -- Best, Richard