Hi, I am trying to have the header text aligned at the outer border of margin. At the moment I have \setupheadertexts[margin][][\rightaligned{\CurrentChapter}][\leftaligned{\CurrentChapter}][] and in the text \chapter{A very, very long long heading} and it works like I expect it. But as soon I have a linebreak in the heading (via \\) I get following error message: structure > sectioning > chapter @ level 2 : 0.1 -> A very,\\very long long title ! Extra }, or forgotten \endgroup. system > tex > error on line 1 in file context-test-struktur3.tex: Extra }, or forgotten ... As soon I remove the alignment in the header also the chapter with the linebreak sign works - but of course I get then a wrong alignment. How can I make that the header works with the correct alignment and linebreaks in the heading? (header should be still without linebreaks) Thanks in advance! Complete example: -------------8<---------------------------- % define margins \definelayout[WithMarginnotes][location={duplex},grid=no,topspace=3cm,height=24cm,backspace=3cm,cutspace=0cm,leftmargin=1cm,leftmargindistance=0.4cm,width=12.1cm,rightmargindistance=0.4cm,rightmargin=3.5cm] \setuplayout[WithMarginnotes] \setuppagenumbering[alternative=doublesided,location=] \showframe % define header \define\CurrentChapter% {\doiftextelse {\getmarking[chapternumber]}% {\getmarking[chapternumber].~\getmarking[chapter]}% {\getmarking[chapter]}% } \setupheadertexts[margin][][\rightaligned{\CurrentChapter}][\leftaligned{\CurrentChapter}][]% % \starttext \completecontent[criterium=all] \chapter{A very,\\very long long heading} \chapter{A very, very long long heading} \chapter{End} \stoptext