emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Embedding images in Org Mode for HTML export
@ 2016-02-16 19:22 Lawrence Bottorff
  2016-02-17  8:54 ` Eric S Fraga
  0 siblings, 1 reply; 3+ messages in thread
From: Lawrence Bottorff @ 2016-02-16 19:22 UTC (permalink / raw)
  To: emacs-orgmode Mailinglist

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-18 13:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-16 19:22 Embedding images in Org Mode for HTML export Lawrence Bottorff
2016-02-17  8:54 ` Eric S Fraga
2016-02-18 13:17   ` Lawrence Bottorff

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).