From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/46171 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: Important: ConTeXt Minimals and --delete/--keep switch Date: Sun, 7 Dec 2008 16:55:00 +0100 Message-ID: <6faad9f00812070755t2f94b527u4503c71f9ffa6dc2@mail.gmail.com> References: <6faad9f00812010949h40bfc8d6u62e3c0cf40824af1@mail.gmail.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 1228665426 20493 80.91.229.12 (7 Dec 2008 15:57:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Dec 2008 15:57:06 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Sun Dec 07 16:58:09 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 1L9M1J-0000MT-JO for gctc-ntg-context-518@m.gmane.org; Sun, 07 Dec 2008 16:58:09 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id ABD971FB8F; Sun, 7 Dec 2008 16:56:56 +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 07655-02-2; Sun, 7 Dec 2008 16:55:48 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A41E01FB5A; Sun, 7 Dec 2008 16:55:47 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 03C581FADF for ; Sun, 7 Dec 2008 16:55:46 +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 07691-03-2 for ; Sun, 7 Dec 2008 16:55:02 +0100 (CET) Original-Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.178]) by ronja.ntg.nl (Postfix) with ESMTP id C72E51FB5A for ; Sun, 7 Dec 2008 16:55:01 +0100 (CET) Original-Received: by wa-out-1112.google.com with SMTP id v33so359797wah.2 for ; Sun, 07 Dec 2008 07:55:00 -0800 (PST) Original-Received: by 10.114.131.11 with SMTP id e11mr1691238wad.75.1228665300328; Sun, 07 Dec 2008 07:55:00 -0800 (PST) Original-Received: by 10.114.94.10 with HTTP; Sun, 7 Dec 2008 07:55:00 -0800 (PST) In-Reply-To: <6faad9f00812010949h40bfc8d6u62e3c0cf40824af1@mail.gmail.com> 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:46171 Archived-At: Hello Alan, (I'm replying to the mailing list since it's a relatively important issue.) On Sun, Dec 7, 2008 at 4:32 PM, Alan BRASLAU wrote: > > However, I also discovered that first-setup.sh removes the extra modules It's not first-setup.sh, but mtx-update.lua that does that since a few days. --delete switch was disfunctional until then, so Hans fixed it in the way that makes --delete the default option. > that I downloaded. I therefore created a local script (update.sh). I would > post this to the context wiki, but I am not sure that this is indeed the > correct way of doing things. The correct way of doing things (either is fine): a) just modify first-setup.sh to include additional --keep switch b) put your local modifications to texmf-local c) use --extras=list,of,modules (I would like to convince Hans to rename that into --modules=) d) I'm still not sure whether --delete switch as the default option makes sense or not (in any case, some patches are needed to show which files will be removed at least). Mojca On Mon, Dec 1, 2008 at 6:49 PM, Mojca Miklavec wrote: > Hello, > > This is a rather important notice for users of ConTeXt minimals. You > might want to add --keep to ./first-setup.sh > > There are some options for which I'm not sure if they should be > enabled by default or not. > The script (mtx-update.lua and consequently the simplistic > ./first-setup.sh script) provides two switches: > --keep and --delete. > The --delete switch deletes all the files that are not part of > distribution. The --keep switch doesn't care about those files (that > have been remove from distribution or that you added) and leaves them > where they are. > > Your own files should go to texmf-local that update doesn't touch at all. > > Now the important info: if you want your files to be kept, you should > use the --keep switch in ./first-setup.sh. --delete has been > misfunctional for a while, and maybe it should not be kept as the > default option. But as it stands now, it is the default. > > Recently there has been a new option added > (--extras=list,of,context,modules), but I would like the option to be > renamed to something more self-explanatory than --extras= (--modules= > for example). You can test if fetching modules works OK, but I would > like to rename the option. > > Mojca > > (Maybe we should add --cvs-exclude rule to rsync to prevent deleting > kpathsea files and formats.) ___________________________________________________________________________________ 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 ___________________________________________________________________________________