From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/14888 Path: main.gmane.org!not-for-mail From: Steffen Wolfrum Newsgroups: gmane.comp.tex.context Subject: A bug in location=hanging ? Date: Fri, 12 Mar 2004 12:56:46 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1079094456 16845 80.91.224.253 (12 Mar 2004 12:27:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 12 Mar 2004 12:27:36 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Fri Mar 12 13:27:25 2004 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B1ll7-0005Uu-00 for ; Fri, 12 Mar 2004 13:27:25 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 078FC10B34; Fri, 12 Mar 2004 13:24:54 +0100 (MET) Original-Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [62.67.200.156]) by ref.ntg.nl (Postfix) with ESMTP id D323A10B21 for ; Fri, 12 Mar 2004 13:23:02 +0100 (MET) Original-Received: (qmail 5775 invoked from network); 12 Mar 2004 11:56:57 -0000 Original-Received: from unknown (HELO [62.134.78.179]) (159967@[62.134.76.31]) (envelope-sender ) by smtprelay01.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 12 Mar 2004 11:56:57 -0000 X-Sender: 159967@pop3.estfiles.de Original-To: ntg-context@ntg.nl Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:14888 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:14888 Hi, Please have a look at the example below. "\setuphanging[distance=0cm]" does not seem to have an effect at all. If I set "margin=-0.0001cm" it is almost zero, but if I set "margin=0cm" it jumps an undefined step to the right. Why can't it be zero? Did I forget a "%" at the end of some line? Thank you, Steffen ******* Example: \definelist[MyNoteList] \setuphanging[distance=0cm] \definedescription [WhatANote] [style=bold,margin=-0.0001cm,width=5cm,before=,after={\blank[5pt]},location=hanging] \def\MyNoteList#1#2#3{\startWhatANote{#1}#2\stopWhatANote} \setuplist [MyNoteList] [criterium=text, alternative=command, command=\MyNoteList] \newcounter\MyNotes \long\def\MyNote#1% {\ifhmode\unskip\fi \doglobal\increment\MyNotes\relax \high{\MyNotes}% \expanded{\writetolist[MyNoteList]{\MyNotes}}{#1}} \starttext Text \dorecurse{2}{test \MyNote{Whow, {\it another} note \input tufte }\endgraf} \page Text \placelist[MyNoteList][criterium=text] Text \stoptext