Thomas S. Dye <tsd <at> tsdye.com> writes:
> Rick Lupton <r.lupton <at> gmail.com> writes:
> 
> > As a separate question, is it possible to get ":results file" as the
> > default from the original block so it doesn't have to be repeated in each
> > #+CALL ?
> 
> This should work:
> 
> * Appropriate Heading Level
>   :PROPERTIES:
>   :RESULTS:  file
>   :END:
> 

Yes, that works fine thanks.

For the other question, it's easy to work around -- as below -- though it'd be
nice not to have to.

#+name: nbimg
#+begin_src sh :var nb="" :var tag="" :results output file
# get rid of spurious trailing spaces
fn=$(echo $nb | sed 's/^ *//g')
nbimage -o auto_images "$fn.ipynb" "$tag"
#+end_src

Thanks,
Rick


Reply via email to