From: "Wolfgang Schuster" <schuster.wolfgang@googlemail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Include SVG pictures with ConTeXt
Date: Thu, 3 Jul 2008 13:21:22 +0200 [thread overview]
Message-ID: <115224fb0807030421j63b0a4d4ye0497ff7371c146@mail.gmail.com> (raw)
In-Reply-To: <A7BA51A7-3CA6-48AD-A978-A904A94EE6F1@fiee.net>
On Thu, Jul 3, 2008 at 1:11 PM, Henning Hraban Ramm <hraban@fiee.net> wrote:
> Am 2008-06-29 um 21:46 schrieb Hans Hagen:
>> \usemodule[res-08] \setups[rl:manipulate]
>>
>> \setupexternalfigures[location=local,directory=.,conversion=pdf] %
>> lowres,prefix=lowres/]
>>
>> \starttext
>>
>> \externalfigure[svg/ausmap.svg][frame=on]
>>
>> \stoptext
>>
>> it assumes inkscape being present
>
>
> Just wikified that and added a lot of links to SVG resources:
> http://wiki.contextgarden.net/SVG
>
> Since Adobe Reader supports SVG graphics natively - perhaps we could
> just include them in the PDF?
> Here's a sample script in Perl: http://www.kevlindev.com/utilities/index.htm
> and Python: http://jan.kollhof.net/projects/svg/svgpdf/
> I didn't look at them for I don't know the internals anyway, but I
> guess one could use this technique in Lua, too?
It's just a wrapper to include the image in a pdf file a object stream
(or whatever this is called) and creats links to the image but I was
only able to display it on windows, on Mac I saw only the text
"svg into pdf".
> An other way would be Cairo graphics library (also used by Mozilla) to
> convert SVG: http://cairographics.org
> There's even a Lua binding for Cairo: http://www.dynaset.org/dogusanh/download.html#cairopad
> But I don't really understand if Cairo is suitable to convert SVG to
> other than pixel graphics for screen rendering.
>
> Apache's Batik library claims to support SVG to PDF conversion:
> http://xmlgraphics.apache.org/batik/
>
> So perhaps someone more qualified than me could make SVG integration
> for ConTeXt...
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2008-07-03 11:21 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-23 23:13 A \part command for ConTeXt TeXWorld
2008-06-24 0:14 ` Aditya Mahajan
2008-06-24 7:15 ` Hans Hagen
2008-06-27 1:00 ` Include SVG pictures with ConTeXt TeXWorld
2008-06-29 2:27 ` TeXWorld
2008-06-29 7:44 ` Taco Hoekwater
2008-06-29 19:46 ` Hans Hagen
2008-06-30 1:22 ` TeXWorld
2008-06-30 7:29 ` Hans Hagen
2008-07-03 11:11 ` Henning Hraban Ramm
2008-07-03 11:21 ` Wolfgang Schuster [this message]
2008-07-03 12:56 ` Hans Hagen
2008-07-03 13:22 ` Khaled Hosny
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=115224fb0807030421j63b0a4d4ye0497ff7371c146@mail.gmail.com \
--to=schuster.wolfgang@googlemail.com \
--cc=ntg-context@ntg.nl \
/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.
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 NNTP newsgroup(s).