31 Oct
2007
31 Oct
'07
11:50 a.m.
2007/10/30, Taco Hoekwater
Steffen Wolfrum wrote:
But I was sure there was also a fast, direct way. Well, obviously there isn't (anymore?) ...
Here's a trick. It is ugly, but works reasonably well.
\starttext \def\CR{\crlf} \completecontent \def\CR{ }
\chapter{First line\CR second line}
\stoptext
Nice solution but Hans wrote a mechanism to to make two different titles for the text and the table of contents or whatever else you want. \defineselector[title][max=2,n=2] \starttext \start \setupselector[title][n=1] \completecontent \stop \chapter{\select{title}{First line\crlf second line}{First line second line}} \stoptext Wolfgang