emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com>
To: "Liste-emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: tikz and html
Date: Wed, 30 Jul 2014 13:05:56 +0200	[thread overview]
Message-ID: <CAD-VTcH=z07nASP6U9LKCpfjU8Q4f1AgWxirw1FvP1dqLY4ReQ@mail.gmail.com> (raw)

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

Hello,

Exporting images created with tikz to html.files seems a complicated task.

This file is corrected exported into pdf:

#+OPTIONS: LaTeX:verbatim
#+OPTIONS:      tex:imagemagick
#+LaTeX_CLASS: article
#+LaTeX_CLASS_OPTIONS: [koma,a4paper,11pt]
#+LaTeX_CLASS_OPTIONS: [times]
#+LaTeX_HEADER: \usepackage{tikz}
#+LANGUAGE: en
#+OPTIONS: ':t
#+OPTIONS: tex:t


* Tikz test
Here's a tree, exported to both html and pdf.

#+begin_src latex
  \usetikzlibrary{trees}
  \begin{tikzpicture}
    \node [circle, draw, fill=red!20] at (0,0) {1}
    child { node [circle, draw, fill=blue!30] {2}
      child { node [circle, draw, fill=green!30] {3} }
      child { node [circle, draw, fill=yellow!30] {4} }};
  \end{tikzpicture}
#+end_src

But I do not succeed to export it into a html file.

Your help is welcome.

Best wishes

Jo.

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

             reply	other threads:[~2014-07-30 11:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-30 11:05 Joseph Vidal-Rosset [this message]
2014-07-30 11:44 ` tikz and html Nicolas Berthier
2014-07-30 12:10   ` Joseph Vidal-Rosset

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='CAD-VTcH=z07nASP6U9LKCpfjU8Q4f1AgWxirw1FvP1dqLY4ReQ@mail.gmail.com' \
    --to=joseph.vidal.rosset@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).