Phhh! Hot stuff Wolfgang. This one should definitely go into the wiki (maybe plus a little documentation?) Very convenient option, amazing what goodies ConTeXt provides – thank you very, very much Hans! And thank you Wolfgang for remembering this ... even the master himself forgot it ;o) Steffen Am 31.10.2007 um 12:50 schrieb Wolfgang Schuster:
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
______________________________________________________________________ _____________ 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 ______________________________________________________________________ _____________