[NTG-context] MKIV and XML documentation

Wolfgang Schuster schuster.wolfgang at googlemail.com
Tue Dec 18 15:13:13 CET 2007


2007/12/18, Johannes Graumann <johannes_graumann at web.de>:
> Wolfgang Schuster wrote:
>
> > 2007/12/18, Johannes Graumann <johannes_graumann at web.de>:
> >> Thanks! I remembered this, but had lost track of where to find it ...
> >> Can someone please have a quick look at the following:
> >>
> >> \startxmlsetups xml:mysetups
> >>   \xmlsetsetup{\xmldocument}{text:p}{xml:paragraph}
> >> \stopxmlsetups
> >>
> >> \xmlregistersetup{xml:mysetups}
> >>
> >> \startxmlsetups xml:paragraph
> >>   \xmlflush{#1}\endgraf
> >> \stopxmlsetups
> >>
> >> \starttext
> >>   \processXMLfilegrouped{zip::\env{odt}::content.xml}
> >> \stoptext
> >
> > replace this with
> >
> > \starttext
> > \xmlprocess{main}{zip::\env{odt}::content.xml}{}
> > \stoptext
> >
> > \processXMLfilegrouped did not work in combination with xmlregistersetup
> >
> Thanks for the hint, but
>
> \startxmlsetups xml:mysetups
>   \xmlsetsetup{\xmldocument}{text:p}{xml:paragraph}
> \stopxmlsetups
>
> \xmlregistersetup{xml:mysetups}
>
> \startxmlsetups xml:paragraph
>   \xmlflush{#1}\endgraf
> \stopxmlsetups
>
> \starttext
>   \xmlprocess{main}{zip::\env{odt}::content.xml}{}
> \stoptext
>
> doesn't give anything different than what I was trying before ...

Can you send a real example (Openoffice file plus TeX file).

Wolfgang


More information about the ntg-context mailing list