From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence Bottorff Subject: Re: Embedding images in Org Mode for HTML export Date: Thu, 18 Feb 2016 13:17:27 +0000 Message-ID: References: <87fuwrwwcq.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b3a83901f7062052c0b30cb Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41892) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWOSZ-00062O-C8 for emacs-orgmode@gnu.org; Thu, 18 Feb 2016 08:17:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWOSX-0006hs-Ss for emacs-orgmode@gnu.org; Thu, 18 Feb 2016 08:17:31 -0500 Received: from mail-lb0-x22f.google.com ([2a00:1450:4010:c04::22f]:36172) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWOSX-0006gU-Gh for emacs-orgmode@gnu.org; Thu, 18 Feb 2016 08:17:29 -0500 Received: by mail-lb0-x22f.google.com with SMTP id x1so28051023lbj.3 for ; Thu, 18 Feb 2016 05:17:27 -0800 (PST) In-Reply-To: <87fuwrwwcq.fsf@ucl.ac.uk> 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: Lawrence Bottorff , emacs-orgmode Mailinglist , e.fraga@ucl.ac.uk --047d7b3a83901f7062052c0b30cb Content-Type: text/plain; charset=UTF-8 That seemed to work -- sometimes. But it's probably best to simply produce each graphic separately, then embed as a png in the org file. On Wed, Feb 17, 2016 at 8:54 AM, Eric S Fraga wrote: > On Tuesday, 16 Feb 2016 at 19:22, Lawrence Bottorff wrote: > > I've got this code: > > [...] > > > running in an org file, and it gives me embedded images in an html > > file. (See this). But they're cramped and have a strange gray > > background. How can I not clip and get the png transparent working? > > I added these options to the src block > > :imagemagick yes :iminoptions -density 600 :imoutoptions -geometry 800 > > and the first src block works for me: images are proper size and the > background is transparent. I could not test the second as I don't have > qtree. > > The process might depend on what your system uses to generate the images > from LaTeX. > -- > : Eric S Fraga (0xFFFCF67D), Emacs 25.0.91.1, Org release_8.3.3-601-gff9890 > --047d7b3a83901f7062052c0b30cb Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
That seemed to work -- sometimes. But it's probably be= st to simply produce each graphic separately, then embed as a png in the or= g file.

On W= ed, Feb 17, 2016 at 8:54 AM, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
On Tuesday, 16 = Feb 2016 at 19:22, Lawrence Bottorff wrote:
> I've got this code:

[...]

> running in an org file, and it gives me embedded images in an html
> file. (See this). But they're cramped and have a strange gray
> background. How can I not clip and get the png transparent working?
I added these options to the src block

=C2=A0:imagemagick yes :iminoptions -density 600 :imoutoptions -geometry 80= 0

and the first src block works for me: images are proper size and the
background is transparent.=C2=A0 I could not test the second as I don't= have
qtree.

The process might depend on what your system uses to generate the images from LaTeX.
--
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.91.1, Org release_8.3.3-601-gff9890=

--047d7b3a83901f7062052c0b30cb--