emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Problem with including file


From: Andreas Kiermeier
Subject: Re: [O] Problem with including file
Date: Fri, 3 May 2019 11:14:41 +0930

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-
> address@hidden> On Behalf Of Jamie Forth
> Sent: Thursday, 2 May 2019 20:53
> To: address@hidden
> Subject: Re: [O] Problem with including file
> 
> Hi Andreas,
> 
> "Andreas Kiermeier" <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]