emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rainer M Krug <Rainer@krugs.de>
To: emacs-orgmode@gnu.org
Subject: Re: graphics for html and latex / pdf export?
Date: Thu, 04 Sep 2014 13:07:07 +0200	[thread overview]
Message-ID: <m2fvg7bq5g.fsf@krugs.de> (raw)
In-Reply-To: <87r3zs1uyh.fsf@gmail.com> (Aaron Ecay's message of "Wed, 03 Sep 2014 13:21:10 -0400")

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

Aaron Ecay <aaronecay@gmail.com> 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

[-- Attachment #2: Type: application/pgp-signature, Size: 494 bytes --]

  reply	other threads:[~2014-09-04 11:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-03 16:15 graphics for html and latex / pdf export? Rainer M Krug
2014-09-03 17:21 ` Aaron Ecay
2014-09-04 11:07   ` Rainer M Krug [this message]
2014-09-04 12:05     ` Rainer M Krug
2014-09-04 12:12       ` Thorsten Jolitz
2014-09-04 12:19         ` Rainer M Krug

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=m2fvg7bq5g.fsf@krugs.de \
    --to=rainer@krugs.de \
    --cc=emacs-orgmode@gnu.org \
    /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).