From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17227 Path: main.gmane.org!not-for-mail From: Matthias Weber Newsgroups: gmane.comp.tex.context Subject: Re: How to patch ConText on the Mac for beginners (was: Problem with index generation) Date: Mon, 22 Nov 2004 21:22:32 -0500 Message-ID: <87D6B920-3CF6-11D9-B425-000A959AFACC@indiana.edu> References: <41A264FD.3010403@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1101177134 11410 80.91.229.6 (23 Nov 2004 02:32:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 Nov 2004 02:32:14 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 23 03:31:54 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CWQTC-00025L-00 for ; Tue, 23 Nov 2004 03:31:54 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9D6821278F; Tue, 23 Nov 2004 03:31:53 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 26106-01; Tue, 23 Nov 2004 03:31:53 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 20F5812792; Tue, 23 Nov 2004 03:30:09 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B7D4C12792 for ; Tue, 23 Nov 2004 03:30:06 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25495-09 for ; Tue, 23 Nov 2004 03:30:05 +0100 (CET) Original-Received: from rockridge.uits.indiana.edu (unknown [129.79.1.74]) by ronja.ntg.nl (Postfix) with ESMTP id A98561278F for ; Tue, 23 Nov 2004 03:30:05 +0100 (CET) Original-Received: from mail-relay.iu.edu (fontz.uits.indiana.edu [129.79.1.76]) by rockridge.uits.indiana.edu (8.12.10/8.12.10/IUPO) with ESMTP id iAN2U2QU025525 for ; Mon, 22 Nov 2004 21:30:02 -0500 (EST) Original-Received: from [192.168.1.102] (12-202-255-140.client.insightBB.com [12.202.255.140]) (authenticated bits=0) by mail-relay.iu.edu (8.12.10/8.12.10/IUPO) with ESMTP id iAN2LYqt006623 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO) for ; Mon, 22 Nov 2004 21:21:43 -0500 (EST) In-Reply-To: <41A264FD.3010403@wxs.nl> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.619) X-Virus-Scanned: by 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: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17227 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17227 Thanks, Hans, this works! I have to admit reading Hans' instruction "... and reformat" gave me the shivers. Fortunately I found an almost terminal-free way to do it on a Mac, I record it here for others who are faint of heart like myself. i) Locate the file you need to modify. This is easiest done by typing locate filename in a terminal window, and pasting the located directory path into the finder menu box you get under Go...Go To Folder. This only works if the locate database is up to date, it can be updated (for instance) using MacJanitor which freely executes maintenance routines that never happen on those Macs that are asleep at night. ii) Open the located file with TeXShop (for instance), modify it at will, and save. This might not work due to missing permissions. In this case, save to the desktop first and copy into the located directory. You'll be asked for authentication. iii) Start GW's i-Installer, go to i-Package... open..., and select ConTeXt. Then, select configure only (do not download!), and ignore the warning. i-Installer will then perform all the secret things to reformat ConTeXt. iv) If something went wrong, use the i-Installer to download and configure ConTeXt again. Matthias On Nov 22, 2004, at 5:15 PM, Hans Hagen wrote: > Matthias Weber wrote: >> Hello all, >> 'upgrading' to the 2004 TeXLive distribution (via GW's i-Installer) >> broke the following (which is > > you mean that it loops ... > > \def\doplaceregister[#1][#2]% > {\iffirstargument > \begingroup > \edef\currentregister{#1}% <<<<< > > \def\docompleteregister[#1][#2]% > {\iffirstargument > \begingroup > \edef\currentregister{#1}% <<<<< > > change the def's into edef's in core-reg.tex and reformat > > Hans > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com > | www.pragma-pod.nl > ----------------------------------------------------------------- > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > >