From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence Bottorff Subject: Embedding images in Org Mode for HTML export Date: Tue, 16 Feb 2016 19:22:27 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113fbce0d4600b052be80dfa Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34139) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVlCg-0004RE-1V for emacs-orgmode@gnu.org; Tue, 16 Feb 2016 14:22:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVlCe-0004st-UW for emacs-orgmode@gnu.org; Tue, 16 Feb 2016 14:22:29 -0500 Received: from mail-lf0-x22e.google.com ([2a00:1450:4010:c07::22e]:34796) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVlCe-0004so-Lx for emacs-orgmode@gnu.org; Tue, 16 Feb 2016 14:22:28 -0500 Received: by mail-lf0-x22e.google.com with SMTP id j78so113408679lfb.1 for ; Tue, 16 Feb 2016 11:22:28 -0800 (PST) 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: emacs-orgmode Mailinglist --001a113fbce0d4600b052be80dfa Content-Type: text/plain; charset=UTF-8 I've got this code: #+begin_src latex :packages '(("" "tikz")) :exports results :results output raw :file fsa.png \usetikzlibrary{backgrounds} \begin{tikzpicture} \draw (0,0) grid (10,5); \draw (0,0) node[below left] {$A$}; \draw (10,5) node[above right] {$B$}; \fill (0,0) circle (2pt); \fill (10,5) circle (2pt); \end{tikzpicture} #+end_src #+begin_src latex :packages '(("" "qtree")) :exports results :results output raw :file tree1.png \Tree [.sum [.squares [.prime-numbers initial seven ] ] ] #+end_src 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? LB --001a113fbce0d4600b052be80dfa Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I've got this code:

#+begi= n_src latex :packages '(("" "tikz")) :exports resul= ts :results output raw :file fsa.png
\usetikzlibrary{backgrounds}=
\begin{tikzpicture}
=C2=A0 \draw (0,0) grid (10,5);
=C2=A0 \draw (0,0) node[below left] {$A$};
=C2=A0 \draw (= 10,5) node[above right] {$B$};
=C2=A0 \fill (0,0) circle (2pt);
=C2=A0 \fill (10,5) circle (2pt);
\end{tikzpicture}
#+end_src

#+begin_src latex :packages '(= ("" "qtree")) :exports results :results output raw :fil= e tree1.png
=C2=A0\Tree [.sum [.squares [.prime-numbers initial s= even ] ] ]
#+end_src

running in an= org file, and it gives me embedded images in an html file. (See this). But they're cramped and hav= e a strange gray background. How can I not clip and get the png transparent= working?

LB
--001a113fbce0d4600b052be80dfa--