From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63864 Path: news.gmane.org!not-for-mail From: Glen Callaghan Newsgroups: gmane.comp.tex.context Subject: Re: \todo Date: Tue, 23 Nov 2010 19:37:09 +0000 Message-ID: <19D5F0E2-CE01-4FE3-B8A6-544BF7F16A71@emsolutions.com.au> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1370361563==" X-Trace: dough.gmane.org 1290541053 5190 80.91.229.12 (23 Nov 2010 19:37:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 23 Nov 2010 19:37:33 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 23 20:37:29 2010 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 1PKygD-0004P2-8Q for gctc-ntg-context-518@m.gmane.org; Tue, 23 Nov 2010 20:37:29 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BBE62CA878; Tue, 23 Nov 2010 20:37:28 +0100 (CET) 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 pYY9DXtTtUmY; Tue, 23 Nov 2010 20:37:22 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AC5A7CA871; Tue, 23 Nov 2010 20:37:22 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 95929CA871 for ; Tue, 23 Nov 2010 20:37:21 +0100 (CET) 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 s929tXaE4rpT for ; Tue, 23 Nov 2010 20:37:18 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 81164CA870 for ; Tue, 23 Nov 2010 20:37:18 +0100 (CET) Original-Received: from FILE01.em.emsolutions.com.au (mail.emsolutions.com.au [203.185.231.72]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oANJbD10020230 for ; Tue, 23 Nov 2010 20:37:16 +0100 Original-Received: from FILE01.em.emsolutions.com.au ([::1]) by FILE01.em.emsolutions.com.au ([::1]) with mapi; Wed, 24 Nov 2010 05:37:10 +1000 Thread-Topic: [NTG-context] \todo Thread-Index: AQHLi0XRdPcwIDLMNk66c6WQQp7/iA== In-Reply-To: Accept-Language: en-AU, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=203.185.231.72; country=AU; region=04; city=Newstead; latitude=-27.4444; longitude=153.0444; http://maps.google.com/maps?q=-27.4444,153.0444&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bDyHBeBi - 32a35bffc1af - 20101123 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:63864 Archived-At: --===============1370361563== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_19D5F0E2CE014FE3B8A6544BF7F16A71emsolutionscomau_" --_000_19D5F0E2CE014FE3B8A6544BF7F16A71emsolutionscomau_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable is there in Ctx something like \todo command, provided by LaTeX via todo pa= ckage (http://mirror.ctan.org/macros/latex/contrib/todo/todo.pdf)? Enumeration can do most of what you're after. \setupinteraction[state=3Dstart] \defineenumeration[todo][list=3Dtodolist,title=3Dyes, listtext=3D{Todo }, b= efore=3D\startframedtext, after=3D\stopframedtext] \starttext \placelist[enumeration:todolist][width=3D8em,criterium=3Dall, alternative= =3Dc] \page \input tufte \starttodo[]{You must remember this.} You can add details about what to remember here. \stoptodo \page \starttodo[]{Unforgettable.} \stoptodo \input knuth \todo[]{Important things.}{} \stoptext You might be able to get the final list at the end using blocks. cu Glen --_000_19D5F0E2CE014FE3B8A6544BF7F16A71emsolutionscomau_ Content-Type: text/html; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable

is there in Ctx something like \todo command, provided by LaTeX = via todo package (http://mirror.ctan.org/macros/latex/contrib/todo/todo.pdf)= ?

Enumeration can do most of w= hat you're after.  

\setupinteraction[st= ate=3Dstart]

\defineenumeration[todo][list=3Dtodol= ist,title=3Dyes, listtext=3D{Todo }, before=3D\startframedtext, after=3D\st= opframedtext]

\starttext

= \placelist[enumeration:todolist][width=3D8em,criterium=3Dall, alternative= =3Dc]

\page
\input tufte

<= /div>
\starttodo[]{You must remember this.}
You can add detai= ls about what to remember here.
\stoptodo

\page

\starttodo[]{Unforgettable.}
\st= optodo

\input knuth

\todo= []{Important things.}{}

\stoptext
=

You might be able to get the final list at th= e end using blocks.

cu
Glen
= --_000_19D5F0E2CE014FE3B8A6544BF7F16A71emsolutionscomau_-- --===============1370361563== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1370361563==--