From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/35402 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: Enumerations and numbered labels Date: Thu, 12 Jul 2007 15:39:47 +0200 Message-ID: <115224fb0707120639u37c3df11lbf0f4291f01bb8b1@mail.gmail.com> References: <77126144-6695-4B36-B5F9-9BFF199B66A4@cs.dal.ca> 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: sea.gmane.org 1184247610 4027 80.91.229.12 (12 Jul 2007 13:40:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 12 Jul 2007 13:40:10 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 12 15:40:08 2007 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 1I8ytr-00073E-OS for gctc-ntg-context-518@m.gmane.org; Thu, 12 Jul 2007 15:40:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BDD6720317; Thu, 12 Jul 2007 15:40:06 +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 27836-01-5; Thu, 12 Jul 2007 15:40:00 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C9AC120311; Thu, 12 Jul 2007 15:39:59 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3FAD220311 for ; Thu, 12 Jul 2007 15:39:55 +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 27848-01-3 for ; Thu, 12 Jul 2007 15:39:49 +0200 (CEST) Original-Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.231]) by ronja.ntg.nl (Postfix) with ESMTP id E1B90202A9 for ; Thu, 12 Jul 2007 15:39:48 +0200 (CEST) Original-Received: by wx-out-0506.google.com with SMTP id i27so171603wxd for ; Thu, 12 Jul 2007 06:39:47 -0700 (PDT) Original-Received: by 10.90.54.4 with SMTP id c4mr351220aga.1184247587574; Thu, 12 Jul 2007 06:39:47 -0700 (PDT) Original-Received: by 10.90.101.7 with HTTP; Thu, 12 Jul 2007 06:39:47 -0700 (PDT) In-Reply-To: Content-Disposition: inline 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:35402 Archived-At: 2007/7/11, Norbert Zeh : > Ah, excellent. Also thanks to Wolfgang for his earlier comment. I > had looked at location=left before but was thrown off by the > excessive distance between the heading and the text...until I > discovered the meaning of width=fit. As you can see, I'm new to > context. > > Has anybody looked into the bug (?) with numbered labels? > > Cheers, > Norbert \unprotect \def\do@@label[#1][#2]% {\numberparameter{#1}\c!before \numberparameter{#1}\c!command {\doattributes{\@@thenumber{#1}}\c!headstyle\c!headcolor {%\dotextprefix{\numberparameter{#1}\c!text}% \getvalue{\e!next#1}[#2]}}% \numberparameter{#1}\c!after}% \protect \definelabel[frage][text=Frage,location=inmargin] \starttext \frage text \stoptext 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________