From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42609 Path: news.gmane.org!not-for-mail From: John Culleton Newsgroups: gmane.comp.tex.context Subject: Indexing problem solved. Makeindex works with Context! Date: Sat, 19 Jul 2008 12:13:25 -0400 Organization: Able Indexers and Typesetters Message-ID: <200807191213.26094.john@wexfordpress.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1216484151 13226 80.91.229.12 (19 Jul 2008 16:15:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Jul 2008 16:15:51 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Jul 19 18:16:37 2008 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 1KKF6k-0005xD-No for gctc-ntg-context-518@m.gmane.org; Sat, 19 Jul 2008 18:16:30 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C19AF1FC87; Sat, 19 Jul 2008 18:15:35 +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 14084-01-2; Sat, 19 Jul 2008 18:14:50 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 212A81FC5D; Sat, 19 Jul 2008 18:14:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 31EE61FC5A for ; Sat, 19 Jul 2008 18:14:48 +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 14084-01 for ; Sat, 19 Jul 2008 18:14:13 +0200 (CEST) Original-Received: from QMTA04.westchester.pa.mail.comcast.net (qmta04.westchester.pa.mail.comcast.net [76.96.62.40]) by ronja.ntg.nl (Postfix) with ESMTP id 4C90A1FC5D for ; Sat, 19 Jul 2008 18:14:11 +0200 (CEST) Original-Received: from OMTA07.westchester.pa.mail.comcast.net ([76.96.62.59]) by QMTA04.westchester.pa.mail.comcast.net with comcast id rp231Z0021GhbT854sEANi; Sat, 19 Jul 2008 16:14:10 +0000 Original-Received: from c-76-21-131-160.hsd1.md.comcast.net ([76.21.131.160]) by OMTA07.westchester.pa.mail.comcast.net with comcast id rsE91Z0033TnLLU3TsEACW; Sat, 19 Jul 2008 16:14:10 +0000 X-Authority-Analysis: v=1.0 c=1 a=51zm7TOPEGkA:10 a=13YzPm5JilMA:10 a=U4BriyfjAAAA:8 a=tF3Mi3KASftZ_2IpCVoA:9 a=V4NtuSQn4q7NMgFOXAYA:9 a=RhsIkJBro0ZFVbO7ML9pcsLnC5UA:4 a=gi0PWCVxevcA:10 User-Agent: KMail/1.9.9 Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:42609 Archived-At: I discovered an old file in the texsis distribution called index.tex. Unlike eplain.tex it doesn't cause problems when used with Context. It creates the book.idx file required by makeindex. Now the full range of features of makeindex are available to Context users. The only change needed is trivial, in every \index statement change the + sign to ! and of course run makeindex between Context runs. This solution is simple enough and adds enough power to Context that I suggest it be incorporated into the texexec program. It doesn't have all the bells and whistles of eplain but it has enough to produce a professional index. And since that is part of my business I welcome it. For a book named book.tex here is all that is required today: \input index.tex %This overwrites the Context \index macro .... \index{main item!secondary item} %two level item ... \idx{resorted item@``resorted item''} %prints index item in quotes ... \input book.ind %prints index I haven't checked out all the other extra features, such as putting proof marks in the margin, but the above is sufficient for starters. -- John Culleton Precision Typesetting Able Indexers and Typesetters http://wexfordpress.com ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________