From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/49657 Path: news.gmane.org!not-for-mail From: Jeff Smith Newsgroups: gmane.comp.tex.context Subject: Re: TOCS: part number, custom alternative and margins Date: Mon, 20 Apr 2009 11:08:14 -0400 Message-ID: <2e8813a0904200808g27fb257nae549f837a663fab@mail.gmail.com> References: <2e8813a0904141934k35c58cf6q3912722ea0dbd5a@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1240240173 29781 80.91.229.12 (20 Apr 2009 15:09:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Apr 2009 15:09:33 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Apr 20 17:10:52 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1Lvv8q-0003zF-Nx for gctc-ntg-context-518@m.gmane.org; Mon, 20 Apr 2009 17:10:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 964E41FADC; Mon, 20 Apr 2009 17:09:12 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 23239-05; Mon, 20 Apr 2009 17:08:39 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 863C81FADF; Mon, 20 Apr 2009 17:08:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 690561FADF for ; Mon, 20 Apr 2009 17:08:38 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24843-05 for ; Mon, 20 Apr 2009 17:08:31 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by ronja.ntg.nl (Postfix) with ESMTP id 29F301FADC for ; Mon, 20 Apr 2009 17:08:31 +0200 (CEST) Original-Received: from yx-out-1718.google.com (yx-out-1718.google.com [74.125.44.154]) by filter2-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n3KF8Ttu010798 for ; Mon, 20 Apr 2009 17:08:30 +0200 Original-Received: by yx-out-1718.google.com with SMTP id 34so149488yxf.74 for ; Mon, 20 Apr 2009 08:08:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=0DcUm6FgywAQCSqE+nYYkvGvU5bfznEU8pBdNo8m0l0=; b=Hk1PmzwNZ4SCyspsNdQQvNvt93nkPe+HFxMN5lUQ2FriNkYGj+lF5RZu7CdmHz1/pf l2ueHHwy7fJtRkw5bQpAJPl+Y635GQpt4wywg3mNbYg4TN3kdfKiRck/yeOpVLs4W94a kuub0YUgQAYpK+2HU0SL5k6kBcGy46jwcHEEk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=sD2ULhAWrjat5F5P/rY5vd49RZRm2oTQ89KfAV5Qi22SkDEtGapZPVlQRO3aufgfrk vVLGbF8cHqXtZHuU6brhAKPCKpMowdmNsQSE+rl6oWtnJlOqxf6z9A+TN0c4RXZVPyiZ B9AR5/gf2wgiWiT2vSVRGddlHYlUYyXoJelRE= Original-Received: by 10.150.138.1 with SMTP id l1mr6529865ybd.232.1240240109216; Mon, 20 Apr 2009 08:08:29 -0700 (PDT) In-Reply-To: <2e8813a0904141934k35c58cf6q3912722ea0dbd5a@mail.gmail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.44.154; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 211390993 - d857a028b092 - 20090420 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:49657 Archived-At: Hi, Anybody has some time for this? Thanks! Jeff On Tue, Apr 14, 2009 at 22:34, Jeff Smith wrote: > Hi all! > > A while ago I asked how to achieve a particular layout I wanted for part > titles in my table of contents. I was given this solution: > > \definelistplacement[partlist][none]#1#2#3% > > {\sc\inframed[width=3Dbroad,align=3Dright,bottomframe=3Don,topframe=3Doff= ,rightframe=3Doff,leftframe=3Doff]{{#2}}} > > \setuplist[part][alternative=3Dpartlist] > > With that, I get no part number, no page number, a title in small caps an= d a > bottom frame. So far so good. > > In the same table, I also want my section and subsection titles to indent, > at different values depending on levels (the further the section in the > hierarchy, the further it indents). I use the margin=3D parameter for tha= t. > > When I do that, however, the next part title indents equally to the same > level as the last section or subsection did. See the example file toc.tex > attached. Obviously, I don't want that. > > The only way I've found to avoid that is to get rid of the custom > alternative, and transfer the \inframed command to a textstyle parameter > inside a normal \setuplist[part] command. See toc-2.tex attached. > > When I do that, however, I can't get rid of the part number. I tried > everything I could think about, but to no avail. > > I'm using MKII+Xetex. (ConTeXt=A0 ver: 2008.11.10 21:40 MKII=A0 fmt: 2008= .11.15 > int: english/english) > > Can anyone help? What is the best solution? > > Thanks in advance! > Jeff > > > > > ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________