[NTG-context] Handling EMBED tag in Tex

Anand Raj anand.seed at gmail.com
Mon Jan 10 09:06:34 CET 2011


*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 at 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 at 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
>
> ___________________________________________________________________________________
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20110110/ce368f43/attachment.html>


More information about the ntg-context mailing list