2007/10/30, Taco Hoekwater <[EMAIL PROTECTED]>: > > 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
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________