emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Peter Davis <pfd@pfdstudio.com>
To: emacs-orgmode@gnu.org
Subject: Re: Graphics to HTML, LaTeX/PDF and DocBook?
Date: Tue, 04 Oct 2016 12:19:46 -0400	[thread overview]
Message-ID: <1475597986.3200616.745625081.21860430@webmail.messagingengine.com> (raw)
In-Reply-To: <87lgy46xlo.fsf@pinto.chemeng.ucl.ac.uk>


On Tue, Oct 4, 2016, at 09:40 AM, Eric S Fraga wrote:
> On Tuesday,  4 Oct 2016 at 13:03, Peter Davis wrote:
> > I have a document with a number of embedded dot graphics (and one
> > ditaa). I'm trying to output these in some vector format, so they will
> > work across a wide range of devices. However I can't seem to find the
> > one true graphics format.
> 
> I don't think there is one true graphics format unfortunately.  What I
> would suggest is that you have your src block export the dot graphic to
> a specific format based on the export target.  For instance, if
> exporting to LaTeX/PDF, use PDF; if exporting to HTML, use SVG.  You can
> specify the actual destination using elisp code in the src block header.

Thanks, Eric. 

I've decided to bite the bullet and install InkScape. However, I'm
having a hard time figuring out how to integrate this with org-mode. Org
generates the \includegraphics commands, so I assume it understands the
svg package, which in turn understands inkscape, but I don't know how to
connect them.  There are bits and pieces around the Web, but I haven't
found a coherent explanation of how to set this up. Anyone know of one?

Thanks!
-pd


-- 
  Peter Davis
  www.techcurmudgeon.com

  reply	other threads:[~2016-10-04 16:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <19e18ad2e24f40e5b94d6f695f1d9910@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-10-04 13:40 ` Graphics to HTML, LaTeX/PDF and DocBook? Eric S Fraga
2016-10-04 16:19   ` Peter Davis [this message]
2016-10-13 14:13     ` Eduardo Mercovich
2016-10-13 14:35       ` Peter Davis
2016-10-18 15:13         ` Eduardo Mercovich
2016-10-18 17:12           ` Peter Davis
2016-10-04 13:03 Peter Davis

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=1475597986.3200616.745625081.21860430@webmail.messagingengine.com \
    --to=pfd@pfdstudio.com \
    --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).