From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: Re: epresent and Org-mode: using Emacs to run presentations of Org-mode docs Date: Tue, 02 Nov 2010 21:05:50 +0100 Message-ID: <4CD06F1E.9090602@christianmoe.com> References: <87iq0mv104.fsf@gmail.com> <87zktyxhu8.fsf@dasa3.iem.pw.edu.pl> <8762wmdjgq.fsf@gmail.com> <87zktxcyk2.fsf@kotik.lan> <8739rp9rye.fsf@ucl.ac.uk> <87mxpxuomw.fsf@dasa3.iem.pw.edu.pl> <871v7984jh.fsf@ucl.ac.uk> <4CCF437A.9090300@christianmoe.com> <4CCFF539.2010107@christianmoe.com> <16025.1288707646@gamaville.dokosmarshall.org> Reply-To: mail@christianmoe.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from [140.186.70.92] (port=51242 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDN5R-00064h-MN for emacs-orgmode@gnu.org; Tue, 02 Nov 2010 16:04:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PDN5N-0008NQ-1M for emacs-orgmode@gnu.org; Tue, 02 Nov 2010 16:04:02 -0400 Received: from mars.hitrost.net ([91.185.193.39]:16983) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PDN5M-0008N8-Od for emacs-orgmode@gnu.org; Tue, 02 Nov 2010 16:04:01 -0400 In-Reply-To: <16025.1288707646@gamaville.dokosmarshall.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: =?UTF-8?B?xYF1a2FzeiBTdGVsbWFjaA==?= , Eric S Fraga , emacs-orgmode@gnu.org, Rainer M Krug Hi, Yes, I can confirm batik-rasterizer, despite the name, made nice vector-based PDF from SVG. Thanks, Nick. So that's two options now, Inkscape and Batik. Enough noise from me on this, I think. Yours, Christian On 11/2/10 3:20 PM, Nick Dokos wrote: > Christian Moe wrote: > >> Hi, >> >> the librsvg man page says PNG and JPEG raster formats only. >> >> CM >> >> On 11/2/10 11:40 AM, Rainer M Krug wrote: >>> >>> >>> On Mon, Nov 1, 2010 at 11:47 PM, Christian Moe>> > wrote: >>> >>> Re: converting SVG >>> >>> >>> Have you looked at rsvg (http://librsvg.sourceforge.net/)? >>> >>> I am not sure if it uses vector for pdf, but it might be worth a try? >>> >>> Cheers, >>> >>> Rainer >>> >>> >>> 1. Prince (http://www.princexml.com) does SVG to PDF as vector >>> graphics from the command line, very nicely. Too bad it's proprietary. >>> >>> e.g. >>> >>> : prince drawing.svg drawing.pdf >>> >>> 2. Ask Inkscape -- it's free software; unfortunately, the result >>> is rasterized. >>> >>> e.g. >>> >>> : inkscape --without-gui --export-text-to-path >>> --export-eps=drawing.eps drawing.svg >>> >>> > From a sample 52 KB SVG file, Inkscape gives me a 420 KB EPS and >>> Prince a 20 KB PDF. >>> >>> Cheers, >>> Christian >>> >>> >>> >>> On 10/29/10 4:19 PM, Eric S Fraga wrote: >>> >>> Ɓukasz Stelmach>> > writes: >>> >>> Eric S Fraga> >>> writes: >>> >>> ImageMagick [1] will convert from/to SVG to/from many >>> formats including >>> EPS. I've not tried any conversions with SVG, mind >>> you, so this is >>> based on the documentation. >>> >>> >>> I'll check it, but I'm afraid it does render SVG as bitmap >>> first, >>> and then "converts", or rather encapsulates, it to >>> EPS/PDF. ImageMagick >>> is a bitmap manipulation tool after all. >>> >>> >>> Very true. For presentations, this may not be that much of an >>> issue >>> (given the resolution of many data projectors)... but it's a >>> very valid >>> point. >>> >>> Do let us know if you find a vector based converter. >>> >>> Thanks, >>> eric >>> >>> >>> > > The batik svg rasteriser page > > http://xmlgraphics.apache.org/batik/tools/rasterizer.html > > says: > > This page describes the features of the SVG Rasterizer utility > that comes with the Batik distribution. The SVG Rasterizer is a > utility that can convert SVG files to a raster format. The tool > can convert individual files or sets of files, making it easy to > convert entire directories of SVG files. The provided formats > are JPEG, PNG and TIFF, however the design allows new formats to > be added easily. In addition, the rasterizer can (despite its > name) transcode to PDF. > > I haven't used it at all, but that last sentence is suggestive. Maybe it > fits the bill? > > HTH, > Nick > > > -- Christian Moe E-mail: mail@christianmoe.com Website: http://christianmoe.com