Re: [NTG-context] buff_gobble error MathML

2013-06-08 Thread Wolfgang Schuster

Am 08.06.2013 um 16:51 schrieb Steffen Wolfrum :

> 
> Am 08.06.2013 um 16:18 schrieb Wolfgang Schuster:
> 
>> 
>> Am 08.06.2013 um 12:53 schrieb Steffen Wolfrum :
>> 
>>> Hi friends,
>>> 
>>> we need to run MathML inside \sym (see below).
>>> Is there a way to solve the error "! Argument of \buff_gobble has an extra 
>>> }."
>> 
>> You can’t use \startbuffer … \stopbuffer in other commands but with 
>> \setbuffer
>> there is a command which can be used here.
>> 
>> \sym{\setbuffer … \endbuffer\processxmlbuffer}
> 
> 
> 
> great, thanks. but this immediately gives the next error: "invalid xml file - 
> parsed text"
> 
> what's wrong with the code below?

Replace the < operator with <

> […]
> http://www.w3.org/1998/Math/MathML";><
> […]

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
___


Re: [NTG-context] buff_gobble error MathML

2013-06-08 Thread Steffen Wolfrum

Am 08.06.2013 um 16:18 schrieb Wolfgang Schuster:

> 
> Am 08.06.2013 um 12:53 schrieb Steffen Wolfrum :
> 
>> Hi friends,
>> 
>> we need to run MathML inside \sym (see below).
>> Is there a way to solve the error "! Argument of \buff_gobble has an extra 
>> }."
> 
> You can’t use \startbuffer … \stopbuffer in other commands but with \setbuffer
> there is a command which can be used here.
> 
> \sym{\setbuffer … \endbuffer\processxmlbuffer}



great, thanks. but this immediately gives the next error: "invalid xml file - 
parsed text"

what's wrong with the code below?

Steffen
---

\usemodule[mathml] \starttext


\setbuffer http://www.w3.org/1998/Math/MathML";>
http://www.w3.org/1998/Math/MathML";>0
http://www.w3.org/1998/Math/MathML";>≤
http://www.w3.org/1998/Math/MathML";>

δ


j
s


http://www.w3.org/1998/Math/MathML";><
http://www.w3.org/1998/Math/MathML";>



k


j




k


s





\endbuffer\processxmlbuffer

\stoptext
___
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] buff_gobble error MathML

2013-06-08 Thread Wolfgang Schuster

Am 08.06.2013 um 12:53 schrieb Steffen Wolfrum :

> Hi friends,
> 
> we need to run MathML inside \sym (see below).
> Is there a way to solve the error "! Argument of \buff_gobble has an extra }."

You can’t use \startbuffer … \stopbuffer in other commands but with \setbuffer
there is a command which can be used here.

  \sym{\setbuffer … \endbuffer\processxmlbuffer}

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
___


[NTG-context] buff_gobble error MathML

2013-06-08 Thread Steffen Wolfrum
Hi friends,

we need to run MathML inside \sym (see below).
Is there a way to solve the error "! Argument of \buff_gobble has an extra }."

Thanks, Steffen
---
\usemodule[mathml] \starttext

\setupitemize[1][broad][margin=no,distance=0em,width=0em,align=stretch]

\startitemize[1][width=5cm]

\sym{\startbuffer http://www.w3.org/1998/Math/MathML";>
http://www.w3.org/1998/Math/MathML";>

g


1


http://www.w3.org/1998/Math/MathML";>,
http://www.w3.org/1998/Math/MathML";> 
http://www.w3.org/1998/Math/MathML";>

g


2


\stopbuffer\processxmlbuffer}Vektor

\stopitemize

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