From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: html-export - limit size of pic to page-size? Date: Sun, 3 Feb 2013 16:14:09 +1030 Message-ID: <87r4kyrlxy.fsf@ucl.ac.uk> References: <87y5f63yrk.fsf@googlemail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33976) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1sNN-00069c-39 for emacs-orgmode@gnu.org; Sun, 03 Feb 2013 00:44:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U1sNM-0004gd-5y for emacs-orgmode@gnu.org; Sun, 03 Feb 2013 00:44:25 -0500 Received: from co9ehsobe002.messaging.microsoft.com ([207.46.163.25]:22746 helo=co9outboundpool.messaging.microsoft.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1sNM-0004gY-0E for emacs-orgmode@gnu.org; Sun, 03 Feb 2013 00:44:24 -0500 In-Reply-To: <87y5f63yrk.fsf@googlemail.com> (Thorsten Jolitz's message of "Sun, 3 Feb 2013 03:41:03 +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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Thorsten Jolitz Cc: emacs-orgmode@gnu.org Thorsten Jolitz writes: > Hi List, > > when exporting plantuml code blocks to .png files, the resulting > pictures can be tiny or really huge, depending on the class hierarchy > modeled. > > Is it possible to restrict the size of the graphic to the html > page-size, no matter how big the resulting .png file actually is? Have you looked at the section in the manual on exporting to HTML, specifically the section entitled "Images in HTML export"? You can specify whatever HTML attributes you want for the image. By the way, I am not sure what you mean by "html page-size" as HTML has no concept of pages, per se. Maybe you mean the width? HTH, eric -- : Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D : in Emacs 24.3.50.1 and Org release_7.9.3d-898-g005917