Re: [NTG-context] \starttyping while processing XML causing error

2014-03-28 Thread Xan
On Fri, 28 Mar 2014 09:56:12 +0100 Hans Hagen ha escrit: > On 3/28/2014 9:13 AM, Xan wrote: > >> On 3/27/2014 9:46 AM, Xan wrote: > >>> \starttext > >>> > >>> A > >>> \xmlprocessfile{demo}{./dades.xml}{} > >>> B > >>> \stoptext > >> > >> \startxmlsetups xml:demo:code > >> \blank > >> \sta

Re: [NTG-context] \starttyping while processing XML causing error

2014-03-28 Thread Xan
> > > How can I achieve this results? (numbering line and color basically) > > \startlinenumbering > > etc > How can I disable hyphenize and wrap large lines? Thanks, Xan. ___ If your question is of interest to ot

Re: [NTG-context] \starttyping while processing XML causing error

2014-03-28 Thread Xan
I can circumvent it with \defineframedtext[framedcode][strut=yes,width=local,align=flushleft,frame=off] \startxmlsetups xml:demo:codi \blank \startframedcode \startlinenumbering\xmlverbatim{#1}\stoplinenumbering \stopframedcode \blank \stopxmlsetups Xan. __

Re: [NTG-context] \starttyping while processing XML causing error

2014-03-28 Thread Hans Hagen
On 3/28/2014 9:13 AM, Xan wrote: On 3/27/2014 9:46 AM, Xan wrote: \starttext A \xmlprocessfile{demo}{./dades.xml}{} B \stoptext \startxmlsetups xml:demo:code \blank \start \ttx \xmlverbatim{#1} \stop \blank \stopxmlsetups First of all, thank you very much, Hans. But w

Re: [NTG-context] \starttyping while processing XML causing error

2014-03-28 Thread Xan
> On 3/27/2014 9:46 AM, Xan wrote: > > \starttext > > > > A > > \xmlprocessfile{demo}{./dades.xml}{} > > B > > \stoptext > > \startxmlsetups xml:demo:code >\blank >\start \ttx > \xmlverbatim{#1} >\stop >\blank > \stopxmlsetups First of all, thank you very much, Hans. But why

Re: [NTG-context] \starttyping while processing XML causing error

2014-03-27 Thread Hans Hagen
On 3/27/2014 9:46 AM, Xan wrote: \starttext A \xmlprocessfile{demo}{./dades.xml}{} B \stoptext \startxmlsetups xml:demo:code \blank \start \ttx \xmlverbatim{#1} \stop \blank \stopxmlsetups -- -

[NTG-context] \starttyping while processing XML causing error

2014-03-27 Thread Xan
Hi, I have this minimal example: 1) Tasques.context: \environment ./entorn-xml \starttext A \xmlprocessfile{demo}{./dades.xml}{} B \stoptext 2) entorn-xml.tex: \startxmlsetups xml:demo:base \xmlsetsetup{demo}{*}{-} \xmlsetsetup{demo}{things|code|}{xml:demo:*} \stopxmlsetups \xmlregiste