From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/35110 Path: news.gmane.org!not-for-mail From: "Hamid Kamrani" Newsgroups: gmane.comp.tex.context Subject: Re: How to align numerals in lists on the dot or paranthesis that follows the numeral? Date: Sun, 24 Jun 2007 13:10:07 -0400 Message-ID: References: <20070624141806.f90665b8.schuster.wolfgang@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" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1182705048 11608 80.91.229.12 (24 Jun 2007 17:10:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 24 Jun 2007 17:10:48 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Sun Jun 24 19:10:45 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 1I2Vbn-0004ti-S8 for gctc-ntg-context-518@m.gmane.org; Sun, 24 Jun 2007 19:10:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2ED461FCC6; Sun, 24 Jun 2007 19:10:19 +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 11859-05-7; Sun, 24 Jun 2007 19:10:14 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6A8451FAEE; Sun, 24 Jun 2007 19:10:14 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3F1FA200C9 for ; Sun, 24 Jun 2007 19:10:12 +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 11859-05-6 for ; Sun, 24 Jun 2007 19:10:08 +0200 (CEST) Original-Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by ronja.ntg.nl (Postfix) with ESMTP id 5C1A4200C7 for ; Sun, 24 Jun 2007 19:10:08 +0200 (CEST) Original-Received: by ug-out-1314.google.com with SMTP id o2so1113447uge for ; Sun, 24 Jun 2007 10:10:08 -0700 (PDT) Original-Received: by 10.78.185.15 with SMTP id i15mr2262181huf.1182705007125; Sun, 24 Jun 2007 10:10:07 -0700 (PDT) Original-Received: by 10.78.154.11 with HTTP; Sun, 24 Jun 2007 10:10:07 -0700 (PDT) In-Reply-To: <20070624141806.f90665b8.schuster.wolfgang@googlemail.com> 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:35110 Archived-At: Taco and Wolfang, Thanks both for your responses. But: 1. The setup offered by Taco does not line up the numerals on the dots. Maybe my problem was misunderstood. 2. With Wolfgang's patch, I think I must be missing some code because I get the Undefined control sequence error. systems : begin file itemize-test02 at line 3 ! Undefined control sequence. \redostartitemgroup ...ands \checkcurrentnofitems \let \listitem \empty \doi... \dostartitemgroup ... \dodostartitemgroup [#2][#3] \else \doifassignmentelse ... l.6 \startitemize[n][style=bold] ? ! Undefined control sequence. \dolistitem ...stelements \optimizelistitemsbreak \noindent \setbox 8\hbox {... Best regards, -Hamid On 6/24/07, Wolfgang Schuster wrote: > On Sat, 23 Jun 2007 23:13:22 -0400 > "Hamid Kamrani" wrote: > > > At least in the U.S., it is the rule and a strict requirement to > > typeset vertical lists in such a way that the numerals align on the > > dot or parenthesis following the numeral. > > > > (even the daily violation of the rule by some of the most widely used > > word processors such as MS Word has not changed this old-aged > > convention.) > > > > I feel it must be possible in ConTeXt to do this because it is such a > > basic requirement and ConTeXt is used professionally. However, it's > > not the default behavior and I don't know which options will achieve > > it. > > > > (And if by any chance, this is not yet possible in ConTeXt, can anyone > > suggest a workaround for this, in ConTeXt of course. > > > > It is the default behavior in both LaTeX and eplain. > > Hi Hamid, > > I corrected my last patch and integrated a itemalign key. You can test > it with the following example. > > \input core-itm-patch > > \starttext > > \startframedtext[width=\textwidth] > \startitemize[n][style=bold] > \item As a college student, how do you rate yourself? > \startitemize[5,columns,two] > \item Excellent student > \item Good student > \item Mediocre student > \item Poor student > \stopitemize > \stopitemize > \stopframedtext > > \startitemize[n][style=bold] > \item As a college student, how do you rate yourself? > \startitemize[5, columns, two] > \item Excellent student > \item Good student > \item Mediocre student > \item Poor student > \stopitemize > \stopitemize > > \startitemize[n,packed,broad][itemalign=left] > \dorecurse{10}{\item Item \recurselevel.} > \stopitemize > > \startitemize[n,packed,broad] > \dorecurse{10}{\item Item \recurselevel.} > \stopitemize > > \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 > ___________________________________________________________________________________ > > > ___________________________________________________________________________________ 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 ___________________________________________________________________________________