From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61098 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: \startinterface and module documentation Date: Thu, 19 Aug 2010 20:04:17 +0200 Message-ID: <4C6D7221.3080006@googlemail.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 1282241075 9448 80.91.229.12 (19 Aug 2010 18:04:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 19 Aug 2010 18:04:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 19 20:04:29 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.69) (envelope-from ) id 1Om9TX-00089E-Hy for gctc-ntg-context-518@m.gmane.org; Thu, 19 Aug 2010 20:04:27 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EAB8ACA655; Thu, 19 Aug 2010 20:04:26 +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 5lxx+1AsbIcm; Thu, 19 Aug 2010 20:04:24 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 17B21CA64C; Thu, 19 Aug 2010 20:04:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C0D61CA64C for ; Thu, 19 Aug 2010 20:04:22 +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 kqK5KpFBx95g for ; Thu, 19 Aug 2010 20:04:22 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 92140CA64A for ; Thu, 19 Aug 2010 20:04:22 +0200 (CEST) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o7JI4LpZ029837 for ; Thu, 19 Aug 2010 20:04:22 +0200 Original-Received: by bwz6 with SMTP id 6so2091532bwz.14 for ; Thu, 19 Aug 2010 11:04:21 -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:content-type :content-transfer-encoding; bh=OiJs+fcFd5n6OmBrSSbAiFf/opL0pNoaW/YbmRcScSI=; b=B37/XMabVlO9PHvOpjjf5NlTOysm7BPg1o/1tn0GMCQs5da0ICuu32bLCpG3QgnFWL x5/DM0ZhFSFa9BYy8gGANRo7YCWFckPHczyM021pPF/74p/dO7m7TgAY69eNovl7Sxc+ +GNLjeNKjFF4U7x7XKszH9MA5I9l74HBuMIEQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=H0EDLGfSlgkdvqUELfW217D8tkx7Nx3JHuLa/Yhg44aWH6F3L2lufdlplmKhANcaNL gK2LF4Tsntge/jqWWZd8vZY+lZTNEyiw5DVT6nsky+2owiPWzL1QaCBNH50pOe84KVsm mcijUwTz/2plNXLimozffWrEj5lTGKDu7TjVU= Original-Received: by 10.204.136.71 with SMTP id q7mr121836bkt.111.1282241061585; Thu, 19 Aug 2010 11:04:21 -0700 (PDT) Original-Received: from [192.168.2.23] (p5B292F8B.dip.t-dialin.net [91.41.47.139]) by mx.google.com with ESMTPS id g12sm1296155bkb.2.2010.08.19.11.04.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 19 Aug 2010 11:04:20 -0700 (PDT) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06CUi4m3q - e179c7b032bf - 20100819 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:61098 Archived-At: Hi Hans, there is a clash between \startinterface from mult-ini to set constants and variables and module documentation. The file s-mod-02.tex defines a paragraphe environment with the same name and as a result of this it's not possible to use a module in it's docu for examples. Run this example with 'context --ctx=s-mod foo.tex' to reproduce it: %M \usemodule[foo] \unprotect \startinterface all \setinterfacevariable {foo} {foo} \stopinterface \v!foo % should give 'foo' but '\v!foo' is undefined \protect \endinput 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 ___________________________________________________________________________________