From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71055 Path: news.gmane.org!not-for-mail From: stdin Newsgroups: gmane.comp.tex.context Subject: Re: Retrieve the content of comments Date: Tue, 06 Sep 2011 15:14:34 +0200 Message-ID: <4E661CBA.9010804@stdin.fr> References: <4E65E12D.90004@alexandreleray.com> <4E65E263.9030803@wxs.nl> <0F58345E-1AF4-4E2E-B63B-95C32F5C236E@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1315314840 18664 80.91.229.12 (6 Sep 2011 13:14:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Sep 2011 13:14:00 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 06 15:13:56 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 1R0vTP-0000nb-Ep for gctc-ntg-context-518@m.gmane.org; Tue, 06 Sep 2011 15:13:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 857ABCAF71; Tue, 6 Sep 2011 15:13:52 +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 MrCY3yhKT+xF; Tue, 6 Sep 2011 15:13:37 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 02031CAF63; Tue, 6 Sep 2011 15:13:37 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B0BA3CAF5F for ; Tue, 6 Sep 2011 15:13:35 +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 4oLa+7owGy+X for ; Tue, 6 Sep 2011 15:13:20 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id AA321CAF63 for ; Tue, 6 Sep 2011 15:13:20 +0200 (CEST) Original-Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p86DDJZ6005283 for ; Tue, 6 Sep 2011 15:13:20 +0200 X-Originating-IP: 217.70.178.137 Original-Received: from mfilter8-d.gandi.net (mfilter8-d.gandi.net [217.70.178.137]) by relay4-d.mail.gandi.net (Postfix) with ESMTP id 80B1217209B; Tue, 6 Sep 2011 15:12:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter8-d.gandi.net Original-Received: from relay4-d.mail.gandi.net ([217.70.183.196]) by mfilter8-d.gandi.net (mfilter8-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id PQWDjgk3C77Z; Tue, 6 Sep 2011 15:12:38 +0200 (CEST) X-Originating-IP: 109.128.254.84 Original-Received: from [192.168.1.117] (unknown [109.128.254.84]) (Authenticated sender: echo@stdin.fr) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 9852F1720A4; Tue, 6 Sep 2011 15:12:37 +0200 (CEST) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:6.0) Gecko/20110816 Thunderbird/6.0 In-Reply-To: <0F58345E-1AF4-4E2E-B63B-95C32F5C236E@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: 0eFtpdjzI - 12382e471433 - 20110906 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:71055 Archived-At: Thanks, I haven't tried yet but this looks like what I was looking for :) One question though... I have overlapping comments, is there any way I = can do this? Best, Alex On 06/09/2011 11:58, Wolfgang Schuster wrote: > Am 06.09.2011 um 11:05 schrieb Hans Hagen: > >> On 6-9-2011 11:00, Alexandre Leray wrote: >>> Hi, >>> >>> I have a text with commented spans. The comments come later in the book, >>> and I'd like to show the commented parts just above the comments >>> themselves. Here is a pseudo code: >>> >>> [=85] >>> >>> Is there any way to achieve this? >> you probably want endnotes >> >> \starttext >> >> test test \endnote{test} test >> >> \page \placenotes[endnote] >> >> \stoptext > > He wants also a title for each comment. > > \usemodule[annotation] > > \define[2]\CommentedCommand > {\placeannotationtitle > \expanded{\endnote{\placeannotationtitle\crlf\placeannotationcontent}= }} > > \defineannotation > [commented] > [alternative=3Dcommand, > command=3D\CommentedCommand] > > \starttext > > Vestibulum ante \commented{ipsum primis}{This is my comment =85} in fauci= bus orci luctus et ultrices posuere cubilia Curae; Fusce pretium orci lectu= s, a egestas sapien. Maecenas ante tellus, cursus sed feugiat non, lacinia = sit amet dui. Nam vel tortor sed leo pulvinar ornare. > > Vestibulum ante \startcommented{ipsum primis} This is my comment =85 \sto= pcommented in faucibus orci luctus et ultrices posuere cubilia Curae; Fusce= pretium orci lectus, a egestas sapien. Maecenas ante tellus, cursus sed fe= ugiat non, lacinia sit amet dui. Nam vel tortor sed leo pulvinar ornare. > > \placenotes[endnote] > > \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-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ > -- = Alexandre Leray& St=E9phanie Vilayphiou http://stdin.fr/ +32 (0)4 89 00 88 59 ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________