From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68595 Path: news.gmane.org!not-for-mail From: Mathieu DUPONT Newsgroups: gmane.comp.tex.context Subject: Appendix label in TOC (Table of Contents) : APPENDIX instead of CHAPTER Date: Sun, 22 May 2011 22:06:24 -0400 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0742192187==" X-Trace: dough.gmane.org 1306116415 20776 80.91.229.12 (23 May 2011 02:06:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 23 May 2011 02:06:55 +0000 (UTC) To: Original-X-From: ntg-context-bounces@ntg.nl Mon May 23 04:06:51 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QOKXj-0006La-CI for gctc-ntg-context-518@m.gmane.org; Mon, 23 May 2011 04:06:51 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 50BCACAD2B; Mon, 23 May 2011 04:06:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id buY2NCeV+olx; Mon, 23 May 2011 04:06:46 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AFD11CAD28; Mon, 23 May 2011 04:06:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2C5F0CAD28 for ; Mon, 23 May 2011 04:06:45 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 2NXNaPX4p3Fo for ; Mon, 23 May 2011 04:06:33 +0200 (CEST) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id 37346CAD24 for ; Mon, 23 May 2011 04:06:33 +0200 (CEST) Original-Received: from col0-omc2-s8.col0.hotmail.com (col0-omc2-s8.col0.hotmail.com [65.55.34.82]) by filter2-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p4N1TKsj011136 for ; Mon, 23 May 2011 03:29:22 +0200 Original-Received: from COL107-W30 ([65.55.34.73]) by col0-omc2-s8.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 22 May 2011 19:06:24 -0700 X-Originating-IP: [70.30.197.40] Importance: Normal X-OriginalArrivalTime: 23 May 2011 02:06:24.0596 (UTC) FILETIME=[04A2C140:01CC18EE] X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=65.55.34.82; country=US; region=WA; city=Redmond; postalcode=98052; latitude=47.6801; longitude=-122.1206; metrocode=819; areacode=425; http://maps.google.com/maps?q=47.6801,-122.1206&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0aEKNtlJb - f6006c332078 - 20110523 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:68595 Archived-At: --===============0742192187== Content-Type: multipart/alternative; boundary="_7aa75004-49db-46af-976c-12b0661b5cb4_" --_7aa75004-49db-46af-976c-12b0661b5cb4_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi=2C The following code : \setuplabeltext[chapter=3DCHAPTER~]\setuplabeltext[appendix=3DAPPENDIX~]\se= tuplist [chapter] [label=3Dyes=2Cstyle=3D{\blank[0cm]}] \starttext \completecontent \chapter{Title of a chapter} \startappendices\chapter{Title of an appendix}\stopappendices \stoptext=20 results in : Contents CHAPTER 1 Title of a chapter CHAPTER A Title of an appendix Instead=2C I would like to get the following result : Contents CHAPTER 1 Title of a chapter APPENDIX A Title of an appendix In other words=2C this command :\setuplist [chapter] [label=3Dyes]seems not= to take this one :\setuplabeltext[appendix=3DAPPENDIX~]into account. Am I forgetting to add another important command in my header ?Any help wou= ld be greatly appreciated. Thanks in advance=2C Mathieu = --_7aa75004-49db-46af-976c-12b0661b5cb4_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hi=2C

The following code :

=
\se= tuplabeltext[chapter=3DCHAPTER~]
\setuplabeltext[appendix=3DAPPENDIX~]
\setuplist [chapte= r] [label=3Dyes=2Cstyle=3D{\blank[0cm]}]

\starttext

\completecontent

\chapter{Title of a chapter}

=
\startappendi= ces
\ch= apter{Title of an appendix}
\stopappendices

\stoptext =3B
=

results in :

Contents

CHAPTER 1 Title of a chapter=

CHAPTER A Title of an= appendix


Instead=2C I would like to ge= t the following result :

Contents

CHAPTER 1 Title of a chapter=

APPENDIX A Title of a= n appendix


In other words=2C this comma= nd :
\setuplist [chapter] [label=3Dyes]
seems no= t to take this one :
\setuplabeltext[appendix=3DAPPENDIX~]=
into account.

Am I forgetting to add an= other important command in my header ?
Any help would be greatly = appreciated.

Thanks in advance=2C


Mathieu


= --_7aa75004-49db-46af-976c-12b0661b5cb4_-- --===============0742192187== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0742192187==--