On Sun, Oct 19, 2008 at 10:38 PM, Johannes Graumann <[EMAIL PROTECTED]> wrote: > Wolfgang Schuster wrote: >>> \xmlfilter{main}{office:automatic-styles/style:style/style:text-properties >>> /command(do:style:text-properties)} >>> \xmlflush{#1} >>> \egroup >>> \stopxmlsetups >> >> \startxmlsetups text:span >> \bgroup >> \xmlfilter{main}{office:automatic-styles/style:[EMAIL >> PROTECTED]:name='\xmlatt{#1}{style-name}']/style:text-properties/command(do:style:text-properties)} >> \xmlflush{#1} >> \egroup >> \stopxmlsetups > > Hello Wolfgang, > > I just don't get it to run. Using the attached and > context --ctx=t-openoffice Attempt.odt > I get the result in the pdf ... strange whitespace and no bold anywhere to be > seen. Can you give me another nudge ... I start to understand what Hans and > you are actually doing, but this is still beyond me.
I attached a fixed version, the errors in your version are: - your wrote "do:style:textproperties" instead of "do:style:text-properties" for the "text:span" element , the hyphen was missing - the begin of the line in \startxmlsetups text:span ... \stopxmlsetups contained a lot of control codes and they inserted the whitespace, could be a problem with your editor, which one do you use? Wolfgang
t-openoffice.tex
Description: TeX 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________