[NTG-context] header on last missing when processing xml

2007-02-18 Thread Ulf Martin
Hi Mighty ConTeXters!

I have a problem: when I process the XML file 'headertest.xml' below,
using 'headertest.tex' (below) with:

   texmfstart texexec --xtx headertest.tex

I get four pages of output (as expected) but on the last page (page 4 in
this case) the headline is missing (not expected). Why? And how can this
be fixed (i.e. header on all pages)? I experienced this problem with
other XML processing tasks, it is always the header on the last page
that is missing (one can test this by changing the times parameter of
the repeat tag in the XML file).

Thank you  Cheers!
Ulf Martin

=== XML ===

?xml version=1.0 encoding=utf-8?
!-- FILE(headertest.xml) --
document
  header text=Header Test Document /
  repeat times=10
sectiontitleHeader Test section/sectiontitle
knuth /
  /repeat
/document
!-- ENDFILE(headertest.xml) --

=== TeX ===

%% FILE(headertest.tex)
\defineXMLargument [repeat] {\dorecurse{\XMLpar{repeat}{times}{}}}
\defineXMLargument [sectiontitle] {\section}
\defineXMLsingular [knuth] {\input knuth\par\ }
\defineXMLsingular [header]
  {\setupheadertexts[\XMLpar{header}{text}{}]}

\setuppagenumbering[location={footer,middle}]

\starttext
\processXMLfilegrouped {headertest.xml}
\stoptext
%% ENDFILE(headertest.tex)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] overset in ConTeXt

2007-02-18 Thread Jean Magnan de Bornier
Hi all,
I cannot find how to type a bar over a letter in math mode; in LaTeX the
command is something like  \overset{-}{q}; but ConTeXt doesn't like it:

! Undefined control sequence.
l.1869 p(q_1 +  \overset
{-}{q_2})+q_1  \frac{dp}{dQ} - Cm_1(q_1) = 0
? X

I have this:

\usemodule[amsl]
\usemodule[newmat]
\usemodule[nath]

doesn't seem enough, and I'm sure the solution is right there :-(

tia
-- 
  Jean Magnan de Bornier |Cours Victor Hugo
  e-mots: jean at bornier.net|13980 Alleins   France
  T 09 50 39 34 03   |P 06 09 17 35 87


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context