Pedro Andres Aranda Gutierrez <paag...@gmail.com> writes:

> I fear what you want to do is not done the way you thought.
>
> Instead of
> #+BEGIN_SRC org
>
> #+attr_latex: :center t
> In this case, we want the paragraph to be centered, not just
> file:test-img.png. This is why we place the attributes before the paragraph.
> #+END_SRC
>
> you need to
>
> #+BEGIN_SRC org
> ,#+BEGIN_CENTER
> ...

Sorry, my example was not clear enough.
Try

#+attr_latex: :foo bar
Foo <file:~/Downloads/wallpaper.png>

You patch will generate center environment in this example as well. It
is not expected.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to