Hans Hagen
On 6-11-2011 21:38, Marco Pessotto wrote:
Hi!
The highlight seems to act strangely. In addition to the previous report, I get an unwanted<break/>:
%%% start example \setupbackend[export=yes] \definehighlight[emph][style=italic]
\starttext
\section{test}
\emph{Hello} world!
\stoptext %%% stop example
It has to do with the way grouping interferes with the start of a paragraph
\dontleavehmode \emph ...
I'll make highlights horizontal by default
It works, thanks a bunch. The previous missing <break/> seems to be fixed wrapping the paragraph with \startparagraph \stopparagraph. I assume this is the right thing to do for a proper export, isn't it? Btw, is there a way to run context just for the xml output (as I'm doing conditional runs, and I discard the pdf which comes with the xml as a side effect). context --help doesn't seem to have an option for that. Well, not so important, just asking. Thanks again Best wishes -- Marco