[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] graphics for html and latex / pdf export?
From: |
Rainer M Krug |
Subject: |
Re: [O] graphics for html and latex / pdf export? |
Date: |
Thu, 04 Sep 2014 13:07:07 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) |
Aaron Ecay <address@hidden> writes:
> Hi Rainer,
>
> One option is to use svg graphics, which are supported in latex (via the
> svg package from CTAN) and in HTML (on almost all modern browsers:
> <http://caniuse.com/#feat=svg>). The svg latex package supports
> compiling with pdflatex out of the box and lualatex with a little
> hackery; xelatex is not supported (you also need to install inkscape and
> compile with a flag that allows latex code to execute shell commands).
svg does not work easily, as I have to use the cairo package in R to use
it, so I have to add this manually. Nevertheless, I could do this in a
session in a block before.
>
> Otherwise, you might be looking for something like this worg page:
> <http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-LaTeX.html#sec-4-3>.
That one works nicely when generating the graphs on export - but I
would like to do no evaluations on export to have the org file as a
"output" itself.
Thanks a lot,
Rainer
>
> And also search “by-backend” in the mailing list archives for other
> relevant examples.
>
> Hope this is helpful,
--
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982
pgplwRBHlEm0d.pgp
Description: PGP signature