From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/58243 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Structuring topics Date: Mon, 19 Apr 2010 20:29:06 +0200 Message-ID: <4BCCA0F2.8080802@googlemail.com> References: <4BCC8DF2.50006@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"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1271701775 23589 80.91.229.12 (19 Apr 2010 18:29:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 19 Apr 2010 18:29:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Apr 19 20:29:33 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1O3viv-000357-KF for gctc-ntg-context-518@m.gmane.org; Mon, 19 Apr 2010 20:29:33 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id ED33EC9BA3; Mon, 19 Apr 2010 20:29:32 +0200 (CEST) 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 hAl58MO6HUCt; Mon, 19 Apr 2010 20:29:21 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 24787C9B7A; Mon, 19 Apr 2010 20:29:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7A956C9B7A for ; Mon, 19 Apr 2010 20:29:20 +0200 (CEST) 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 5FZGmBy0nGhk for ; Mon, 19 Apr 2010 20:29:09 +0200 (CEST) Original-Received: from mail-bw0-f228.google.com (mail-bw0-f228.google.com [209.85.218.228]) by balder.ntg.nl (Postfix) with ESMTP id B4078C9B59 for ; Mon, 19 Apr 2010 20:29:09 +0200 (CEST) Original-Received: by bwz28 with SMTP id 28so5252982bwz.34 for ; Mon, 19 Apr 2010 11:29:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=w2Hg3uWUgIQ27/VmSdunsc49Qpqmm5+ZX4RsLbO0kRA=; b=XIinLBItD89nFBw3ZG3SEF2m8xOxBIN/5OJi4Thw0ZvgaNSbWmgeIBi42Fb8Fb70Qx mj9sJ2sj68G0XXuLavQiBoZS+1YC90nKoTboYEmVLkQHptO1qQpVy1xNB999+6/3Y68g LxDLGvoe5J+iRZ8GwOP4XHEWosBb0MBbyilYg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=uABIGVLjm3DnufX1M2b2SSyyvWAbol0HC/k8DMLnp5OynDLgTMahyg4KXOseGjYk0M ozw1Nmqejj9R1LYEtnheY/O1Lj3v1BpDDA//+tNE/Lohx76yZiE993ZL+tTYztAbO87V tHg6KzN6Eu7n4mGMGmyWL2mzZCNXMLCniKD/E= Original-Received: by 10.87.15.13 with SMTP id s13mr4540719fgi.48.1271701748684; Mon, 19 Apr 2010 11:29:08 -0700 (PDT) Original-Received: from [192.168.2.23] (p5B295149.dip.t-dialin.net [91.41.81.73]) by mx.google.com with ESMTPS id e11sm4926299fga.23.2010.04.19.11.29.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 19 Apr 2010 11:29:08 -0700 (PDT) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 In-Reply-To: <4BCC8DF2.50006@gmail.com> 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:58243 Archived-At: Am 19.04.10 19:08, schrieb Vyatcheslav Yatskovsky: > Concerning \define... The answer is too witty for me, so I will leave > the wiki page untouched. What's the problem with my answer, i described differences between \def and \define and the most important one is point one, i'll show it to you in two examples 1. \def \starttext \def\hans{hans} \def\hans{taco} \hans \stoptext the output of this example is 'taco' because the second \def statement overides the first 2. \define \starttext \define\hans{hans} \define\hans{taco} \stoptext the output now is 'hans' because \define checks whether a command with the name \hans is already defined, if this isn't true \hans is created with the content 'hans' while in the second \define \hans is already available and nothing happens but you get a warning on the terminal system : command \hans is already defined to summary this you can say \def is for developers and \define for users but this won't work in all cases because \define can't create commands with optional arguments :( Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________