emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Lawrence Bottorff <borgauf@gmail.com>
To: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Embedding images in Org Mode for HTML export
Date: Tue, 16 Feb 2016 19:22:27 +0000	[thread overview]
Message-ID: <CAFAhFSWiZ2vzJNbRk=KaxnZhhRZA7W5aCDyz140P5vB=Au=JoQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 756 bytes --]

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 <http://147pm.info/omtest1.html>). But they're cramped and have a
strange gray background. How can I not clip and get the png transparent
working?

LB

[-- Attachment #2: Type: text/html, Size: 1073 bytes --]

             reply	other threads:[~2016-02-16 19:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-16 19:22 Lawrence Bottorff [this message]
2016-02-17  8:54 ` Embedding images in Org Mode for HTML export Eric S Fraga
2016-02-18 13:17   ` Lawrence Bottorff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFAhFSWiZ2vzJNbRk=KaxnZhhRZA7W5aCDyz140P5vB=Au=JoQ@mail.gmail.com' \
    --to=borgauf@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).