emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] html-export - limit size of pic to page-size?


From: Eric S Fraga
Subject: Re: [O] html-export - limit size of pic to page-size?
Date: Mon, 4 Feb 2013 09:14:53 +1030
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

Thorsten Jolitz <address@hidden> writes:

> Is it possible to specify the html 'width=600' or 'width=auto' in the
> 'begin_src' line or in the subtree-properties - or do I have to let my
> program write the 
>
> ,------------------------
> | +ATTR_HTML: width="600"
> `------------------------
>
> on top of the inserted link to 'class-diagram.png' when exporting to
> html? 

You can put that line immediately above the #+RESULTS line after the
first time you evaluate the source code block.  Subsequent evaluations
of the source code will replace the results but will leave those lines
present.  See the attached example.

This is easier, in my opinion, than having to change the code to
generate a specific size, especially if have different export targets
for the same document.

HTH,
eric
-- 
: Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D
: in Emacs 24.3.50.1 and Org 7.9.3e-897-g787a07

Attachment: uml.org
Description: Text Data


reply via email to

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