Re: [NTG-context] Problem with the verbosity of XML

2014-07-30 Thread Xan
> On 7/28/2014 1:13 PM, Xan wrote:
> > This is a minimal and isolate example
> >
> > You can see that {\bf Hola} is not processed.
> 
> well, because you want to typeset it as is:
> 
> Hola {\bf a}
> 
> why should  be treated as tex?
> 
> \startxmlsetups xml:demo:pas
>  \startitem
>  \xmlflush{#1}
>  \stopitem
> \stopxmlsetups
> 
> versus:
> 
> \startxmlsetups xml:demo:pas
>  \startitem
>  \xmlflushcontext{#1}
>  \stopitem
> \stopxmlsetups

Mmm... thanks. Very much

Xan
___
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] Problem with the verbosity of XML

2014-07-28 Thread Hans Hagen

On 7/28/2014 1:13 PM, Xan wrote:

This is a minimal and isolate example

You can see that {\bf Hola} is not processed.


well, because you want to typeset it as is:

Hola {\bf a}

why should  be treated as tex?

\startxmlsetups xml:demo:pas
\startitem
\xmlflush{#1}
\stopitem
\stopxmlsetups

versus:

\startxmlsetups xml:demo:pas
\startitem
\xmlflushcontext{#1}
\stopitem
\stopxmlsetups


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


Re: [NTG-context] Problem with the verbosity of XML

2014-07-28 Thread Hans Hagen

On 7/27/2014 7:24 PM, Xan wrote:

hi,

I have this context file:

\environment ../../../../plantilles/entorn-simple-estructurals
\environment ../../../../plantilles/entorn-simple-visuals
\environment entorn-simple-xml

\xmlprocessfile{demo}{80-activitats.xml}{}

this XML file (80-activitats.xml):



   
 exercici
 
 
 
\startitemize[a,text] \item $x = -1$ \item $x = -1$ \item $x = -2$ \item $x = 
3$\stopitemize
 
   


and this environment:

\startxmlsetups xml:demo:base
  \xmlsetsetup{demo}{*}{-}
  \xmlsetsetup{demo}{activitats|tipus|activitat|enunciat|solucio}{xml:demo:*}
\stopxmlsetups

\xmlregisterdocumentsetup{demo}{xml:demo:base}

\startxmlsetups xml:demo:activitats
   \title{Activitats}
   \xmlflush{#1}
\stopxmlsetups

\startxmlsetups xml:demo:activitat
   \xmlflush{#1}
\stopxmlsetups

\startxmlsetups xml:demo:enunciat
   \startexercici\xmltext{#1}{/text()}\stopexercici
\stopxmlsetups


But I get the PDF with the verbose text, not processing (I attach them)

What fails?


are the environments loaded?

--

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


[NTG-context] Problem with the verbosity of XML

2014-07-27 Thread Xan
hi,

I have this context file:

\environment ../../../../plantilles/entorn-simple-estructurals
\environment ../../../../plantilles/entorn-simple-visuals
\environment entorn-simple-xml
...
\xmlprocessfile{demo}{80-activitats.xml}{}

this XML file (80-activitats.xml):



  
exercici



\startitemize[a,text] \item $x = -1$ \item $x = -1$ \item $x = -2$ \item $x = 
3$\stopitemize

  


and this environment:

\startxmlsetups xml:demo:base
 \xmlsetsetup{demo}{*}{-}
 \xmlsetsetup{demo}{activitats|tipus|activitat|enunciat|solucio}{xml:demo:*}
\stopxmlsetups

\xmlregisterdocumentsetup{demo}{xml:demo:base}

\startxmlsetups xml:demo:activitats
  \title{Activitats}
  \xmlflush{#1}
\stopxmlsetups

\startxmlsetups xml:demo:activitat
  \xmlflush{#1}
\stopxmlsetups

\startxmlsetups xml:demo:enunciat
  \startexercici\xmltext{#1}{/text()}\stopexercici
\stopxmlsetups


But I get the PDF with the verbose text, not processing (I attach them)

What fails?

Thanks in advance,
Xan


80-seleccio.pdf
Description: Adobe PDF 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
___