From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/14876 Path: main.gmane.org!not-for-mail From: Mari Voipio Newsgroups: gmane.comp.tex.context Subject: Update problems: TOC Date: Mon, 8 Mar 2004 16:43:56 +0200 (EET) Sender: ntg-context-admin@ntg.nl Message-ID: Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1078757120 26178 80.91.224.253 (8 Mar 2004 14:45:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 Mar 2004 14:45:20 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Mon Mar 08 15:45:13 2004 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B0M0H-0000dE-00 for ; Mon, 08 Mar 2004 15:45:13 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 3F33710B0E; Mon, 8 Mar 2004 15:42:50 +0100 (MET) Original-Received: from sirppi.helsinki.fi (sirppi.helsinki.fi [128.214.205.27]) by ref.ntg.nl (Postfix) with ESMTP id 7AFCC10ABC for ; Mon, 8 Mar 2004 15:41:38 +0100 (MET) Original-Received: from sirppi.helsinki.fi (localhost [127.0.0.1]) by sirppi.helsinki.fi (8.12.10/8.12.10) with ESMTP id i28EhvZ8025448 for ; Mon, 8 Mar 2004 16:43:57 +0200 (EET) Original-Received: from localhost (mvoipio@localhost) by sirppi.helsinki.fi (8.12.10/8.12.10/Submit) with ESMTP id i28EhuCH023444 for ; Mon, 8 Mar 2004 16:43:56 +0200 (EET) X-Authentication-Warning: sirppi.helsinki.fi: mvoipio owned process doing -bs Original-To: ConTeXt Mailing List Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk X-Reply-To: mari.voipio@iki.fi List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:14876 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:14876 Hello, all ConTeXters! I finally got around to trying TeXLive2003 and the ConTeXt there. The good news is that it installs into Windows2000 like a charm and all the old font woes are now past worries, the fonts worked the first try. After installing TeXLive I downloaded the newest ConTeXt from Pragma's pages and it seems to be a working installation, too. However, I have a problem to which I didn't find a solution in the mailing list archives: The Table of Contents doesn't work and that hangs the whole thing. If I get rid of the command \placecontent, everything works perfectly, but once I try to compile the file(s) with a TOC, this is what I get: myContents : - Table of contents (./pr-03.tuo ! Undefined control sequence. \exitloop ->\let \endofloop \nodoloop ...>\zeropoint \unskip \else \exitloop \fi \doloop ...@@arecurse \recursedepth \endcsname {#1 }\global \@EA \let \csname... \removeunwantedspaces ...kip \else \exitloop \fi } \fi \endstrut ...trut \fi \else \removeunwantedspaces \normalpenalty \@M \normal... ...tentry {\v!hoofdstuk }{Introduction} } ... l.7 ...1}{1}{Introduction}{2::0:1:0:0:0:0:0::1}{5} ? --- Below you'll find a simplified version of my setups etc, maybe that will help to pinpoint the problem. I hope somebody has a solution as I won't be able to upgrade to any newer ConTeXt's until this is fixed. Thanks for any help, Mari % ------ % File starts here % ------ %output=pdftex \definepapersize[a4short][width=210mm,height=11in] \setuppapersize[a4short][a4] \enableregime[il1] \usetypescript[berry][ec] \setupbodyfont[pos,10pt] % This sets the look of the first level headings \setuphead [chapter] [style=\sstfc, prefix=+] % This sets the look of the second level headings \setuphead [section] [style=\sstfb] % Third level headings \setuphead [subsection] [style=\ssbf] % Fourth level headings \setuphead [subsubsection] [style=\ssit] % ------------------------------------------------------------- % Settings concerning the Table of contents (TOC) % ------------------------------------------------------------- % The combination below sets the look of the title of the TOC \definehead [myContents] [title] \setuphead [myContents] [alternative=left, style=\sstfb] % These settings are for the first level (chapter) entries % in the TOC \setuplist [chapter] [criterium=chapter, alternative=c, aligntitle=yes, textstyle={\tfa\cap}] \setuplist [section] [criterium=section, alternative=c, margin=0.7cm, textstyle=bold] \setuplist [subsection] [criterium=subsection, alternative=c, margin=0.9cm] % This sets the fourth level (subsubsection) entries in the TOC \setuplist [subsubsection] [criterium=subsubsection, alternative=c, margin=1.2cm, textstyle=italic] %----------------------------------------------------------------- % TOC settings end here \starttext \startfrontmatter \myContents{Table of contents} \placecontent \stopfrontmatter % --------------------------------------------------------------- % Each chapter is a file of its own, the files are collected % into one document here \input pr-03_ch01/ch01.tex % first chapter (Introduction) \input pr-03_ch02/ch02.tex % second chapter (Sensor) \input pr-03_ch03/ch03.tex % third chapter (IT-R) \input pr-03_ch04/ch04.tex % fourth chapter (Accessory units) \input pr-03_ch05/ch05.tex % fifth chapter (Startup and configuration) \input pr-03_ch06/ch06.tex % sixth chapter (Regular maintenance) \input pr-03_ch07/ch07.tex % seventh chapter (Troubleshooting) \input pr-03_ch08/parts_tables.tex % tables for chapter 8 are loaded first \input pr-03_ch08/ch08.tex % eighth chapter (Sensor % specifications and parts lists) \input pr-03_ch09/ch09.tex % ninth chapter (IT-R specifications % and parts lists) %This part gets alphabets (A, B...) \startappendices \input glossary.tex \input dds.tex % Information on the Delivary Data Sheet \input calibration_data_report.tex % The Calibration data report sheet \input verification.tex % How to do ISO 9000 Verification \stopappendices \startbackmatter % ---------------------- % Index settings % ---------------------- \chapter[index]{Index} \placeindex % --- End of Index ----- \stopbackmatter % Here's where the document ends, nothing comes below this command \stoptext