From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gF95H7qU+GBpAQAAgWs5BA (envelope-from ) for ; Wed, 21 Jul 2021 23:42:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id eHcsG7qU+GAAZgAAB5/wlQ (envelope-from ) for ; Wed, 21 Jul 2021 21:42:18 +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 294FD7F2D for ; Wed, 21 Jul 2021 23:42:17 +0200 (CEST) Received: from localhost ([::1]:56550 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m6Jyp-0004eJ-3C for larch@yhetil.org; Wed, 21 Jul 2021 17:42:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33232) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m6JyK-0004e8-0X for emacs-orgmode@gnu.org; Wed, 21 Jul 2021 17:41:44 -0400 Received: from mail-vs1-xe34.google.com ([2607:f8b0:4864:20::e34]:43827) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m6JyI-0007s8-6z for emacs-orgmode@gnu.org; Wed, 21 Jul 2021 17:41:43 -0400 Received: by mail-vs1-xe34.google.com with SMTP id a66so2236545vsd.10 for ; Wed, 21 Jul 2021 14:41:41 -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=aDi/DDUnseK9irndXpw28TSIcloNjClCF50KhBbi6RQ=; b=LO31/aniYS7ZfvCqd8GAs6hSof18WHNBP/cg0attxr3zPA61KZTXBHgn1as9jF95u3 77EGeI2RMkr7LdGbRXfFuAV0F0MZCyuSx8FRaB6LfA+/B6fXLWAmeu3cIJu5Y7IsvfIk IKwa/UzNCrc8FGRJLoc/Hvivp4u7ZEtkyEv1Rwbhs2eTdVv3h55TLm73+q+jaA6cc3DU 7I8I2l5ociCh4Kkmx9Pe5nB4jWMFvdFuRp1S/jkFdALGi2YSR2XN8QKDnqqcy9WdgdEB Njb/CaGS7gVtQLPCQnwHlaBdo536rB2G3j2KeLeCRWGKyYa9I6MUSWLfygUkFA+4jqqs 09gQ== 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=aDi/DDUnseK9irndXpw28TSIcloNjClCF50KhBbi6RQ=; b=nmMOsuFp65gMcuk77X3g6btuWeRKyH4cLA5xhdHlyXPIM875O1qzkuIygcTO9sz9ye 0vUpy2ArkuxGWGd5W93aqxsVzzAhK9OkvS7FTWYL1sxc0Tbm7n3BwFXFwoAFmUfG1SYM 1Gw2TWrov/Tq5QHVmwxOZl5bM63jzIBeDKfQv5VeK9gkM4DykX2D1hv6ZCF3faWk05fn 2eS2dbhfj5oVHN/e39sCGDgv7ayYHSkxEhK2OvAdy3iQdszWVqvGtiUSDyxFzHlS+POk 7xVQtBjDZYog2asa85j6kn6RDThN7IwkTzIjzWC39O+INhors744+ZrdMEMQcH6OWlPt CD6Q== X-Gm-Message-State: AOAM530SA4fDDfZLkes+OnXwFREBsQd53pMBT+OAUZoxcW8p93JSatiY 5vermAoBXoDu9phR+85BdQotQ9rHgU/RTJkFHRc= X-Google-Smtp-Source: ABdhPJw/Rz2+5c/RZtMhfTZd7ZJ9ayRQa2DV3jRsEOCBj2kvQtarnjpSM3GlB8EFRjjQv37dIBwjUi3ORdRvwQwi5eA= X-Received: by 2002:a67:8013:: with SMTP id b19mr37148741vsd.33.1626903701113; Wed, 21 Jul 2021 14:41:41 -0700 (PDT) MIME-Version: 1.0 References: <4CBA9A0F-910D-45D2-A112-2402502F6AB6@health.ucsd.edu> In-Reply-To: <4CBA9A0F-910D-45D2-A112-2402502F6AB6@health.ucsd.edu> From: Matt Price Date: Wed, 21 Jul 2021 17:41:30 -0400 Message-ID: Subject: Re: setting export options in headline properties To: "Berry, Charles" Content-Type: multipart/alternative; boundary="00000000000030513505c7a9097a" Received-SPF: pass client-ip=2607:f8b0:4864:20::e34; envelope-from=moptop99@gmail.com; helo=mail-vs1-xe34.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=1626903738; 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=aDi/DDUnseK9irndXpw28TSIcloNjClCF50KhBbi6RQ=; b=XvuvE3aCPmeoqFapRVtcScCo6puzuZUzd2yXHANll+4kq+F6vb8hOVm9GozLx1p62kGHVz iqoNbfUGkAepAAJKqQV60FpuExWZCPmvFKOZYpRgzM788jeFzeG6UwduDUKJdZNiuie/wH hLFZKhkO425uzJ7TJwWaA9om5PUvE6xtJ583BKOBIN6F5rHIPIr+SO54Zn29YKXDQnBnfC IJK266JviQVIFbFI3O+wEur2KUiQpF+Y2EECu+tCjNVmsgEPVbZRGf3XCtnxzQL77yr+84 v4UEcmPIHuFUS0gsWATNsZDws+3ElUnLyprnvQdi/8kIKEuFfQm/w6DoIwJ7pw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626903738; a=rsa-sha256; cv=none; b=qdkaoNw5HbLwCvZR9QzHPQL/ABTTaj1jAagA2Q0gDnaqwvBmylfgMc3HBczJYjiZFEWUWF rvAtad2+raCINEf1aln616XWalMkb1hd0UOGKADqusN8Yxl7Pws2B2xW7pmRTvmxM5SRKV +JNDxAQoaHRZN3ZGTXJQXSKQi53FBhYnhiwAqKY9flLs/LCeTw2ugwhSDdzo+s2VhFp0VS 69kJPYelmVF+EdleD6UFryn4cFGKO6QqPEtrjl1qqeRVYKORoLtQ2ADnlhpOOuh5ORzUCP X/yN07hb1/TtI1cUFHBwyQL9N47GutuwAnqD4Q62R8l/GU//a4Q7wnQGhFK3vQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b="LO31/ani"; 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="LO31/ani"; 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: 294FD7F2D X-Spam-Score: -3.12 X-Migadu-Scanner: scn1.migadu.com X-TUID: +F9w++66SyXa --00000000000030513505c7a9097a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable arg. thx, Chuck. On Wed, Jul 21, 2021 at 4:25 PM Berry, Charles wrote: > Matt, > > Check (info "(org) Export Settings") > > and especially, the para near bottom: > > When exporting sub-trees, special node properties can override the > above keywords. These properties have an =E2=80=98EXPORT_=E2=80=99 prefi= x. For > example, =E2=80=98DATE=E2=80=99 becomes, =E2=80=98EXPORT_DATE=E2=80=99 wh= en used for a specific > sub-tree. Except for =E2=80=98SETUPFILE=E2=80=99, all other keywords lis= ted above have > an =E2=80=98EXPORT_=E2=80=99 equivalent. > > HTH, > > Chuck > > > On Jul 21, 2021, at 11:52 AM, Matt Price wrote: > > > > Hi, > > > > I'm not sure if I'm reading the documentation properly, but my > understnading is that I ought to be able to set export options as subtree > properties, and that if I do so, they should be picked up by export engin= es > when exporting subtrees. However, that doesn't see to be happening for m= e, > and from what I can tell, `org-export-get-environment` is not overriding > global values when passed the `subtreep` parameter. > > > > I tried the following with emacs -Q , which seems to confirm my issue. > Is this the expected behaviour, and if so, is there some other way for me > to set subtree-level export options? > > > > -------------- > > ** subtree > > :PROPERTIES: > > :SUBTITLE: testing > > :REVEAL_TITLE_SLIDE: nil > > :HTML_CONTAINER: section > > :END: > > > > > > #+begin_src emacs-lisp > > (let ((info (org-export-get-environment 'html t))) > > (string-join `(,(plist-get info :subtitle) ,(plist-get info > :html-container)) "\n") > > ) > > #+end_src > > > > #+RESULTS: > > : > > : div > > -------------------------- > > > > thanks as always! > > --00000000000030513505c7a9097a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
arg.=C2=A0 thx, Chuck.=C2=A0

On Wed, Jul 21, 2021 at 4= :25 PM Berry, Charles <ccberr= y@health.ucsd.edu> wrote:
Matt,

Check (info "(org) Export Settings")

and especially, the para near bottom:

When exporting sub-trees, special node properties can override the
above keywords.=C2=A0 These properties have an =E2=80=98EXPORT_=E2=80=99 pr= efix.=C2=A0 For
example, =E2=80=98DATE=E2=80=99 becomes, =E2=80=98EXPORT_DATE=E2=80=99 when= used for a specific
sub-tree.=C2=A0 Except for =E2=80=98SETUPFILE=E2=80=99, all other keywords = listed above have
an =E2=80=98EXPORT_=E2=80=99 equivalent.

HTH,

Chuck

> On Jul 21, 2021, at 11:52 AM, Matt Price <moptop99@gmail.com> wrote:
>
> Hi,
>
> I'm not sure if I'm reading the documentation properly, but my= understnading is that I ought to be able to set export options as subtree = properties, and that if I do so, they should be picked up by export engines= when exporting subtrees.=C2=A0 However, that doesn't see to be happeni= ng for me, and from what I can tell, `org-export-get-environment` is not ov= erriding global values when passed the `subtreep` parameter.
>
> I tried the following with emacs -Q , which seems to confirm my issue.= Is this the expected behaviour, and if so, is there some other way for me = to set subtree-level export options?
>
> --------------
> ** subtree
> :PROPERTIES:
> :SUBTITLE: testing
> :REVEAL_TITLE_SLIDE: nil
> :HTML_CONTAINER: section
> :END:
>
>
> #+begin_src emacs-lisp
> (let ((info (org-export-get-environment 'html t)))
>=C2=A0 =C2=A0(string-join `(,(plist-get info :subtitle) ,(plist-get inf= o :html-container)) "\n")
>=C2=A0 =C2=A0)
> #+end_src
>
> #+RESULTS:
> :
> : div
> --------------------------
>
> thanks as always!

--00000000000030513505c7a9097a--