From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Graphics to HTML, LaTeX/PDF and DocBook? Date: Tue, 4 Oct 2016 14:40:51 +0100 Message-ID: <87lgy46xlo.fsf@pinto.chemeng.ucl.ac.uk> References: <19e18ad2e24f40e5b94d6f695f1d9910@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> Reply-To: Eric S Fraga Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brQXN-0006su-7K for emacs-orgmode@gnu.org; Tue, 04 Oct 2016 10:17:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brQXH-00004u-Vo for emacs-orgmode@gnu.org; Tue, 04 Oct 2016 10:17:40 -0400 Received: from mail-db5eur01on0105.outbound.protection.outlook.com ([104.47.2.105]:39136 helo=EUR01-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brQXH-0008UQ-K5 for emacs-orgmode@gnu.org; Tue, 04 Oct 2016 10:17:35 -0400 In-Reply-To: <19e18ad2e24f40e5b94d6f695f1d9910@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> (Peter Davis's message of "Tue, 4 Oct 2016 13:03:35 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Peter Davis Cc: "emacs-orgmode@gnu.org" 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. > Are there other options? Suggestions? Can ditaa even do anything other > than png? The web site (http://ditaa.sourceforge.net/) says that there is an EPS plugin... -- : Eric S Fraga (0xFFFCF67D), Emacs 25.1.1, Org release_8.3.6-1131-gd68497