d.svg

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
  "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg id="root" xml:space="preserve" width="100%" height="100%"
  preserveAspectRatio="xMidYMid meet"
  xmlns="http://www.w3.org/2000/svg">
</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 <embed 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
___________________________________________________________________________________