From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/66609 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: One-off theorem titles Date: Thu, 3 Mar 2011 19:31:56 +0100 Message-ID: <8473E733-9BB1-48E7-821D-1260EBEC79E7@gmail.com> References: <4D6F4BC0.4090106@googlemail.com> <48CEA267-A4E3-4DA4-B26A-3F64389B2C10@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1299177183 23753 80.91.229.12 (3 Mar 2011 18:33:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 Mar 2011 18:33:03 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 03 19:32:53 2011 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 1PvDKQ-0007Wh-75 for gctc-ntg-context-518@m.gmane.org; Thu, 03 Mar 2011 19:32:46 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6E8F3CAA93; Thu, 3 Mar 2011 19:32:45 +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 HO4KA1uT2Seb; Thu, 3 Mar 2011 19:32:32 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 865B2CAA89; Thu, 3 Mar 2011 19:32:32 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DD5E7CAA78 for ; Thu, 3 Mar 2011 19:32:30 +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 YrGOkutd2F0C for ; Thu, 3 Mar 2011 19:32:10 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 944F3CAA89 for ; Thu, 3 Mar 2011 19:32:10 +0100 (CET) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p23IW767018244 for ; Thu, 3 Mar 2011 19:32:10 +0100 Original-Received: by bwz17 with SMTP id 17so1894389bwz.14 for ; Thu, 03 Mar 2011 10:32:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to :x-mailer; bh=A2GaN/WdJN1HuoNyuY+s2FcQ80waGChhhOmgdlsTaa0=; b=I26o4MSuCMvFNB0bc+jVKlFji7mVwk4x4BWhuxPkJPWbzIJEtxxbQ7Ts8ftjUsufKK I30LgiDV92BapQiesA+Mn8Ajkoa8p/yK33KTvCI3SajEU7PgOT+r1gn/dVN9RfMVkjZg dDzWnlmFpXjW2IOr5QtgBv/trzYc81LxGVrNo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=SJ96yBKyrUcg3/gtYXE9N4pKfGXbVEeKMhx8UhwDrSxKmx7kEvbhZZZzy3Lm+yysuL 9Bnda1H5IIbI0kJiTJx+ttiAj6gVi4Vj/0DAR0NmEv+W2uTfYtRdtGqjcT3SreevyrOc avKAwGTCqers6UPYKLH0mbpDy6rNF/1MBjeNo= Original-Received: by 10.204.46.84 with SMTP id i20mr1844499bkf.67.1299177127614; Thu, 03 Mar 2011 10:32:07 -0800 (PST) Original-Received: from [192.168.2.23] (p5B29430D.dip.t-dialin.net [91.41.67.13]) by mx.google.com with ESMTPS id u23sm972023bkw.9.2011.03.03.10.32.03 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 03 Mar 2011 10:32:06 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1082) 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: 08EeGw8Cu - 6543a62e813d - 20110303 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:66609 Archived-At: Am 03.03.2011 um 19:18 schrieb Aditya Mahajan: >> \usemodule[annotation] > = > A very useful module to have! But how is it different from enumerations (= apart from having a modern interface)? in particular, would you consider re= implimenting definitions and enumerations by using annotations as a base? That=92s only one way what you can use the module for. The main purpose are= todo lists etc., e.g. \defineannotation[todo] \starttext \todo{Add a table} \stoptext And later you can remove all remaining \todo texts with \setupannotation[to= do][alternative=3Dnone] > I am a bit surprised by the naming of the internal macros: > = > annotation_cmd > annotation__cmd > annotation___cmd I liked the LaTeX3 system to have names in the form \_, with this you have a easy way to protect internal commands and to avoid command clashes, e.g. you define the command \getfirstcharacter in your filter module but this name is already used in the core (syst-aux.mkiv) and with the name \filter_getfirstcharacter you can avoid this without thinking too much about a good name. > I know that \do \dodo \dododo is not the best notation, but I don't find = _ __ ___ better. I don=92t like the __ and ___ either but do you know a better way for good names without using do, dodo, nodo, yes or nop? I first thought about this: \def\module_command {\dosingleempty\module_docommand} \def\module_docommand[#1]{} but i don=92t liked it and in the end i use now this: \def\module_command {\dosingleempty\module__command} \def\module__command[#1]{} 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 ___________________________________________________________________________= ________