From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39759 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: New Member Introductory Rant Date: Mon, 31 Mar 2008 11:33:16 -0400 (EDT) Message-ID: References: <47EF48DA.3070200@studiochango.com> <6faad9f00803300750r79ddc5aclcea203d33f2e8836@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 1206979550 28865 80.91.229.12 (31 Mar 2008 16:05:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Mar 2008 16:05:50 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 31 18:06:22 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 1JgMVo-0006FV-1e for gctc-ntg-context-518@m.gmane.org; Mon, 31 Mar 2008 18:05:51 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3F07F1FB77; Mon, 31 Mar 2008 18:04:54 +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 07410-02-8; Mon, 31 Mar 2008 18:04:19 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 14F9D1FBD5; Mon, 31 Mar 2008 17:35:10 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1CF731FBD5 for ; Mon, 31 Mar 2008 17:35:09 +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 29971-04-25 for ; Mon, 31 Mar 2008 17:34:27 +0200 (CEST) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.161]) by ronja.ntg.nl (Postfix) with ESMTP id 177481FB82 for ; Mon, 31 Mar 2008 17:33:18 +0200 (CEST) Original-Received: FROM adi-laptop.local (c-68-40-40-75.hsd1.mi.comcast.net [68.40.40.75]) BY tombraider.mr.itd.umich.edu ID 47F1043A.C64A6.23042 ; 31 Mar 2008 11:33:14 -0400 In-Reply-To: User-Agent: Alpine 1.00 (DEB 882 2007-12-20) 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:39759 Archived-At: On Mon, 31 Mar 2008, Andrea Valle wrote: >> >> By reading the source :) >> Joking of course ... but not entirely. >> > > > > Yes, that's an important point. Many times the options I'm searching for are > not documented: so, or I'm able to find an example in wiki/mailing list or > probably it would be easy to take a look to the sources, I guess. > I know it's far from being polite, but really I'd like to have a > "How-to-find-your-way-thru-the-source Tutorial for total newbie". The first thing that you need to know is the file where a particular command is defined. You can search the source tree on contextgarden; or grep the files in your computer. After a while you will remember which file defines a particular command. > On my mac, > they are hidden: so, first step, change your visualization preferences thru a > googled script form Terminal. Sorry, I have no idea of how things work on a Mac, but it seems strange to hide the entire tex tree. > Second, the (in)famous tex tree structure is > far from being clear for me. Almost all of ConTeXt files are in $TEXMF/tex/context/base (fonts, are of course a different issue) > Third, and most important, how to extract infos > from sources? This is the easiest. Most of ConTeXt commands are written in a consistent manner. Hans uses verbose variable names, which makes it easy to "read" the code. Also in most cases the source files have lot of comments. Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________