From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29205 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: Left justify numbers on left margin edge Date: Sun, 9 Jul 2006 02:21:23 +0200 Message-ID: <6faad9f00607081721m2f2912cfk2bdc7164cd8efb60@mail.gmail.com> References: <6faad9f00607081606x1fbc8519n6943019300b67e22@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1152404499 11625 80.91.229.2 (9 Jul 2006 00:21:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 9 Jul 2006 00:21:39 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 09 02:21:38 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1FzN3J-0001sh-KT for gctc-ntg-context-518@m.gmane.org; Sun, 09 Jul 2006 02:21:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 72E2512813; Sun, 9 Jul 2006 02:21:37 +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 17829-03; Sun, 9 Jul 2006 02:21:28 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C0D8D1280F; Sun, 9 Jul 2006 02:21:27 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A4CD11280F for ; Sun, 9 Jul 2006 02:21:26 +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 17845-01 for ; Sun, 9 Jul 2006 02:21:23 +0200 (CEST) Original-Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by ronja.ntg.nl (Postfix) with SMTP id CE2971280D for ; Sun, 9 Jul 2006 02:21:23 +0200 (CEST) Original-Received: by nf-out-0910.google.com with SMTP id n28so492945nfc for ; Sat, 08 Jul 2006 17:21:23 -0700 (PDT) Original-Received: by 10.78.166.7 with SMTP id o7mr1225038hue; Sat, 08 Jul 2006 17:21:23 -0700 (PDT) Original-Received: by 10.78.72.12 with HTTP; Sat, 8 Jul 2006 17:21:23 -0700 (PDT) Original-To: "mailing list for ConTeXt users" 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.7 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:29205 Archived-At: On 7/9/06, Aditya Mahajan wrote: > > Perhas a > > left=,right= > > pair of keywords could solve the problem (left= and right= surrounding > > the number; but then we would also have to surround the label with > > something as well), where the default of left= would be a space. > > \[whatever]commad= could also solve the problem. > > > > left=Q works. The label is Sigh! A prisoner sitting in the cell thinking about how to escape never realizes that the door is not locked at all. Thanks a lot. > , so this works I won't ask where this is documented. > \defineenumeration > [question] > [text=Question, > left=Q] > > \starttext > \startquestion[abc] > Why are there so many spaces in \in[abc]? > \stopquestion > \stoptext If we're talking about \in-s, references, ... It would simplify my style file considerably if I was able to get the chapters labelled as C1, C1, ... instead of only 1, 2, ... I could get rid of left= which I do need when referencing to the questions. That means: \defineenumeration [question] [text=Question, way=bychapter, sectionnumber=yes, separator={Q.}] \chapter{About Something} \section{First Section} \placeformula \startformula f(x)=x^2 \stopformula \startquestion Is it easy to do that? \stopquestion \chapter{About Something Else} should give C1 About Something C1.1First section f(x)=x^2 (C1.1) question C1Q.1 C2 About Something Else Mojca PS: To David (and Aditya): why not simply \defineenumeration [question] [text=, left=\labeltext{question}]