Hi Hans, please consider the following example.
\setupbackend[export=yes,xhtml=yes,css=yes] \setupheadertexts[{\startelement[header] test \stopelement}] \starttext \startbuffer \startparagraph \input tufte \stopparagraph \startparagraph \input ward \stopparagraph \stopbuffer \startsection[title=first head] \getbuffer \stopsection \startsection[title=second head] \getbuffer \stopsection %% try to comment this section \startsection[title=third head] \getbuffer \stopsection \stoptext The section-title order is now 3, 1, 2 (in the XHTML output). This problem appears only if there is a page break. After commenting the last section the XHTML output looks like expected. Best wishes Andreas PS. I’ve encountered another export problem. Perhaps it is because of an not intending using of \settaggedmetadata … Here is an example. \setupbackend[export=yes,xhtml=yes,css=yes] \startsetups document:start \settaggedmetadata[title=\documentvariable{title}] \stopsetups \startdocument [title=This document title is wrapped in section-tags] \startsection[title=test] \startparagraph \input tufte \stopparagraph \stopsection \stopdocument ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________