From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/75926 Path: news.gmane.org!not-for-mail From: Malte Stien Newsgroups: gmane.comp.tex.context Subject: Problem with \inmargin on \item lines Date: Wed, 2 May 2012 14:33:55 +1000 Message-ID: <6AD49FC8-3558-4538-B5C3-21D14D3C3A3B@stien.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1335933263 9103 80.91.229.3 (2 May 2012 04:34:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 2 May 2012 04:34:23 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed May 02 06:34:23 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SPRGg-0006zH-AG for gctc-ntg-context-518@m.gmane.org; Wed, 02 May 2012 06:34:22 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D7F4A101ED; Wed, 2 May 2012 06:34:20 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id qC7HdodVYZkn; Wed, 2 May 2012 06:34:18 +0200 (CEST) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 681D4101E8; Wed, 2 May 2012 06:34:18 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9F96A101E8 for ; Wed, 2 May 2012 06:34:17 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 3KUhwv+Ei3Gc for ; Wed, 2 May 2012 06:34:15 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 9C7FA101E6 for ; Wed, 2 May 2012 06:34:15 +0200 (CEST) Original-Received: from homiemail-a70.g.dreamhost.com (mailbigip.dreamhost.com [208.97.132.5]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q424Y0cj017722 for ; Wed, 2 May 2012 06:34:07 +0200 Original-Received: from homiemail-a70.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a70.g.dreamhost.com (Postfix) with ESMTP id 91A56768059 for ; Tue, 1 May 2012 21:33:58 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=stien.de; h=from:content-type :content-transfer-encoding:subject:date:message-id:to: mime-version; q=dns; s=stien.de; b=XbeJ9YggnXORIGPReb8D7LrfzZvrt JnCWqtVKMP0zWif9/iKC9jAQUAtxktnur2o+lpFbwbB6Ma9WDBiTMNAt4axJeVd5 +rG5URIAACzE94BYz0yrWhWLeNnM3NFDSwxv3clTwZY6xB9rckvVYO/wlsOL0IwZ /4RlzKApkDs9ic= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=stien.de; h=from :content-type:content-transfer-encoding:subject:date:message-id :to:mime-version; s=stien.de; bh=DE5gP11RNUW/aQf53uS0si9bz1A=; b=D49P0wxNsGyFxj5QhJUdNb8KwCeSsBvNM3HESC8fp7o5khoomLkmZmu/HLGS4 OOc32uIQUrKpCZf0NuaP69nqiYgKpAXcGXithUKlcQOqdAt3rYTYV1cWiT3N10yh A0iG+LMgvB9U/J8dLr6v4b407+K4V8AdPoY5oCzlWlXOiM= Original-Received: from [192.168.10.105] (smartw11.lnk.telstra.net [165.228.37.88]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: malte@stien.de) by homiemail-a70.g.dreamhost.com (Postfix) with ESMTPSA id 2F0DA768057 for ; Tue, 1 May 2012 21:33:58 -0700 (PDT) X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.9395 (Score 4.2, tokens from: @@RPTN) X-CanIt-Geo: ip=208.97.132.5; country=US; region=CA; city=Trabuco Canyon; postalcode=92679; latitude=33.6117; longitude=-117.5491; metrocode=803; areacode=949; http://maps.google.com/maps?q=33.6117,-117.5491&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VH4Qy02h - b95f15c289a7 - 20120502 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:75926 Archived-At: Hi everyone, I am experiencing a problem with \inmargin{some text} in \itemized lists. I am using them a lot in my documents, and it is kind of annoying. It appears that if one uses the \inmargin macro just prior to the \item macro, the in-margin text is typeset against the previous line, not the line with the \item. Minimal example. \starttext \startitemize \item This is just a normal completely innocent paragraph against which one will be able to judge the amount of indentation of the next paragraph. \inmargin{Duck}\item This paragraph has a duck inmargin comment \stopitemize \stoptext That seems fair enough and even makes sense on some level. If however, one reverses the two macros, like so: \item\inmargin{Duck} This paragraph has a duck inmargin comment the leading space just after the closing brace is actually printed. I take this to be a bug, or is this by design? The only way I can around this is to not use a space, like so: \item\inmargin{Duck}This paragraph has a duck inmargin comment But I don't find that to be a satisfying solution. After all I am using ConTeXt because I am a bit pedantic about text, even the source code in this case. Regards, Malte. ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________