Wolfgang, Your solution seems to work perfectly: I get exactly what I want (I only have to remove frames around cells). I don't understand the possible problems: are you saying that if I use xtables in the body of the document (other than in the header), and those tables split across pages it could give unexpected behaviours? What if I don't use xtables in the body, but other tabular environments that allow splitting, such as TABLE or Linetable (I'm reading from the wiki, I never used that)? Thank you very much! Bye, Marco Pallante
You can try to use a table but there is a possibility for problems when you use xtables in your document which are split across pages.
\startsetups[header:table]
\startembeddedxtable[align={middle,lohi},strut=no] \startxrow \startxcell[width=0.25\paperwidth,nr=4] %\externalfigure[logo] \stopxcell \startxcell[width=0.40\paperwidth,nr=4] Document title \stopxcell \startxcellgroup[height=0.25\headerheight,foregroundstyle=small] \startxcell[width=0.10\paperwidth,align={flushright,lohi}] Doc No. \stopxcell \startxcell[width=0.15\paperwidth,align={flushleft,lohi}] \unknown \stopxcell \stopxcellgroup \stopxrow \startxrow \startxcellgroup[height=0.25\headerheight,foregroundstyle=small] \startxcell[width=0.10\paperwidth,align={flushright,lohi}] Revision \stopxcell \startxcell[width=0.15\paperwidth,align={flushleft,lohi}] \unknown \stopxcell \stopxcellgroup \stopxrow \startxrow \startxcellgroup[height=0.25\headerheight,foregroundstyle=small] \startxcell[width=0.10\paperwidth,align={flushright,lohi}] Data \stopxcell \startxcell[width=0.15\paperwidth,align={flushleft,lohi}] \unknown \stopxcell \stopxcellgroup \stopxrow \startxrow \startxcellgroup[height=0.25\headerheight,foregroundstyle=small] \startxcell[width=0.10\paperwidth,align={flushright,lohi}] Pagina \stopxcell \startxcell[width=0.15\paperwidth,align={flushleft,lohi}] \pagenumber/\lastpagenumber \stopxcell \stopxcellgroup \stopxrow \stopembeddedxtable
\stopsetups
\setupheadertexts[\texsetup{header:table}]
\starttext \dorecurse{30}{\input knuth\par} \stoptext
Wolfgang