Thank you so much for your time and help! I'll look at this tonight. What
xml editor are you using?
Joh
Hans Hagen wrote:
> the cleanest way is:
>
> \startxmlsetups xml:mysetups
> \xmlsetsetup{\xmldocument}{text:p}{xml:paragraph}
> \stopxmlsetups
>
> \xmlregistersetup{xml:mysetups}
>
> \startxmlsetups xml:paragraph
> \xmlflush{#1}\endgraf
> \stopxmlsetups
>
> \usezipfile[\inputfilename]
>
> \starttext
> \xmlprocess{main}{*/content.xml}{}
> \stoptext
>
> and then:
>
> texexec --lua --purge --environment=yourstyle.tex Versuch.odt
>
> (you need to add the .tex, there is a buglet)
>
> however, more fun is:
>
> texexec --ctx=openoffice Versuch.odt
>
> with (someplace in your tree) openoffice.ctx
>
> <?xml version='1.0' standalone='yes'?>
>
> <ctx:job>
> <ctx:message>open office processing</ctx:message>
> <ctx:preprocess/>
> <ctx:flags>
> <ctx:flag>purge</ctx:flag>
> <ctx:flag>texengine=luatex</ctx:flag>
> <ctx:flag>interface=en</ctx:flag>
> </ctx:flags>
> <ctx:process>
> <ctx:resources>
> <ctx:environment>t-openoffice.tex</ctx:environment>
> </ctx:resources>
> </ctx:process>
> <ctx:postprocess/>
> </ctx:job>
>
> and t-openoffice.tex as style
>
>
>
>
> -----------------------------------------------------------------
> Hans Hagen | PRAGMA ADE
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | fax: 038 477 53 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 : [email protected] /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive : https://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 : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________