From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55755 Path: news.gmane.org!not-for-mail From: Gour Newsgroups: gmane.comp.tex.context Subject: Re: updating Minimals for MKIV Date: Sat, 23 Jan 2010 08:52:17 +0100 Message-ID: <20100123085217.5c4db4c7@gaura-nitai.no-ip.org> References: <20100122121417.6a4114c8@gaura-nitai.no-ip.org> <4B59932B.7080605@wxs.nl> <20100122145255.42e5cd08@gaura-nitai.no-ip.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2033212518==" X-Trace: ger.gmane.org 1264233117 32096 80.91.229.12 (23 Jan 2010 07:51:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Jan 2010 07:51:57 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 23 08:51:49 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1NYamb-0007uy-GB for gctc-ntg-context-518@m.gmane.org; Sat, 23 Jan 2010 08:51:49 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 27E44C9CDD; Sat, 23 Jan 2010 08:51:45 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id kRxywGljRSNw; Sat, 23 Jan 2010 08:51:36 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 490A4C9CAC; Sat, 23 Jan 2010 08:51:36 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 21886C9CAC for ; Sat, 23 Jan 2010 08:51:33 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id g6y+yzzYFwog for ; Sat, 23 Jan 2010 08:51:19 +0100 (CET) Original-Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by balder.ntg.nl (Postfix) with ESMTP id 474D9C9CA7 for ; Sat, 23 Jan 2010 08:51:19 +0100 (CET) Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1NYam4-0007nx-LZ for ntg-context@ntg.nl; Sat, 23 Jan 2010 08:51:16 +0100 Original-Received: from 188.125.2.8 ([188.125.2.8]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Jan 2010 08:51:16 +0100 Original-Received: from gour by 188.125.2.8 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Jan 2010 08:51:16 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 55 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 188.125.2.8 X-Newsreader: Claws Mail 3.7.4 (GTK+ 2.18.5; x86_64-unknown-linux-gnu) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:55755 Archived-At: --===============2033212518== Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/XI6SOpklMdiVJht9ATRLLr0"; protocol="application/pgp-signature" --Sig_/XI6SOpklMdiVJht9ATRLLr0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 22 Jan 2010 13:53:11 -0500 (EST) >>>>>> "Aditya" =3D=3D Aditya Mahajan wrote: Aditya> This is the best compromise I could get for running MkIV in a Aditya> multi-user environment. I do not ask the mtx-update script to Aditya> generate the formats (the --make flag is missing), because this Aditya> script is running as root. Generating the formats means that Aditya> luatex-cache will be generated by root, and then a user will Aditya> never be able to writing anything in the cache directory. So, I Aditya> do not generate the formats during the update. =20 Thank you for explanation. Aditya> I generate the pdftex and xetex formats, and ask the user to Aditya> run luatools --generate. When run for the first time, luatools Aditya> --generate creates the $TEXMFCACHE directory. Since the command Aditya> is run by the user, TEXMFCACHE is writable by the user. Ahh, cool. Aditya> Once luatools --generate is run, you can simply run "context Aditya> filename". ConTeXt sees that the formats are wrong and Aditya> regenerates them on the fly. The first luatools --generate is Aditya> needed so that mtxrun can find the mtx-context script. (context Aditya> is just a wrapper around mtx-context.lua). Interesting... Sincerely, Gour --=20 Gour | Hlapicina, Croatia | GPG key: F96FF5F6 ---------------------------------------------------------------- --Sig_/XI6SOpklMdiVJht9ATRLLr0 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAktaqrEACgkQU8eE8flv9fa5igCgxnUqUdq87xRavNDW80eBcaeO pNQAn3UmHlgGz2wWkud0zhfEHClNhXBr =maYv -----END PGP SIGNATURE----- --Sig_/XI6SOpklMdiVJht9ATRLLr0-- --===============2033212518== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============2033212518==--