From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Defining the export height of a babel-generated image Date: Mon, 19 Mar 2018 09:53:58 +0000 Message-ID: <87y3ioqtl5.fsf@delle7240.chemeng.ucl.ac.uk> References: <2018-03-18T15-31-01@devnull.Karl-Voit.at> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36888) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1exrUW-0007ug-6P for emacs-orgmode@gnu.org; Mon, 19 Mar 2018 05:54:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1exrUQ-0003tL-C9 for emacs-orgmode@gnu.org; Mon, 19 Mar 2018 05:54:08 -0400 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]:36306) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1exrUQ-0003sX-5D for emacs-orgmode@gnu.org; Mon, 19 Mar 2018 05:54:02 -0400 Received: by mail-wm0-x234.google.com with SMTP id x82so1484186wmg.1 for ; Mon, 19 Mar 2018 02:54:01 -0700 (PDT) In-Reply-To: <2018-03-18T15-31-01@devnull.Karl-Voit.at> (Karl Voit's message of "Sun, 18 Mar 2018 15:35:31 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Karl Voit Cc: Karl Voit , emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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. =2D-=20 Eric S Fraga via Emacs 27.0.50, Org release_9.1.7-475-g3ffc7d --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSPXCedOQfhSlwpVw3IkZPY//z2fQUCWq+ItgAKCRDIkZPY//z2 fblQAJ9+cnmPn2FJIY0iGLpxU+z6aNCSEACfed47J+Z0hmhC0KQhqAyim/vlFgE= =6Ai3 -----END PGP SIGNATURE----- --=-=-=--