From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/65101 Path: news.gmane.org!not-for-mail From: Anand Raj Newsgroups: gmane.comp.tex.context Subject: Re: Handling EMBED tag in Tex Date: Mon, 10 Jan 2011 16:06:34 +0800 Message-ID: References: <4D258B38.5010506@wxs.nl> <2F98B363-C9E7-44E4-844D-296BD895775A@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1786550158==" X-Trace: dough.gmane.org 1294646810 25391 80.91.229.12 (10 Jan 2011 08:06:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 10 Jan 2011 08:06:50 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 10 09:06:43 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PcCm2-0003Tz-Pp for gctc-ntg-context-518@m.gmane.org; Mon, 10 Jan 2011 09:06:42 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 07CD6CAA80; Mon, 10 Jan 2011 09:06:42 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id DP6azDgBLiyR; Mon, 10 Jan 2011 09:06:39 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6A17ECAA77; Mon, 10 Jan 2011 09:06:39 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 618F6CAA77 for ; Mon, 10 Jan 2011 09:06:38 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id mIgwolsdbGuS for ; Mon, 10 Jan 2011 09:06:36 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 0FD28CAA76 for ; Mon, 10 Jan 2011 09:06:36 +0100 (CET) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p0A86Z9x024259 for ; Mon, 10 Jan 2011 09:06:35 +0100 Original-Received: by fxm12 with SMTP id 12so12493621fxm.14 for ; Mon, 10 Jan 2011 00:06:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=NNAnWKkMDBeFM/3hu4B4ukh2D8zOVnYCgDuJPMAH/bg=; b=Wl8DyJcdyeS7JT1Okxfl33+1AphR0OwjeY02B/F4WbXObznNh9oPHYzEdxtfqrfg1n yjA+VvsI4fwhRz7CaOWZf0YsofBaBOA+LKlGZ+2DvtuMpZtAijYV1PsIfesBK/9b62rb weewrmGATAljlBjizyNNEFWyV5OJ3gI924WLk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=L411cFgVSDJKQYG5OD/e/QqSkKj0Q7panAL3Sm4Spig+pGGXWvb2vZUsquAbeyjUli 2WVqHxjyLger/juimKO6vkWV85YraRFw9sEPPeA5F3UYQyrejA9vIaNC2U8ZKS71WN0O VB2b+1POqGnydz1d5RDnKcg8OaWBlg7p1nE7w= Original-Received: by 10.223.89.143 with SMTP id e15mr2294889fam.100.1294646794266; Mon, 10 Jan 2011 00:06:34 -0800 (PST) Original-Received: by 10.223.110.146 with HTTP; Mon, 10 Jan 2011 00:06:34 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.5 (Score 0, tokens from: ) X-CanIt-Geo: ip=209.85.161.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0eDRI6zPq - 5af8e2a78269 - 20110110 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:65101 Archived-At: --===============1786550158== Content-Type: multipart/alternative; boundary=20cf30433fd0482929049979724f --20cf30433fd0482929049979724f Content-Type: text/plain; charset=ISO-8859-1 *d.svg* can you help me to create svg files from the given embed tag. On Fri, Jan 7, 2011 at 9:23 PM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote: > > Am 07.01.2011 um 03:35 schrieb Anand Raj: > > Hi, > > Herewith I am attaching the question_svg.xml and question.tex files. With > this I am trying to convert the xml to pdf. I encounter two problems here. > > 2. *embed* to *svg* > In the last question in the xml, can find line * type='image/svg+xml' align='middle' width='250' height='250' > src='/javascript/d.svg' > script='initPicture(-10,130,-10,130);stroke="black";fill="gray";strokewidth=1;rect([0,0],[50,40]);rect([50,0],[100,100]);text([50/2,40+6],"5y > cm");text([75,106],"17 cm");text([50,40/2],"4y cm",right);text([100,50],"13y > cm",right);' />* > > > Can you also provide the picture file the embed tag refers to. > > 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 : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > > ___________________________________________________________________________________ > > --20cf30433fd0482929049979724f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable d.svg

<?xml version=3D"1.0" standalone=3D"n= o"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN&= quot;
=A0 "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd&q= uot;>
<svg id=3D"root" xml:space=3D"preserve" width=3D&quo= t;100%" height=3D"100%"
=A0 preserveAspectRatio=3D"x= MidYMid meet"
=A0 xmlns=3D"http://www.w3.org/2000/svg">
</svg>

can you help me to create svg files from the given embe= d tag.

On Fri, Jan 7, 2011 at 9:23 PM, Wo= lfgang Schuster <schuster.wolfgang@googlemail.com> wrote:

Am 07.01.2011 um 03:35= schrieb Anand Raj:

Hi,

Herewith I= am attaching the question_svg.xml and question.tex files. With this I am t= rying to convert the xml to pdf. I encounter two problems here.

2. embed to svg
=A0=A0=A0 In the last qu= estion in the xml, can find line <embed type=3D'image/svg+xml'= ; align=3D'middle' width=3D'250' height=3D'250' src= =3D'/javascript/d.svg' script=3D'initPicture(-10,130,-10,130);s= troke=3D"black";fill=3D"gray";strokewidth=3D1;rect([0,0= ],[50,40]);rect([50,0],[100,100]);text([50/2,40+6],"5y cm");text(= [75,106],"17 cm");text([50,40/2],"4y cm",right);text([1= 00,50],"13y cm",right);' />

Can you also provide the picture file the= embed tag refers to.

Wolf= gang


_________________________________= __________________________________________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= >http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0: http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: http://foundry.supelec.fr/projects/contextrev/
wiki =A0 =A0 : http:= //contextgarden.net
___________________________________________________________________________= ________


--20cf30433fd0482929049979724f-- --===============1786550158== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1786550158==--