From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82949 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Pablo_Rodr=EDguez?= Newsgroups: gmane.comp.tex.context Subject: bug in compressed linenotes (and two ideas about them) Date: Wed, 12 Jun 2013 19:38:40 +0200 Message-ID: <51B8B220.3090506@web.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1371058742 19165 80.91.229.3 (12 Jun 2013 17:39:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Jun 2013 17:39:02 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 12 19:39:04 2013 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 1Ump0h-0003oU-2P for gctc-ntg-context-518@m.gmane.org; Wed, 12 Jun 2013 19:39:03 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0CE32101F2; Wed, 12 Jun 2013 19:39:02 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 6z92inX3p7Uk; Wed, 12 Jun 2013 19:39:00 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id D0F10101EA; Wed, 12 Jun 2013 19:38:59 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2EE81101EA for ; Wed, 12 Jun 2013 19:38:58 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id uoHpg7EsCR1A for ; Wed, 12 Jun 2013 19:38:56 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id C0E0D101E8 for ; Wed, 12 Jun 2013 19:38:46 +0200 (CEST) Original-Received: from mout.web.de (mout.web.de [212.227.17.12]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r5CHck4G004729 for ; Wed, 12 Jun 2013 19:38:46 +0200 Original-Received: from [192.168.1.33] ([79.155.86.9]) by smtp.web.de (mrweb103) with ESMTPSA (Nemesis) id 0MVLak-1UqhR51jv4-00YEc9 for ; Wed, 12 Jun 2013 19:38:45 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 X-Provags-ID: V02:K0:ZuVlP7Trv4d/j/B+2m8BNZNvSM5eYJRW9jxEr6BOMYt k1r1muAnUR00JoCsN3RO96e/Y7+WX0WwcA3ULQNmmcS3KgIdCG Nm5ab2D3cc552Wpqy3l/J61sDE2d2qkQtt7C6xNZLb1OqOcuSd tDooYYDdwLSn6fb8o5+cPT/jDZBiLEtnNe2zss54tpvUcsjEk6 j3MJxvQ4pjHiyfqMsKpiw== X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.227.17.12; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01JLtCKD2 - 507101ecbd65 - 20130612 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:82949 Archived-At: Hi Hans, I'm afraid I found another bug in linenotes (http://www.ousia.tk/compressed-linenotes.pdf and http://www.ousia.tk/compressed-linenotes.tex). When a compressed linenote is located at the beginning of the line, the inbetween distance from \setupnote is suppressed, but the distance from \setupnotation isn't. This happens either linenotes are in paragraph form or not. I have also three suggestions on the linenote spacing. I'd be highly pleased that Thomas and Idris could comment on them, since they are the experts on the topic. The first one is more a question, because I'm not sure whether this is already possible. Could I set a variable length in inbetween from \setupnote and distance from \setupnotation? This would help better spacing in linenotes. Sorry for asking, but I tried in the past and I wasn't able to do it. The other two suggestions are about enabling different spacing options for compressed linenotes than the standard spacing for linenotes. The sample shows that without separator, compressed linenotes have more blank space than standard linenotes, since compressed linenotes without separator have two added spaces without interruption. How about a compresseddistance option that assumes there is no separator and sets a single space? In the sample, compressed linenotes are preceeded by a 2em space, where standard linenotes are preceeded by a 1.5em space. Having more space for compressed linenotes than for standard ones may be misleading in some cases. And even using a separator, being able to specify different distances would be also extremely helpful, because it is not always the case where separators need more space before than after (as line reference numbers need). How about implementing two options such as compressedbefore and compressedafter that would achieve this? BTW, I tried to enclose the sample within a TEXpage, but it didn't contain the linenotes. Is this intended or am I missing something? Many thanks for your help, Pablo -- http://www.ousia.tk ___________________________________________________________________________________ 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 ___________________________________________________________________________________