Alexander Lazic wrote:
... what i have also tryed:
\setupheadertexts[text][{Title | \getmarking[chapter]}]
which don't work because i get the following error:
At least on my computer (Mac+TeXshop) the above solution works fine - once you realize that a pipe character doesn't work if typed straight! So the code in itself is correct, but you've included a character that has a special meaning to ConTeXt and that's why it doesn't understand you. If you really need the pipe, I got this one to work - I don't know if there's a more elegant solution to the problem: \setupheadertexts[text][{Title \type{|} \getmarking[section]}] (BTW, if you don't want any text on the left side of the header, do \setupheadertexts[][{Title \type{|} \getmarking[section]}] instead, now it really says 'text' in the left edge of the header...) Been there, done that - had to learn this pipe thingy the hard way, too. Mari