From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/4598 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: More lines in table of content Date: Thu, 26 Apr 2001 10:05:13 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20010426100513.009eb800@server-1> References: <200104241742.f3OHg3010610@merkur.econ.muni.cz> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035395251 27056 80.91.224.250 (23 Oct 2002 17:47:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:47:31 +0000 (UTC) Cc: ConTeXt mailing list Original-To: AlterEgo Qasars In-Reply-To: <200104241742.f3OHg3010610@merkur.econ.muni.cz> Xref: main.gmane.org gmane.comp.tex.context:4598 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:4598 At 07:42 PM 4/24/01 +0200, AlterEgo Qasars wrote: >Good evening. > >I would like to typeset the content in two columns. But then the chapter >titles are too long to fit to one line. How can make ConTeXt to split the >chapter title to more than one line? I tried > >\setuplist[chapter] > [alternative=none, before=, after=, > pagecommand=\MyPage, textcommand=\MyTitle, > margin=0pt, width=0pt, distance=0pt] \def\MyPage#1{\ \ /\ \ #1} >\def\MyTitle#1{\vbox{\hsize=0.8\textwidth #1}} > >But then the grid is spoiled. What is better solution? Doesn't \startcolumns[n=2] \place... \stopcolumns with the normal a/b/c alternatives work? grid snapping is handled by : \snaptogrid\vbox .... Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------