ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Anand Raj <anand.seed@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Handling EMBED tag in Tex
Date: Thu, 6 Jan 2011 17:32:04 +0800	[thread overview]
Message-ID: <AANLkTi=akWfymo1TkVEs9pu31crFxECBULHjoJXidwBV@mail.gmail.com> (raw)
In-Reply-To: <4D258B38.5010506@wxs.nl>


[-- Attachment #1.1: Type: text/plain, Size: 1918 bytes --]

Yes. the svg content is not stored in the embed.svg.

can you make it?

Thanks

On Thu, Jan 6, 2011 at 5:28 PM, Hans Hagen <pragma@wxs.nl> wrote:

> On 6-1-2011 9:02, Wolfgang Schuster wrote:
>
>>
>> Am 06.01.2011 um 04:42 schrieb Anand Raj:
>>
>>  Hi,
>>>
>>> I have embed tags in my xhtml can i render it in my pdf.
>>>
>>> How should I form the .tex file to handle this?
>>>
>>> <embed type='image/svg+xml' align='middle' width='200' height='200'
>>> src='/javascript/d.svg'
>>> script='initPicture(-.5,5,-.5,5);path([[0,0],[1,4],[4,4],[3,0],[0,0]]);text([2.5,4],"44","above");text([3.5,2],"44","right");stroke="red";fontfill="red";line([1,0],[1,4]);text([1,2],"?","right");'
>>> />
>>>
>>
>> Write the whole block to a external file and read import it them with
>> \externalfigure.
>>
>> \startxmlsetups xml:embed
>>    \setbuffer[embed]\xmlflush{#1}\endbuffer
>>    \savebuffer[embed][embed.svg]
>>    \externalfigure[embed.svg]
>> \stopxmlsetups
>>
>
> remind me to make a \xmltofile some time
>
> -----------------------------------------------------------------
>                                          Hans Hagen | PRAGMA ADE
>              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
>                                             | www.pragma-pod.nl
> -----------------------------------------------------------------
>
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 3253 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2011-01-06  9:32 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-06  3:42 Anand Raj
2011-01-06  8:02 ` Wolfgang Schuster
2011-01-06  9:28   ` Hans Hagen
2011-01-06  9:32     ` Anand Raj [this message]
2011-01-06 13:50       ` Wolfgang Schuster
2011-01-07  2:35         ` Anand Raj
2011-01-07 12:57           ` Wolfgang Schuster
2011-01-07 13:19             ` Wolfgang Schuster
2011-01-07 13:43               ` Philipp A.
2011-01-07 13:50                 ` Wolfgang Schuster
2011-01-07 14:02                   ` Philipp A.
2011-01-07 14:10                     ` Wolfgang Schuster
2011-01-07 14:54                       ` Philipp A.
2011-01-07 13:23           ` Wolfgang Schuster
2011-01-10  8:06             ` Anand Raj
2011-01-10 18:13               ` Hans Hagen

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='AANLkTi=akWfymo1TkVEs9pu31crFxECBULHjoJXidwBV@mail.gmail.com' \
    --to=anand.seed@gmail.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).