Re: [O] Include sections of org document in tangled files

2016-12-07 Thread Charles C. Berry
On Wed, 7 Dec 2016, David Dynerman wrote: Dear Chuck, Your suggestion worked fantastically - I got it working and am very excited. Now, the next step is figuring out how to handle typesetting math in single way between org and python docstrings. Math in Python docstrings is usually done by R

Re: [O] Include sections of org document in tangled files

2016-12-07 Thread David Dynerman
Dear Chuck, Your suggestion worked fantastically - I got it working and am very excited. Now, the next step is figuring out how to handle typesetting math in single way between org and python docstrings. Math in Python docstrings is usually done by RestructuredText markdown, e.g.: :math:`f(x)

Re: [O] Include sections of org document in tangled files

2016-12-03 Thread Charles C. Berry
On Fri, 2 Dec 2016, David Dynerman wrote: Dear list, Is it possible to include sections of an org document while tangling. I have in mind something like the following: * Some section [David's version deleted] #+NAME: doc #+BEGIN_SRC org :exports results :results replace This is an introd

[O] Include sections of org document in tangled files

2016-12-02 Thread David Dynerman
Dear list, Is it possible to include sections of an org document while tangling. I have in mind something like the following: * Some section <> This is an introduction. We're going to write some code that implements (a finite version of) the formula \[ f(x) = 1 + x + \frac{x^2}{2} + \frac{x^3}