emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Andreas Kiermeier" <andreas.kiermeier@gmail.com>
To: 'Jamie Forth' <j.forth@gold.ac.uk>, emacs-orgmode@gnu.org
Subject: Re: Problem with including file
Date: Fri, 3 May 2019 11:14:41 +0930	[thread overview]
Message-ID: <03b701d50151$c981bf80$5c853e80$@gmail.com> (raw)
In-Reply-To: <87lfzphzhi.fsf@lutyens>

Hi Jamie,
Thanks for the info and link.
Seems like I got too excited after Nicolas' reply and noticed exactly what
you pointed out.
I've now worked out that leaving the original buffer-wide properties in
place is OK.
But, as you suggested, I've added property drawer to the heading for the
appendix.
This needed inclusion of a few more of the buffer-wide header-arguments, but
at least it saves having to specify a property drawer for every section.
Thanks again!
Andreas

> -----Original Message-----
> From: Emacs-orgmode <emacs-orgmode-
> bounces+andreas.kiermeier=gmail.com@gnu.org> On Behalf Of Jamie Forth
> Sent: Thursday, 2 May 2019 20:53
> To: emacs-orgmode@gnu.org
> Subject: Re: [O] Problem with including file
> 
> Hi Andreas,
> 
> "Andreas Kiermeier" <andreas.kiermeier@gmail.com> writes:
> 
> > The reason I did tried to do it this way was because it's simpler than
> > having to say :export results for every source block.
> > But, it a second call to
> >
> > #+PROPERTY: header-args+ :exports code Just before the #+INCLUDE gets
> > everything working perfectly.
> 
> A second #+PROPERTY keyword will just append an additional file property
> (the second one shadowing the first). Setting the header-args in property
> drawers would do what you want.
> 
> #+PROPERTY: header-args:R :session *R* :cache no
> #+PROPERTY: header-args+ :results output
> #+PROPERTY: header-args+ :eval never-export
> #+PROPERTY: header-args+ :tangle yes
> 
> * Intro
> :PROPERTIES:
> :header-args: :exports results
> :END:
> 
> * Data Analysis Source Code
> :PROPERTIES:
> :header-args: :exports code
> :END:
> 
> https://orgmode.org/manual/Using-Header-Arguments.html#Header-
> arguments-in-Org-mode-properties
> 
> --
> Jamie
> 

      reply	other threads:[~2019-05-03  1:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-02  5:03 Problem with including file Andreas Kiermeier
2019-05-02  8:26 ` Sharon Kimble
2019-05-02  8:40   ` Andreas Kiermeier
2019-05-02  8:37 ` Nicolas Goaziou
2019-05-02  8:45   ` Andreas Kiermeier
2019-05-02 11:23     ` Jamie Forth
2019-05-03  1:44       ` Andreas Kiermeier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='03b701d50151$c981bf80$5c853e80$@gmail.com' \
    --to=andreas.kiermeier@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=j.forth@gold.ac.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).