On 2013–10–13 Hans Hagen wrote:
inbetween the arcs, that should alsó be drawn). The text should not be stretched but center on the top, flowing evenly distributed on each side. This link will give you an idea:
http://www.heilsuefling.is/heilsuefling/upload/images/whp_in_general/determi...
How can this achieved?
a bit clumsy but workable
\starttext
\useMPlibrary[txt]
\startsetups text-a \startuseMPgraphic{followtokens} path RotPath ; RotPath := reverse halfcircle xyscaled 5cm ; draw RotPath ; \stopuseMPgraphic \followtokens{some text but not that long{\hskip1em}} \stopsetups
\startsetups text-b \startuseMPgraphic{followtokens} path RotPath ; RotPath := reverse halfcircle xyscaled 3cm ; draw RotPath ; \stopuseMPgraphic \followtokens{{\hskip1em}some text{\hskip1em}} \stopsetups
\startMPpage draw textext("\setups{text-a}") ; draw textext("\setups{text-b}") shifted (0,-.5cm); \stopMPpage
\stoptext
This stretches the text. One has to use \hskip to squeeze the text back to its normal inter character space, but I assume that's what you meant by clumsy. I assume the OP wanted a solution which keeps the natural spacing (whatever that means when text is aligned to a path). Marco