[Top][All Lists]

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

Re: [O] tikz for multiple targets

From: Eric Schulte
Subject: Re: [O] tikz for multiple targets
Date: Thu, 11 Jul 2013 10:01:41 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Rasmus <address@hidden> writes:

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

Nope, this patch only touches ob-latex not ox-latex (easily mistaken

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

Correct.  I think that users of R or gnuplot should use R or gnuplot to
produce SVG or PDF images directly.  I don't think htlatex makes sense
in those use cases.

> —Rasmus

Eric Schulte

reply via email to

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