[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: Extra spaces in babel #+call arguments [ 7.9.3d (release_7.
From: |
Rick Lupton |
Subject: |
Re: [O] Bug: Extra spaces in babel #+call arguments [ 7.9.3d (release_7.9.3d-823-gd06fa4 @ /usr/ share/emacs/24.2/site-lisp/org/) |
Date: |
Fri, 1 Feb 2013 12:46:16 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [O] Bug: Extra spaces in babel #+call arguments [ 7.9.3d (release_7.9.3d-823-gd06fa4 @ /usr/ share/emacs/24.2/site-lisp/org/),
Rick Lupton <=