Re: Source Block header arguments

2021-02-18 Thread Russell Adams
On Thu, Feb 18, 2021 at 07:10:52PM +0800, Timothy wrote: > > Hi Russel, > > Russell Adams writes: > > > I know I can easily create templates for frequently used code blocks. > > > > My question is, is there a completion or in-place documentation for > > valid header arguments to code blocks? The o

Re: Source Block header arguments

2021-02-18 Thread Russell Adams
On Thu, Feb 18, 2021 at 11:08:32AM +0800, Ihor Radchenko wrote: > Russell Adams writes: > > > I know I can easily create templates for frequently used code blocks. > > > > My question is, is there a completion or in-place documentation for > > valid header arguments to code blocks? The options are

Re: Source Block header arguments

2021-02-18 Thread Timothy
Hi Russel, Russell Adams writes: > I know I can easily create templates for frequently used code blocks. > > My question is, is there a completion or in-place documentation for > valid header arguments to code blocks? The options are rather buried > in the manual. As it so happens, I have had

Re: Source Block header arguments

2021-02-17 Thread Ihor Radchenko
Russell Adams writes: > I know I can easily create templates for frequently used code blocks. > > My question is, is there a completion or in-place documentation for > valid header arguments to code blocks? The options are rather buried > in the manual. I use helm-info-org for this. Best, Ihor

Source Block header arguments

2021-02-17 Thread Russell Adams
I know I can easily create templates for frequently used code blocks. My question is, is there a completion or in-place documentation for valid header arguments to code blocks? The options are rather buried in the manual. -- Russell

Re: [O] accessing source block header arguments from exporters

2015-04-11 Thread John Kitchin
I agree with "Not exactly". In this post http://kitchingroup.cheme.cmu.edu/blog/2014/09/22/Showing-what-data-went-into-a-code-block-on-export/ I did something where I wanted to get information about the variables passed into a block and show that on export. You might get some inspiration from that

Re: [O] accessing source block header arguments from exporters

2015-04-10 Thread Charles Berry
Robert Klein roklein.de> writes: > > Hi, > > is there a way, to read header arguments to source blocks in the > exporters org--src-block funktions? Not directly. org-babel-exp-code has no provision for headers. They get dropped. > > E.g. is there a way to access :firstline in the example bel

[O] accessing source block header arguments from exporters

2015-04-10 Thread Robert Klein
Hi, is there a way, to read header arguments to source blocks in the exporters org--src-block funktions? E.g. is there a way to access :firstline in the example below? #+begin_src c++ -n :firstline 23 static struct { char*entity; unsigned char equiv