Am 27.11.2012 um 10:36 schrieb luigi scarso
On Tue, Nov 27, 2012 at 10:24 AM, Wolfgang Schuster
wrote: Am 27.11.2012 um 10:11 schrieb luigi scarso
: On Tue, Nov 27, 2012 at 10:04 AM, "H. Özoguz"
wrote: \setupheadertexts
[] [{\getmarking[section]}]
[][]
\starttext
\section{This is a very long section title, and so, clearly, it does not fit in one line, definitely not, absolutely no change. Without line break not possible.}
\stoptext
Hm, I dont' understand clearly what you want (the title is ok for me), […]
The headertext isn’t broken into lines.
ah now I see -- the headertext .
Hm, you can try a temp. patch
\showframe \setupheadertexts[][\vbox{\hsize=0.45\textwidth\getmarking[section]}][][]
Or use a customized frame: \defineframed[headerframed][frame=off,width=.45\textwidth,align=normal,offset=0pt,location=bottom] \setupheadertexts [][\headerframed{\getmarking[section]}] [][]
There is a macro to make a shortert title, but a shorter text with the “marking” key from \startsection is better, of course
No need for a macro, it’s available as a option for \setupheader. \setupheader[width=6cm] \setupheadertexts [][section] [][] Wolfgang