From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/28826 Path: news.gmane.org!not-for-mail From: Sanjoy Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Newbie questions Date: Sat, 24 Jun 2006 21:57:10 +0100 Message-ID: References: <82EF147D-62D7-43D1-AE93-2EA84CA10A88@pomona.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1151182651 10718 80.91.229.2 (24 Jun 2006 20:57:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 24 Jun 2006 20:57:31 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Jun 24 22:57:29 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1FuFC1-0001bL-Qa for gctc-ntg-context-518@m.gmane.org; Sat, 24 Jun 2006 22:57:25 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 84E4A127B9; Sat, 24 Jun 2006 22:57:25 +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 18798-05; Sat, 24 Jun 2006 22:57:20 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0A9411278F; Sat, 24 Jun 2006 22:57:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 998B71278F for ; Sat, 24 Jun 2006 22:57:16 +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 18775-03 for ; Sat, 24 Jun 2006 22:57:13 +0200 (CEST) Original-Received: from mraos.ra.phy.cam.ac.uk (mraos.ra.phy.cam.ac.uk [131.111.48.8]) by ronja.ntg.nl (Postfix) with SMTP id 6A53C12775 for ; Sat, 24 Jun 2006 22:57:12 +0200 (CEST) Original-Received: from skye.ra.phy.cam.ac.uk ([131.111.48.158] ident=mail) by mraos.ra.phy.cam.ac.uk with esmtp (Exim 4.43) id 1FuFBn-0006cJ-2N; Sat, 24 Jun 2006 21:57:11 +0100 Original-Received: from sanjoy by skye.ra.phy.cam.ac.uk with local (Exim 3.36 #1) id 1FuFBn-0004P0-00; Sat, 24 Jun 2006 21:57:11 +0100 Original-To: mailing list for ConTeXt users In-Reply-To: Your message of "Sat, 24 Jun 2006 09:52:27 PDT." <82EF147D-62D7-43D1-AE93-2EA84CA10A88@pomona.edu> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:28826 Archived-At: > how do I "run" mktexlsr? from the OS X Terminal Since you're using tetex, 'mktexlsr' should be in the PATH already (on my linux system it's in /usr/bin, one of the very standard components of PATH), so 'mktexlsr' from the Terminal should work. If that doesn't work, what's the output of 'printenv PATH'? And does MacOS have 'locate'? On Linux, 'locate mktexlsr' will tell you all files that contain 'mktexlsr' in their full name (including directory). That often helps in finding where packages put files. On (Debian) Linux an easier way is to ask the package management system to list the files in a package, e.g: dpkg -L tetex-base which produces thousands of lines. Maybe Mac gurus know something similar for Mac OS? Even more useful is to use a pipe (|) to connect the output of dpkg to pattern-matching utility grep: dpkg -L tetex-base | grep t-amsl which produces /usr/share/texmf-tetex/tex/context/maths/t-amsl.tex For finding mktexlsr 'dpkg -L tetex-bin | grep mktexlsr' produces /usr/share/man/man1/mktexlsr.1.gz /usr/bin/mktexlsr (also useful to use grep after a 'locate'). If locate doesn't exist, the elephant gun is 'find', e.g. find /usr -name 'mktexlsr' or another example: find /usr -name 't-amsl.tex' Find traverses the file system tree starting where you tell it (/usr in the above examples) looking for whatever you ask, and prints out the matching path names. ('locate' is just an optimized version of find: Once a week or so, the system does a 'find /' and stores all the paths in a monster file, and then 'locate' just looks in that file). -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.