From: Hans Hagen <pragma@wxs.nl>
Cc: NTG-ConTeXt <ntg-context@ntg.nl>
Subject: Re: SVG with ConTeXt
Date: Mon, 24 Dec 2001 12:20:43 +0100 [thread overview]
Message-ID: <5.1.0.14.1.20011224121635.03f62c48@server-1> (raw)
In-Reply-To: <3C24DF24.DA34DB2B@net-b.de>
At 08:29 PM 12/22/2001 +0100, Tobias Burnus wrote:
>Hi,
>
>I'd like to typeset some small XMLs which contains some simple SVGs.
>
>Such as
><?xml version="1.0"?>
><svg xmlns="http://www.w3.org/2000/svg">
> <g style="stroke:black; stroke-width:0.1cm;">
> <circle cx="6cm" cy="2cm" r="100" style="fill:red;"
> transform="translate(0,50)" />
> <circle cx="6cm" cy="2cm" r="100" style="fill:blue;"
> transform="translate(70,150)" />
> <circle cx="6cm" cy="2cm" r="100" style="fill:green;"
> transform="translate(-70,150)"/>
> </g>
></svg>
It should not be a big problem to convert this into a startMPdrawing etc
commands. The main job will be to interpret the style (quite messy, why not
use key=val pairs) and transform (looks like the only xml thing about svg
is the occasional use of <>).
If we can agree on a reasonable subset (with a clear definition of what
means what) i can try to implement it.
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
next prev parent reply other threads:[~2001-12-24 11:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-22 19:29 Tobias Burnus
2001-12-24 11:20 ` Hans Hagen [this message]
2001-12-27 21:20 ` Tobias Burnus
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=5.1.0.14.1.20011224121635.03f62c48@server-1 \
--to=pragma@wxs.nl \
--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).