From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39763 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Different os, different output (and other) Date: Mon, 31 Mar 2008 19:51:21 -0400 (EDT) Message-ID: References: <83e5fb980803311537t3d478e3xc98d2131a9d003c@mail.gmail.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: ger.gmane.org 1207007560 5285 80.91.229.12 (31 Mar 2008 23:52:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Mar 2008 23:52:40 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 01 01:53:11 2008 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 1JgToN-0000ul-5i for gctc-ntg-context-518@m.gmane.org; Tue, 01 Apr 2008 01:53:11 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 02A451FBBE; Tue, 1 Apr 2008 01:52:30 +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 12935-03-9; Tue, 1 Apr 2008 01:51:58 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 665641FB5B; Tue, 1 Apr 2008 01:51:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8D4641FB5B for ; Tue, 1 Apr 2008 01:51:56 +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 12876-04-2 for ; Tue, 1 Apr 2008 01:51:21 +0200 (CEST) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by ronja.ntg.nl (Postfix) with ESMTP id D15991FB30 for ; Tue, 1 Apr 2008 01:51:20 +0200 (CEST) Original-Received: FROM udhcp-wlan40.public.engin.umich.edu (udhcp-wlan40.public.engin.umich.edu [141.213.120.50]) BY hackers.mr.itd.umich.edu ID 47F178F5.812D7.12999 ; 31 Mar 2008 19:51:18 -0400 In-Reply-To: <83e5fb980803311537t3d478e3xc98d2131a9d003c@mail.gmail.com> User-Agent: Alpine 1.00 (DEB 882 2007-12-20) 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:39763 Archived-At: On Tue, 1 Apr 2008, Diego Depaoli wrote: > Hi all, > compiling these instructions > \defineenumeration[parte][location=left,text=Titolo,headstyle=bold,stopper=.,width=broad,number=yes,conversion=Romannumerals] > \defineenumeration[articolo][location=left,text=Articolo,stopper=.,width=broad,number=yes] > \defineenumeration[subarticolo][after={\blank[small]},before={\blank[small]},text=,location=inleft,width=broad] > \defineenumeration[altec][location=left,text=Allegato,headstyle=bold,stopper=.t,width=broad,conversion=Characters] > \defineenumeration[subaltec][after={\blank[small]},before={\blank[small]},text=,location=inleft,width=broad] > only under ubuntu the result is as expected: > I,1,1,A,1 > while under opensuse and freebsd i get > 1,1,1,1,1 > Why this? Are Opensuse and freebsd using an older version of ConTeXt? (ctxtools --contextversion should tell the context version). There was a bug in enumeration and conversions which was fixed around the middle of last year. > Another little question > If in defineenumeration[anenumeration] I specify text={\bfc Title} > and > \startanenumeration{\bfc The History}\stopanenumeration > Title and The History are not properly aligned (The History is in > higher position). > What's wrong? \bfc does not correct interline spacing. If you notice, the Title is aligned at the top to the rest of the text. \showmakeup % \defineenumeration[test][location=left,text={\bfc Title}] \defineenuemration[test][location=left,text={Title},headstyle={\bfc}] \starttext \starttest {\bfc Test} This is a test \input knuth \stoptest \stoptext To get alignment you can do this \starttest {\switchtobodyfont[20pt]\bf Test} This is a test \input knuth \stoptest Hans, can \switchtobodyfont be modified so that it also works for relative font size (a,b,c,x,xx)? Also something is wrong with location=left|right and titles. \defineenumeration[test][location=left,title=yes] \test {A very very long title string} \input knuth The title is not taken into accound while calculating the hanging (mainly because, I did not even consider this case while adding support for titles). I am not sure how the output should look in this case. Should the width of title be taken into account while calculating the hanging width, or should the title be placed with the rest of the enumeration? Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________