[NTG-context] Anand Raj wants to chat

2011-10-24 Thread Anand Raj
---

Anand Raj wants to stay in better touch using some of Google's coolest new
products.

If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-709fcd6ca7-7faa394ef6-zj888FertlMzrmOH2voj9oglvSs
You'll need to click this link to be able to chat with Anand Raj.

To get Gmail - a free email account from Google with over 2,800 megabytes of
storage - and chat with Anand Raj, visit:
http://mail.google.com/mail/a-709fcd6ca7-7faa394ef6-zj888FertlMzrmOH2voj9oglvSs

Gmail offers:
- Instant messaging right inside Gmail
- Powerful spam protection
- Built-in search for finding your messages and a helpful way of organizing
  emails into conversations
- No pop-up ads or untargeted banners - just text ads and related information
  that are relevant to the content of your messages

All this, and its yours for free. But wait, there's more! By opening a Gmail
account, you also get access to Google Talk, Google's instant messaging
service:

http://www.google.com/talk/

Google Talk offers:
- Web-based chat that you can use anywhere, without a download
- A contact list that's synchronized with your Gmail account
- Free, high quality PC-to-PC voice calls when you download the Google Talk
  client

We're working hard to add new features and make improvements, so we might also
ask for your comments and suggestions periodically. We appreciate your help in
making our products even better!

Thanks,
The Google Team

To learn more about Gmail and Google Talk, visit:
http://mail.google.com/mail/help/about.html
http://www.google.com/talk/about.html

(If clicking the URLs in this message does not work, copy and paste them into
the address bar of your browser).
___
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
___


[NTG-context] Pi, Theta symbols are not rendered

2011-04-24 Thread Anand Raj
Hi,

The symbols like Pi, Theta are not rendered properly.

Thanks
___
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
___

Re: [NTG-context] SVG is not rendered in the new beta

2011-01-26 Thread Anand Raj
yes.
works fine for jpg images.



On Wed, Jan 26, 2011 at 5:27 PM, Wolfgang Schuster 
schuster.wolfg...@googlemail.com wrote:


 Am 26.01.2011 um 02:49 schrieb Anand Raj:

  Hi,
 
  svg images are not rendered in the new beta.
 
  \startxmlsetups xml:img
  \externalfigure[\xmlatt{#1}{src}]
  \stopxmlsetups

 Does it work in a normal document?

 \starttext
 \externalfigure[figure.svg]
 \stoptext

 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

 ___

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


Re: [NTG-context] beta

2011-01-25 Thread Anand Raj
svg is not rendered in the beta.

\startxmlsetups xml:img
\externalfigure[\xmlatt{#1}{src}]
\stopxmlsetups


On Tue, Jan 25, 2011 at 6:31 PM, Lutz Haseloff lutz.hasel...@googlemail.com
 wrote:

 Update works now for me.

 Thank You very much.

 Greetings Lutz



 2011/1/25 Hans Hagen pra...@wxs.nl:
  On 25-1-2011 10:53, Lutz Haseloff wrote:
 
  now is java-ini.mkiv missing:
 
 
  loading : ConTeXt Table Macros / Line Tables
  ) (c:/contextminimal/texmf-context/tex/context/base/tabl-tsp.mkiv
  loading : ConTeXt Table Macros / Splitting
  )
  ! I can't find file `java-ini.mkiv'.
  to be read again
 \relax
  l.277 \loadmarkfile{java-ini}
 
  Please type another input file name:
 
  new attempt
 
  -
   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

 ___

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


[NTG-context] SVG is not rendered in the new beta

2011-01-25 Thread Anand Raj
Hi,

svg images are not rendered in the new beta.

\startxmlsetups xml:img
\externalfigure[\xmlatt{#1}{src}]
\stopxmlsetups

Thanks
Anand
___
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
___


[NTG-context] JavaScript in TeX

2011-01-17 Thread Anand Raj
Hi,

I have xhtml which contains some java script. Is it possible to include the
java script to render few svg images.

Thanks
Anand
___
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
___


Re: [NTG-context] Handling EMBED tag in Tex

2011-01-10 Thread Anand Raj
*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.wolfg...@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

 ___


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


[NTG-context] Problem with Encoding math symbols

2011-01-09 Thread Anand Raj
Hi,

I have xml containing following mathml. The Ω is symbol replaced with *
#937;* in the xml. But when i run the tex file. The pdf is not rendered
with Ω symbol.

I have enclosed my xml and tex files.

Suppose that math xmlns=http://www.w3.org/1998/Math/MathML;
mstyle displaystyle=true
miS/mi
mo=/mo
mn11/mn
mo*#937;*/mo
mo,/mo
miT/mi
mo=/mo
mn90/mn
mo#937;/mo
mrow
mtextand/mtext
/mrow
miU/mi
mo=/mo
mn84/mn
mo#937;/mo
/mstyle
/math.

Thanks
Anand
?xml version=1.0 encoding=UTF-8?
documentdiv class='question'
divp/pbr/br/
Simplify the expression
br/math xmlns=http://www.w3.org/1998/Math/MathML;
	mstyle displaystyle=true
		mfrac
			mrow
mn2/mn
msup
	miy/mi
	mn4/mn
/msup
			/mrow
			mrow
mix/mi
miy/mi
mn-4/mn
miy/mi
			/mrow
		/mfrac
	/mstyle
/mathbr/
and give your answer in the form of
br/math xmlns=http://www.w3.org/1998/Math/MathML;
	mstyle displaystyle=true
		mfrac
			mrow
mrow
	mif/mi
	mrow
		mo(/mo
		mix/mi
		mo)/mo
	/mrow
/mrow
			/mrow
			mrow
mrow
	mig/mi
	mrow
		mo(/mo
		mix/mi
		mo)/mo
	/mrow
/mrow
			/mrow
		/mfrac
		mo./mo
	/mstyle
/mathbr/
br/
Your answer for the function math xmlns=http://www.w3.org/1998/Math/MathML;
	mstyle displaystyle=true
		mrow
			mif/mi
			mrow
mo(/mo
mix/mi
mo)/mo
			/mrow
		/mrow
	/mstyle
/math is : __



br/
Your answer for the function math xmlns=http://www.w3.org/1998/Math/MathML;
	mstyle displaystyle=true
		mrow
			mig/mi
			mrow
mo(/mo
mix/mi
mo)/mo
			/mrow
		/mrow
	/mstyle
/math is : __



br//div
/divdiv class='question'
divp/pbr/br/
Simplify the expression
br/math xmlns=http://www.w3.org/1998/Math/MathML;
	mstyle displaystyle=true
		mfrac
			mrow
msup
	mix/mi
	mn2/mn
/msup
mn-8/mn
mix/mi
mn+12/mn
			/mrow
			mrow
msup
	mix/mi
	mn2/mn
/msup
mn-3/mn
mix/mi
mn+2/mn
			/mrow
		/mfrac
	/mstyle
/mathbr/
and give your answer in the form of
br/math xmlns=http://www.w3.org/1998/Math/MathML;
	mstyle displaystyle=true
		mfrac
			mrow
mrow
	mif/mi
	mrow
		mo(/mo
		mix/mi
		mo)/mo
	/mrow
/mrow
			/mrow
			mrow
mrow
	mig/mi
	mrow
		mo(/mo
		mix/mi
		mo)/mo
	/mrow
/mrow
			/mrow
		/mfrac
		mo./mo
	/mstyle
/mathbr/
br/
Your answer for the function math xmlns=http://www.w3.org/1998/Math/MathML;
	mstyle displaystyle=true
		mrow
			mif/mi
			mrow
mo(/mo
mix/mi
mo)/mo
			/mrow
		/mrow
	/mstyle
/math is : __



br/
Your answer for the function math xmlns=http://www.w3.org/1998/Math/MathML;
	mstyle displaystyle=true
		mrow
			mig/mi
			mrow
mo(/mo
mix/mi
mo)/mo
			/mrow
		/mrow
	/mstyle
/math is : __



br//div
/divdiv class='question'
divp/pbr/br/
Simplify the expression
br/math xmlns=http://www.w3.org/1998/Math/MathML;
	mstyle displaystyle=true
		mfrac
			mrow
mn2/mn
mix/mi
mn-2/mn
			/mrow
			mrow
mix/mi
mn-1/mn
			/mrow
		/mfrac
		mo+/mo
		mfrac
			mrow
mn2/mn
mo-/mo
mix/mi
			/mrow
			mrow
mix/mi
mn-1/mn
			/mrow
		/mfrac
	/mstyle
/mathbr/
and give your answer in the form of
br/math xmlns=http://www.w3.org/1998/Math/MathML;
	mstyle displaystyle=true
		mfrac
			mrow
mrow
	mif/mi
	mrow
		mo(/mo
		mix/mi
		mo)/mo
	/mrow
/mrow
			/mrow
			mrow
mrow
	mig/mi
	mrow
		mo(/mo
		mix/mi
		mo)/mo
	/mrow
/mrow
			/mrow
		/mfrac
		mo./mo
	/mstyle
/mathbr/
br/
Your answer for the function math xmlns=http://www.w3.org/1998/Math/MathML;
	mstyle displaystyle=true
		mrow
			mif/mi
			mrow
mo(/mo
mix/mi
mo)/mo
			/mrow
		/mrow
	/mstyle
/math is : __



br/
Your answer for the function math xmlns=http://www.w3.org/1998/Math/MathML;
	mstyle displaystyle=true
		mrow
			mig/mi
			mrow
mo(/mo
mix/mi
mo)/mo
			/mrow
		/mrow
	/mstyle
/math is : __



br//div
/divdiv class='question'
divp/pbr/br/
Simplify the expression
br/math xmlns=http://www.w3.org/1998/Math/MathML;
	mstyle displaystyle=true
		mn3/mn
		mo-/mo
		mfrac
			mrow
mn5/mn
			/mrow
			mrow
mix/mi
mn-4/mn
			/mrow
		/mfrac
	/mstyle
/mathbr/
and give your answer in the form of
br/math xmlns=http://www.w3.org/1998/Math/MathML;
	mstyle displaystyle=true
		mfrac
			mrow
mrow
	mif/mi
	mrow
		mo(/mo
		mix/mi
		mo)/mo
	/mrow
/mrow
			/mrow
			mrow
mrow
	mig/mi
	mrow
		mo(/mo
		mix/mi
		mo)/mo
	/mrow
/mrow
			/mrow
		/mfrac
		mo./mo
	/mstyle
/mathbr/
br/
Your answer for the function math xmlns=http://www.w3.org/1998/Math/MathML;
	mstyle displaystyle=true
		mrow
			mif/mi
			mrow
mo(/mo
	

Re: [NTG-context] Handling EMBED tag in Tex

2011-01-06 Thread Anand Raj
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 pra...@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

 ___

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


Re: [NTG-context] Handling EMBED tag in Tex

2011-01-06 Thread 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.

I am using asciimath module in my tex.

1. *times* not rendered to *X*
In the first question in the xml, can find line*am8.404 times
10^(-7)/am*.

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);' /*

Thanks
Anand

On Thu, Jan 6, 2011 at 9:50 PM, Wolfgang Schuster 
schuster.wolfg...@googlemail.com wrote:


 Am 06.01.2011 um 10:32 schrieb Anand Raj:

  Yes. the svg content is not stored in the embed.svg.
 
  can you make it?

 You you at least give a few information, the thing you’re telling
 is that my example doesn’t work but you don’t tell how you integrated
 it in your own setups.

 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

 ___

?xml version=1.0 encoding=UTF-8?
documentdiv class='question'
divRewrite this as a normal number:
center
am8.404 times 10^(-7)/am
/centerbr/br/
answer = __br/br/
Answers may be entered with or without commas, but answers must be exact (no rounding at all).
Also, do not include any spaces in your answer.			/div
/divdiv class='question'
divConvert the fraction am12/6/am to a decimal. Round your answer to three (3) decimal places if necessary:br/br/
Answer = __/div
/divdiv class='question'
divCompletely simplify the expressionbr/br/
 am-3 y + 8 y -9 y/ambr/br/
Answer = __


/div
/divdiv class='question'
divCompletely simplify the expressionbr/br/
 am8 w + 4 -11 w -10/ambr/br/
Answer = __


/div
/divdiv class='question'
divSimplify:  am2 x^4 + 5 x^4/am/div
/divdiv class='question'
divSimplify:  am5 x^5 - 9 x^5/am/div
/divdiv class='question'
divSimplify:  am4 x^2 + 5 x^4 + 7 x^2 + 6 + 8 x^4/am/div
/divdiv class='question'
divThe expression am(4 x^2+6 x+5)+(5 x^2-6 x-2)/am equals br/
__ am x^2 +/am__  amx+/am__
br//div
/divdiv class='question'
divJon has two trees in his yard.  One is 25 feet taller than the other.  If we let amh/am be the height of the shorter tree, write an algebraic expression for the sum of the two trees' heights.  Be sure to simplify your expression./div
/divdiv class='question'
divHere is a figure made of two rectangles.br/
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);' /
br/
What is the bperimeter/b of the figure?  Answer in terms of amy/am and simplify your expression.br/br/
__


 cmbr/			/div
/div/document

question.tex
Description: TeX document
___
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
___


[NTG-context] Handling EMBED tag in Tex

2011-01-05 Thread 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);'
/

Thanks
Anand
___
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
___


[NTG-context] Omega not recognized in asciimath module

2011-01-04 Thread Anand Raj
Hi,

I have a problem in displaying the omega symbols.

*xhtml *contains

br/
Suppose that am S = 20 Omega , T = 41 Omega  and  U =O84 omega /am.
br/

*tex *contains

\startxmlsetups xml:am
\expanded{\asciimath{\xmltext{#1}{.}}}
\stopxmlsetups

But the Omega symbol is not rendered in the pdf.

Can anyone help me?

Thanks
Anand
___
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
___


Re: [NTG-context] Html to pdf using pragma script

2010-12-21 Thread Anand Raj
Hi,

I have input xml file say *input.xml*

?xml version=1.0 encoding=UTF-8?
document
div class='question'
div
Solve by factoring:
br/br/
*am
math title=3/12mstyle displaystyle=true fontfamily=serifmfracmn
3/mnmn12/mn/mfrac/mstyle/math
   /am*
br/br/
Give ieither/i of the two solutions.
/div
/div
/document

Then I have the tex file to generate the pdf say *generate.tex*

\usemodule[mathml]

\setupbodyfont[palatino]

\startxmlsetups xml:testsetups
\xmlsetsetup{test} {document|b|p|i|br|am}   {xml:*}
\xmlsetsetup{test} {...@class='tips']}   {xml:tips}
\xmlsetsetup{test} {br[tag(1)='br']}{xml:brbr}
\xmlsetsetup{test} {div}{xml:div}
\xmlsetsetup{test} {input}  {xml:input}
\xmlsetsetup{test} {inp...@type='text']}{xml:inputtext}
\xmlsetsetup{test} {script|span}{xml:skip}
\xmlsetsetup{test} {d...@class='question']} {xml:question}
\xmlsetsetup{test} {d...@class='review']}   {xml:review}
\stopxmlsetups

\xmlregistersetup{xml:testsetups}

\startxmlsetups xml:document
\xmlflush{#1}
\stopxmlsetups

\startxmlsetups xml:skip
\removeunwantedspaces\ignorespaces
\stopxmlsetups

\startxmlsetups xml:input
\stopxmlsetups

\startxmlsetups xml:inputtext
\blank
% \dontleavehmode\strut\blackrule[height=1pt,depth=0pt,width=\textwidth]
\dontleavehmode\underbar{\strut\char0\hskip\textwidth\strut}
\blank
\stopxmlsetups

\startxmlsetups xml:div
\blank
\xmlflush{#1}
\blank
\stopxmlsetups

\newcount\QuestionCounter

\startxmlsetups xml:question
\blank
\global\advance\QuestionCounter\plusone
\margintitle{\the\QuestionCounter}
\xmlflush{#1}
\blank
\stopxmlsetups

\startxmlsetups xml:review
% \blank
% \xmlflush{#1}
% \blank
\stopxmlsetups

*\startxmlsetups xml:am
   \xmlprocessdata{}{
math xmlns='http://www.w3.org/1998/Math/MathML'
 mrow
  msup mix/mimn2/mn /msup
  mo+/mo
  mrow
mn4/mnmix/mi
  /mrow
  mo+/mo
  mn4/mn
 /mrow
/math
}{}
\stopxmlsetups
*
\startxmlsetups xml:br
\par
\stopxmlsetups

\startxmlsetups xml:p
\par
\stopxmlsetups

\startxmlsetups xml:tips
\blank
\bgroup\bf Tips: \egroup\xmlflush{#1}
\blank
\stopxmlsetups

\startxmlsetups xml:brbr
\blank
\stopxmlsetups

\startxmlsetups xml:i
\bgroup\it\xmlflush{#1}\egroup
\stopxmlsetups

\startxmlsetups xml:b
\bgroup\it\xmlflush{#1}\egroup
\stopxmlsetups

\starttext
\xmlprocessfile{test}{whatever-011.xml}{}
\stoptext

\stop


now, I need your help to use *am/am* value from input.xml and use it in
*\startxmlsetups xml:am* *\xmlprocessdata*as parameter.

Thanks
Anand




On Tue, Dec 21, 2010 at 5:03 PM, luigi scarso luigi.sca...@gmail.comwrote:

 On Tue, Dec 21, 2010 at 10:01 AM, Hans Hagen pra...@wxs.nl wrote:
  On 21-12-2010 8:04, Anand Raj wrote:
 
  Hi,
 
  how to map svg tags from xml and tex file.?
 
  Dump the svg blob in a file (say image-1.svg) and then use
  \extenalfigure[image-1.svg] to place it. Conversion to pdf will happen
  automatically then
 if you have inkscape installed


 --
 luigi

 ___
 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

 ___

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


[NTG-context] Html to pdf using pragma script

2010-12-20 Thread Anand Raj
Hi,

I want to convert the html page to pdf.

the html contains svg and mathml content.

Thanks
Anand
___
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
___


Re: [NTG-context] Html to pdf using pragma script

2010-12-20 Thread Anand Raj
Hi,

Thank you so much for your prompt reply.

I am new to this.

my need is to convert the html page to pdf and this html contains svg and
mathml content.

I have linux environment

1. What are things to be installed to fulfill my need
2. how to convert html -- xml -- pdf using context (may be the commands)

Thanks
Anand

On Mon, Dec 20, 2010 at 5:18 PM, Wolfgang Schuster 
schuster.wolfg...@googlemail.com wrote:


 Am 20.12.2010 um 09:48 schrieb Anand Raj:

 Hi,

 I want to convert the html page to pdf.

 the html contains svg and mathml content.


 http://pragma-ade.com/general/manuals/xml-mkiv.pdf
 http://dl.contextgarden.net/myway/tas/xhtml.pdf

 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

 ___


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


Re: [NTG-context] Html to pdf using pragma script

2010-12-20 Thread Anand Raj
Hi,

how to map svg tags from xml and tex file.?



On Mon, Dec 20, 2010 at 4:48 PM, Anand Raj anand.s...@gmail.com wrote:

 Hi,

 I want to convert the html page to pdf.

 the html contains svg and mathml content.

 Thanks
 Anand
___
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
___


[NTG-context] New to this

2010-12-17 Thread Anand Raj
Hi,

I have a html page containing mathml and svg content.

How can i make use of the pragma script?

How can i integrate with php?

Thanks
___
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
___