X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil] ["2365" "Fri" "12" "November" "1999" "22:26:55" "+0000" "James Kilfiger" "mapdn@CSV.WARWICK.AC.UK" nil "63" "Re: xcontents" "^Date:" nil nil "11" nil nil nil nil nil] nil) Received: from mail.listserv.gmd.de (mail.listserv.gmd.de [192.88.97.5]) by mail.Uni-Mainz.DE (8.9.3/8.9.3) with ESMTP id XAA23568 for ; Fri, 12 Nov 1999 23:27:04 +0100 (MET) Received: from mail.listserv.gmd.de (192.88.97.5) by mail.listserv.gmd.de (LSMTP for OpenVMS v1.1a) with SMTP id <8.E0F7B591@mail.listserv.gmd.de>; Fri, 12 Nov 1999 23:26:58 +0100 Received: from RELAY.URZ.UNI-HEIDELBERG.DE by RELAY.URZ.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 1.8b) with spool id 445813 for LATEX-L@RELAY.URZ.UNI-HEIDELBERG.DE; Fri, 12 Nov 1999 23:26:46 +0100 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by relay.urz.uni-heidelberg.de (8.8.8/8.8.8) with ESMTP id XAA13016 for ; Fri, 12 Nov 1999 23:26:44 +0100 (MET) Received: from daffodil.csv.warwick.ac.uk (daffodil.csv.warwick.ac.uk [137.205.192.30]) by relay.uni-heidelberg.de (8.9.1b+Sun/8.9.1) with ESMTP id XAA05108 for ; Fri, 12 Nov 1999 23:26:57 +0100 (MET) Received: from mimosa.csv.warwick.ac.uk (mapdn@mimosa [137.205.192.34]) by daffodil.csv.warwick.ac.uk (8.9.3/8.9.3) with ESMTP id WAA13439 for ; Fri, 12 Nov 1999 22:26:57 GMT Received: (from mapdn@localhost) by mimosa.csv.warwick.ac.uk (8.9.3/8.9.3) id WAA21138 for LATEX-L@URZ.UNI-HEIDELBERG.DE; Fri, 12 Nov 1999 22:26:55 GMT X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID: <199911122226.WAA21138@mimosa.csv.warwick.ac.uk> Reply-To: Mailing list for the LaTeX3 project In-Reply-To: <199911112052.VAA00641@istrati.zdv.uni-mainz.de> from Frank Mittelbach at "Nov 11, 99 09:52:48 pm" Date: Fri, 12 Nov 1999 22:26:55 +0000 From: James Kilfiger Sender: Mailing list for the LaTeX3 project To: Multiple recipients of list LATEX-L Subject: Re: xcontents Status: R X-Status: X-Keywords: X-UID: 3398 > okay, so now we have an implementation by James and if you put that into a > file called xcontentsJK.sty then you should be able to run the test file i > appended below. > > my questions to this list would be now: > > c) can you define the layout you are looking for? > if not: > - are there keys missing for the current templates? > - are there other templates missing that do radically different things? > - are the keys perhaps the wrong ones? One more key : number-indent =l [0pt] \parindent Perhaps it should be `first-line-indent'. Used below. For the contents I am trying to simulate I seem to need both chapter and un-numbered-chapter instances. That would have implications for the templates which write the table of contents file. (I also need a demi-bold font, but thats by-the-by) > > e) how difficult is it to implement a given design? It's straightforward but fiddley, here are my instances for the toc of Algebraic K-Therory (Springer, GTM #147), The book only contains chapters, sections and `paragraphs' \DeclareCollectionInstance{Ktheory}{contentsobject}{chapter}{JK} {pre-v-action = \DelayEvaluation{ \addpenalty{10000}\addvspace{0.5ex plus 1pt}}, number-format = \textbf{\hfil Chapter~#1.\nobreakspace}, %Should be demi title-format = \textbf{#1}, %but this is bx pnum-format = \textbf{\hfil#1}, leaders-sep = 100cm, object-indent = 2cm, number-indent = -2cm, number-width = 2cm} \DeclareCollectionInstance{Ktheory}{contentsobject}{unnumberchapter}{JK} {pre-v-action = \DelayEvaluation{ \addpenalty{10000}\addvspace{1ex plus 1pt}}, title-format = \textbf{#1}, pnum-format = \textbf{\hfil#1}, leaders-sep = 100cm} \DeclareCollectionInstance{Ktheory}{contentsobject}{section}{JK} {number-format = \hfil#1.\nobreakspace, leaders-sep = 100cm, object-indent = 2cm, number-indent = -2cm, number-width = 2cm} \DeclareCollectionInstance{Ktheory}{contentsobject}{unnumbersection}{JK} {object-indent = 2cm+20pt, number-indent = -20pt, leaders-sep = 100cm} \DeclareCollectionInstance{Ktheory}{contentsobject}{paragraph}{JK} {leaders-sep = 100cm, object-indent = 2cm, number-indent = -2cm, number-width = 2cm}