From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71594 Path: news.gmane.org!not-for-mail From: Alexandre Leray Newsgroups: gmane.comp.tex.context Subject: Re: vertically aligned side margin footnotes Date: Thu, 06 Oct 2011 22:25:36 +0200 Message-ID: <4E8E0EC0.7050906@alexandreleray.com> References: <4E664986.9020802@alexandreleray.com> <9EE0A1E3-4611-4AD6-8325-DC296A29344D@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"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1317932649 3277 80.91.229.12 (6 Oct 2011 20:24:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 6 Oct 2011 20:24:09 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 06 22:24:05 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RBuU9-0004tz-8c for gctc-ntg-context-518@m.gmane.org; Thu, 06 Oct 2011 22:24:05 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1A7EFCAFFC; Thu, 6 Oct 2011 22:24:04 +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 yKDxMBLDNPoy; Thu, 6 Oct 2011 22:24:01 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 592ACCAFC9; Thu, 6 Oct 2011 22:24:01 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1FC8ACAFC9 for ; Thu, 6 Oct 2011 22:24:00 +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 7jK2LUt92vx1 for ; Thu, 6 Oct 2011 22:23:57 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 717B2CA680 for ; Thu, 6 Oct 2011 22:23:57 +0200 (CEST) Original-Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p96KNufv032019 for ; Thu, 6 Oct 2011 22:23:57 +0200 X-Originating-IP: 217.70.178.139 Original-Received: from mfilter10-d.gandi.net (mfilter10-d.gandi.net [217.70.178.139]) by relay4-d.mail.gandi.net (Postfix) with ESMTP id 0FE84172076 for ; Thu, 6 Oct 2011 22:23:16 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter10-d.gandi.net Original-Received: from relay4-d.mail.gandi.net ([217.70.183.196]) by mfilter10-d.gandi.net (mfilter10-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id GQvW6VJCzRNL for ; Thu, 6 Oct 2011 22:23:14 +0200 (CEST) X-Originating-IP: 83.101.33.195 Original-Received: from [192.168.178.35] (unknown [83.101.33.195]) (Authenticated sender: newsletters@alexandreleray.com) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 305A3172070 for ; Thu, 6 Oct 2011 22:23:13 +0200 (CEST) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2 In-Reply-To: <9EE0A1E3-4611-4AD6-8325-DC296A29344D@googlemail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=217.70.183.196; country=FR; latitude=46.0000; longitude=2.0000; http://maps.google.com/maps?q=46.0000,2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0xFFwnUVC - 9e7618231a97 - 20111006 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:71594 Archived-At: Hi and thanks for your help. it works except that when the sidenote is too long it overflows the page. Is there a way to make the note continuing on the next page if it doesn't fit? Thanks again, Alex On 06/09/2011 22:27, Wolfgang Schuster wrote: > > Am 06.09.2011 um 18:25 schrieb Alexandre Leray: > >> Hi again, >> >> is there a way to typeset footnotes in the margin, but placed at the same vertical distance as the text they refer to? > > No, but you can combine \inmargin and a counter: > > \usemodule[annotation] > > \define[2]\SidenoteCommand > {\rawnumber[sidenote]% > \inright{#1: #2}} > > \defineannotation > [sidenote] > [alternative=command, > command=\SidenoteCommand, > number=yes] > > \starttext > > text text\sidenote{this is a note} text text > > \input knuth > > text text\sidenote{this is a note} text text > > \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 : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________