emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Defining the export height of a babel-generated image


From: Eric S Fraga
Subject: Re: [O] Defining the export height of a babel-generated image
Date: Mon, 19 Mar 2018 09:53:58 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

On Sunday, 18 Mar 2018 at 15:35, Karl Voit wrote:
> Hi!
>
> Some babel blocks generate image files as output. Orgmode does link
> them so that exporting the corresponding heading also includes the
> image.
>
> For example:
>
> #+BEGIN_SRC plantuml :file "foobar.svg"
> (*) --> "step1"
> --> "step2"
> --> (*)
> #+END_SRC
>
> #+RESULTS:
> [[foobar.svg]]
>
> Is is possible to define a height attribute for the result file
> which is used for LaTeX/PDF export?

Sure: put the desired #+attr_latex: line just before the #+results line.

-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.1.7-475-g3ffc7d

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]