From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uO9tJiFt+GACRAEAgWs5BA (envelope-from ) for ; Wed, 21 Jul 2021 20:53:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id cNAkIiFt+GCTcAAAB5/wlQ (envelope-from ) for ; Wed, 21 Jul 2021 18:53:21 +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 1C6C187FE for ; Wed, 21 Jul 2021 20:53:21 +0200 (CEST) Received: from localhost ([::1]:45580 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m6HLK-0000Ye-Vr for larch@yhetil.org; Wed, 21 Jul 2021 14:53:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53754) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m6HKp-0000YG-Bo for emacs-orgmode@gnu.org; Wed, 21 Jul 2021 14:52:47 -0400 Received: from mail-vs1-xe2c.google.com ([2607:f8b0:4864:20::e2c]:36738) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m6HKk-000256-Bt for emacs-orgmode@gnu.org; Wed, 21 Jul 2021 14:52:47 -0400 Received: by mail-vs1-xe2c.google.com with SMTP id o19so1992717vsn.3 for ; Wed, 21 Jul 2021 11:52:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=08g6tFafvBe5zvtNQpPFWwkSOHcKdEJPr2b2Gsxnuwo=; b=OmtTG5Am1KBxedZ7c/ooWmBc6dMNmidAsRNXBMuME9iIZWI6zekyZYmAtO/RnSoDV3 Fpu8YkUcKkZX348Pis88w5af1B80bRMLwn5xqBqKF57zjPleirAP3zycdfVnC/CebUCl 6TLPiWE0bt3bfzyGvLzdcQEF0kn+F6x+8OftEf89eNOF+Bp6fgf1nYfk7X5wZyRWU7xQ QZ8oMFC6O3RhZ9qJE9Ce/wFTuDyIVllyOGeA6yG5xClbSF1hxJd5YSSrK1e/C1UDvtMT qISN822Bf4aXiMfE5/SBYqCGIEK1G4OxB/bgzmlKNpusG+en7W9nidxaiKXJNL4zUh0O fkCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=08g6tFafvBe5zvtNQpPFWwkSOHcKdEJPr2b2Gsxnuwo=; b=SQolGyCv+xOfKeU48KLcimVNjHv7uXOtcy4HhKf3bDYKNWmIfKh5qTiNeU0yKPmiLv CbIbVrwxZ1vAzsnYCwqdNqUSqRiiZYILeH0VSGzqTD+v+PIymFvJZ9BtlKUs+M01WffD h3kowXOAqmK1FVeKSBWE5lLBMpMU5hOdsovp4VWD9y33zNnz3isTafoUfYE+h3AdIs1a 7lR9M9lGDJP77W9o3/dLxQ3k9o0Dw+W7h7ofo39Bp/QatIVsHSlaZIfBaXgGr6K4eEms sdATTzIjakOE1giEdwh1W55iiMB2mfZX/E5DgEBZyXfHCJxPwVozD8GOnV3YdLilqtZ5 /Qgw== X-Gm-Message-State: AOAM530aZzdf+hPyRohEOHtG96xZ18cI3iwlldi1+tRR3yCvmFFBp4kY KiHpZqssgPoGAZSKtw+pMKbWPjtm7NDEHBv652IfIqcChkmA5A== X-Google-Smtp-Source: ABdhPJyBnAc0wVQS5pnDlTq18+kDij1TB8CMIQ4WbpUXx6lnwj9XRy/A+wyyZxTchOPgzaDpcaBW8MPwMuaJD/vK4X0= X-Received: by 2002:a67:e2da:: with SMTP id i26mr36735738vsm.16.1626893560695; Wed, 21 Jul 2021 11:52:40 -0700 (PDT) MIME-Version: 1.0 From: Matt Price Date: Wed, 21 Jul 2021 14:52:29 -0400 Message-ID: Subject: setting export options in headline properties To: Org Mode Content-Type: multipart/alternative; boundary="000000000000c5d0cd05c7a6acaa" Received-SPF: pass client-ip=2607:f8b0:4864:20::e2c; envelope-from=moptop99@gmail.com; helo=mail-vs1-xe2c.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: , 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=1626893601; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=08g6tFafvBe5zvtNQpPFWwkSOHcKdEJPr2b2Gsxnuwo=; b=TGzWKdOQKbEbaDb/4Guvxq70X7GZ/PkOHN0CcXMzyE3dop6RFWRj2Lv5UJbpHYRcA4O4So do4V3GnwHq++Fv4dPC13BaQdA9MLt28djsu+WPdzPYOPQopIlyoMCJ2N4K3PLG5I9AW1fo A1m21kK6muU6iNTWrm/1wxZbVeloG5LCxdMwwvc9bwWqM75ii3P4HiyPgD7r0tr2fnHHDW 3+NyBbJxriEQaYrTy99SyElEAiwZSoL58PWwct9YTMUfNLtsW4SbpK9zgN+kyN+dJhbiOu JqKdMOGCcEFaCbMPsfZU3fgZIyXF0+2Kc8Wr2MO6bgmXOAVdLTk1MJVj0R4VKA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626893601; a=rsa-sha256; cv=none; b=aEAAONjMuM5wlCyH/ZTRcpCa+gehdFuFWyZEOOCRpTvpvMiakD217IYJX6530qDIxsSfo+ oITWUp4mhCzGvmeK/nAbhxQma7d+5TfrNRFN9r0pT40J9u2KSnxnrom1+fhnf2doSwIjLo PvUEJLPoU9xG29My0FCva6DFblM1ox1R49wcTAKpiyPQ2sYc9xgRXfe7td+2tOs05FkPHN NbgKJwPKQD/w9f8/xxQ50h04YFjrVhPNxaWtMXFxPQq3gPIpNCvJBnXkxRSEM2CXLt+Lip taV63xdWIinc5j3WPt0GN5OApCnU9qRlXoQzEehDcx5WUS+I329tH+FI1xwswQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=OmtTG5Am; 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=OmtTG5Am; 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: 1C6C187FE X-Spam-Score: -3.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7cmxI2TlcObC --000000000000c5d0cd05c7a6acaa Content-Type: text/plain; charset="UTF-8" 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. However, that doesn't see to be happening for me, 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! --000000000000c5d0cd05c7a6acaa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I'm not sure if I= 9;m reading the documentation properly, but my understnading is that I ough= t 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 happening for me, and from what I c= an tell, `org-export-get-environment` is not overriding global values when = passed the `subtreep` parameter.

I tried the follo= wing 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 e= xport options?

--------------
** subtree=
:PROPERTIES:
:SUBTITLE: testing
:REVEAL_TITLE_SLIDE: nil
:HTML= _CONTAINER: section
:END:


#+begin_src emacs-lisp
(let ((i= nfo (org-export-get-environment 'html t)))
=C2=A0 (string-join `(,(p= list-get info :subtitle) ,(plist-get info :html-container)) "\n")=
=C2=A0 )
#+end_src

#+RESULTS:
:
: div
------= --------------------

thanks as always!
--000000000000c5d0cd05c7a6acaa--