From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79042 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: New module: crossref Date: Sun, 4 Nov 2012 15:43:03 +0100 Message-ID: <0B148105-6D80-4B2B-A1BC-14ABC1E219DC@gmail.com> References: <20121102002830.03c75c53@zenlima.eu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1352040194 8069 80.91.229.3 (4 Nov 2012 14:43:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 4 Nov 2012 14:43:14 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 04 15:43:23 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TV1Q2-0002LW-Cz for gctc-ntg-context-518@m.gmane.org; Sun, 04 Nov 2012 15:43:22 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 03DBB10203; Sun, 4 Nov 2012 15:43:13 +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 733cWzVZCZYL; Sun, 4 Nov 2012 15:43:11 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 2F001101EC; Sun, 4 Nov 2012 15:43:11 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C5D46101EC for ; Sun, 4 Nov 2012 15:43:09 +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 dlRtwpiXPsCM for ; Sun, 4 Nov 2012 15:43:08 +0100 (CET) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id A5F2E101E5 for ; Sun, 4 Nov 2012 15:43:08 +0100 (CET) Original-Received: from mail-bk0-f67.google.com (mail-bk0-f67.google.com [209.85.214.67]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qA4Eh6NS006588 for ; Sun, 4 Nov 2012 15:43:07 +0100 Original-Received: by mail-bk0-f67.google.com with SMTP id q16so248044bkw.2 for ; Sun, 04 Nov 2012 06:43:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=8jmXlD06lFthg6XL/tyScpCQvM353cEQyQw2q6ErwX4=; b=vT0o9qu7g20KrnOWnlRdCoOZ5Il11YgdGk4KfBHzsgQ9fsgdvklDQ09PA0CMo0BoIZ j7Q8uZIQRJYnSF9biFHPnjoNSWEGRPfqID/V70ukEG6mKuHg9Qe0NavRTJX/woRaQfCZ 7Y6WO/tVSpA+cXFJfrSi/Qr61xuTwJ59d8NmQKcyUDkoa81iKHLPn1xEI8tHMDhGHzgx ga9k8VhzirCVcMvpUT7DPDoSNnX7r0Ma6WdSI8gfNWldCRpdvYQ8ePWxBE/nyuMC4xLH mspEcok9gFlNrnKf2nkhtUnNXNs713mH8Glpve8srLjIchCFdtZaHvryNNIF7T3qm/QR Q7VA== Original-Received: by 10.204.10.74 with SMTP id o10mr1759672bko.9.1352040186436; Sun, 04 Nov 2012 06:43:06 -0800 (PST) Original-Received: from keima.localdomain (nrbg-4d0577e7.pool.mediaWays.net. [77.5.119.231]) by mx.google.com with ESMTPS id 9sm8282318bkq.13.2012.11.04.06.43.05 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 04 Nov 2012 06:43:05 -0800 (PST) In-Reply-To: <20121102002830.03c75c53@zenlima.eu> X-Mailer: Apple Mail (2.1499) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.67; 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: 07IjqH61c - 404e1f734fa1 - 20121104 X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:79042 Archived-At: Am 02.11.2012 um 00:28 schrieb Zenlima : > @Philipp > I like to put into a public vcs like github. I think it should be > something general for all modules (maybe a github like installation on > contextgarden? There was discussion about this in a small group but we never came to a conclusion because everyone has it=92s own habits how to organize module files and where to store it, e.g. a few people use github, others use bitbucket etc. > @Philipp and Wolfgang > Is there any quick to understand doc for s-mod? All normal code and also normal comments (lines beginning with %) are printed as normal verbatim code. When you want examples and text to explain it just add =93%D=94 at the begin of each line. When you need a module (even the module you=92re documenting) or other definitions add =93%M=94 at the begin of the line. For comments and other texts (e.g. the license text) which shouldn=92t appear in the output use =93%C=94 at the begin of the line. You can use nearly any command for the documentation as you do in a regular document. You can find a example for a documented module below. > @Wolfgang > I did not understood your "helpers example". Maybe you can show me a > point where it would make sense in this crossref module? Take a look at the MkII and MkIV version of my fancybreak module MkII: http://bit.ly/YErXvF MkIV: http://bit.ly/WmtlWf One difference in both modules are the names for the macros but this of no importance for now. The big difference between both is that I have to create the \definefancybreak, \setupfancybreak and \fancybreakparameter commands for MkII myself while in MkIV the \installcommandhandler creates all three commands with a single line of code. This command in MkIV is one of the helpers I mean. Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________