From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24617 Path: news.gmane.org!not-for-mail From: David Arnold Newsgroups: gmane.comp.tex.context Subject: setupheadnumber loses table of contents Date: Wed, 21 Dec 2005 20:08:02 -0800 Message-ID: <27A32926-EAF6-4887-98D3-1DA307A1418E@cox.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1135224569 22399 80.91.229.2 (22 Dec 2005 04:09:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Dec 2005 04:09:29 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 22 05:09:27 2005 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 ciao.gmane.org with esmtp (Exim 4.43) id 1EpHld-0000so-W2 for gctc-ntg-context-518@m.gmane.org; Thu, 22 Dec 2005 05:09:26 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E137112882; Thu, 22 Dec 2005 05:09:24 +0100 (CET) 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 09713-06; Thu, 22 Dec 2005 05:09:19 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1742912851; Thu, 22 Dec 2005 05:09:19 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 098B812851 for ; Thu, 22 Dec 2005 05:09:18 +0100 (CET) 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 09750-04 for ; Thu, 22 Dec 2005 05:09:16 +0100 (CET) Original-Received: from fed1rmmtao03.cox.net (fed1rmmtao03.cox.net [68.230.241.36]) by ronja.ntg.nl (Postfix) with ESMTP id 698DA1283D for ; Thu, 22 Dec 2005 05:09:15 +0100 (CET) Original-Received: from [10.0.1.2] (really [70.191.56.23]) by fed1rmmtao03.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20051222040823.OLVE20875.fed1rmmtao03.cox.net@[10.0.1.2]> for ; Wed, 21 Dec 2005 23:08:23 -0500 Original-To: Context Mailing List List X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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:24617 Archived-At: All, in the following example, if I uncomment %\setupheadnumber[chapter][2] then I lose my table of contents. Should that be happening? % output=pdf \setupcaptions [location=bottom,width=fit,align=right,headstyle=bold,style=slanted] \setupcaption [figure] [way=bysection] %\setupheadnumber[chapter][2] \setuphead[section][number=no] \starttext \startuseMPgraphic{david} draw unitsquare scaled 2cm withpen pencircle scaled 5mm withcolor red; \stopuseMPgraphic \startbuffer[table] \starttable[|c|c|] \HL \VL This \VL is \VL\FR \VL a \VL table \VL\LR \HL \stoptable \stopbuffer \completecontent \chapter{The Process of\crlf Growing Wheat} \input tufte \startbuffer \startcombination[2*1] {\useMPgraphic{david}}{First caption} {\useMPgraphic{david}}{Second caption} \stopcombination \stopbuffer \placefigure[][fig:11] {This is the caption of the figure.} {\getbuffer} \section{First Section} \input tufte \placefigure[][fig:1] {This is an example of an extended caption.} {\useMPgraphic{david}} \input tufte \placetable[][tab:4] {A very simple example of a table.} {\getbuffer[table]} \input tufte \placefigure[][fig:2] {This is an example of an extended caption.} {\useMPgraphic{david}} \input tufte \section{Second Section} \input tufte \placetable[][tab:1] {A very simple example of a table.} {\getbuffer[table]} \input tufte \placefigure[][fig:3] {This is an example of an extended caption.} {\useMPgraphic{david}} \input tufte \placetable[][tab:2] {A very simple example of a table.} {\getbuffer[table]} In \in{Figure}[fig:1], we on page \at[fig:1] what the figure is \about [fig:1]. \chapter{The Process of Baling Hay} \input tufte \section{First Section} \input tufte \placefigure[][fig:1] {This is an example of an extended caption.} {\useMPgraphic{david}} \input tufte \placetable[][tab:5] {A very simple example of a table.} {\getbuffer[table]} \input tufte \placefigure[][fig:2] {This is an example of an extended caption.} {\useMPgraphic{david}} \input tufte \section{Second Section} \input tufte \placetable[][tab:1] {A very simple example of a table.} {\getbuffer[table]} \input tufte \placefigure[][fig:3] {This is an example of an extended caption.} {\useMPgraphic{david}} \input tufte \placetable[][tab:2] {A very simple example of a table.} {\getbuffer[table]} \stoptext