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
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.)