[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] tikz for multiple targets

From: Rasmus
Subject: Re: [O] tikz for multiple targets
Date: Thu, 11 Jul 2013 10:38:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Eric Schulte <address@hidden> writes:

> Building from this example, the attached patch to ob-latex.el combined
> with the attached org-mode file should export the latex (tikz) code as
> an inline SVG image to HTML and as embedded tikz to latex.
> If this works generally I can commit the patch to ob-latex.el.

Looks good to me, although it would make ox-html depend on ox-latex
which may or may not be desirable. . .  For instance math stuff is
handled internally by ox-html, it seems (correct me if I'm wrong).
While TikZ clearly is a LaTeX feature, producing SVGs are more of a
way of support this type of figures in html output, although it
depends on TeX binaries.

File links to tikz files [[file:pix.pgf]] (e.g. produced with R or
matplotlib) won't be understood with this patch.  It should
automatically convert the picture to an svg figure, I think.  Perhaps
support for file links can be added later.


In theory, practice and theory are the same. In practice they are not

reply via email to

[Prev in Thread] Current Thread [Next in Thread]