Hello, Matt Huszagh <huszaghm...@gmail.com> writes:
> There appears to be no way to disable the comma escape when using :wrap > for a babel source block. > > I'm essentially trying to replicate this example from the manual > > #+NAME: attr_wrap > #+BEGIN_SRC sh :var data="" :var width="\\textwidth" :results output > > echo "#+ATTR_LATEX: :width $width" > echo "$data" > #+END_SRC > > #+HEADER: :file /tmp/it.png > #+BEGIN_SRC dot :post attr_wrap(width="5cm", data=*this*) :results drawer > > digraph{ > a -> b; > b -> c; > c -> a; > } > #+end_src > > #+RESULTS: > :RESULTS: > #+ATTR_LATEX :width 5cm > [[file:/tmp/it.png]] > :END: > > But, my result type is a link not a drawer (which are mutually > exclusive). So, to get the same wrapping effect, I need to use the :wrap > argument. However, the comma escape negates attr_wrap's effect with this > code Could you clarify what you obtain, and what is wrong with it? Thank you! Regards, -- Nicolas Goaziou