emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* tikz and html
@ 2014-07-30 11:05 Joseph Vidal-Rosset
  2014-07-30 11:44 ` Nicolas Berthier
  0 siblings, 1 reply; 3+ messages in thread
From: Joseph Vidal-Rosset @ 2014-07-30 11:05 UTC (permalink / raw)
  To: Liste-emacs-orgmode@gnu.org

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

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

* Re: tikz and html
  2014-07-30 11:05 tikz and html Joseph Vidal-Rosset
@ 2014-07-30 11:44 ` Nicolas Berthier
  2014-07-30 12:10   ` Joseph Vidal-Rosset
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Berthier @ 2014-07-30 11:44 UTC (permalink / raw)
  To: Joseph Vidal-Rosset; +Cc: emacs-orgmode

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

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

* Re: tikz and html
  2014-07-30 11:44 ` Nicolas Berthier
@ 2014-07-30 12:10   ` Joseph Vidal-Rosset
  0 siblings, 0 replies; 3+ messages in thread
From: Joseph Vidal-Rosset @ 2014-07-30 12:10 UTC (permalink / raw)
  To: Nicolas Berthier; +Cc: Liste-emacs-orgmode@gnu.org

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

2014-07-30 13:44 GMT+02:00 Nicolas Berthier <nberth@member.fsf.org>:

> Hello,
>
> You can see this answer on stackoverflow[fn:1].
>
> Regards,
>
> [fn:1] http://stackoverflow.com/a/24452992/1524082
>


Many thanks for this reference. It works  !

Jo.

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

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

end of thread, other threads:[~2014-07-30 12:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-30 11:05 tikz and html Joseph Vidal-Rosset
2014-07-30 11:44 ` Nicolas Berthier
2014-07-30 12:10   ` Joseph Vidal-Rosset

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