emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Berthier <nberth@member.fsf.org>
To: Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: tikz and html
Date: Wed, 30 Jul 2014 13:44:20 +0200	[thread overview]
Message-ID: <vp0oppgn136z.fsf@epicea.irisa.fr> (raw)
In-Reply-To: CAD-VTcH=z07nASP6U9LKCpfjU8Q4f1AgWxirw1FvP1dqLY4ReQ@mail.gmail.com

You wrote:

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

Hello,

You can see this answer on stackoverflow[fn:1].

Regards,

[fn:1] http://stackoverflow.com/a/24452992/1524082

-- 
Nicolas Berthier                                        FSF Member #7975

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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-30 11:05 tikz and html Joseph Vidal-Rosset
2014-07-30 11:44 ` Nicolas Berthier [this message]
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=vp0oppgn136z.fsf@epicea.irisa.fr \
    --to=nberth@member.fsf.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=joseph.vidal.rosset@gmail.com \
    /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).