ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* FiXme-module
@ 2010-11-05 12:12 Andreas Harder
  2010-11-08 19:16 ` FiXme-module Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Harder @ 2010-11-05 12:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Wolfgang,

I've played a bit with your FiXme-module. First of all, thanks for the work! But I ran into following issues.

1. Something is going wrong if I allow interaction. So the text is marked as a link, but one can't jump to the right location.

2. Instead of margin notes I would like to use PDF annotations, so I tried:
\setupfixme
  [before={\startcomment[FiXme]},
   after=\stopcomment]
This gives an error.

3. Is it possible to save the FiXme-list in a external text file? Something like \savebuffer[expanded list of fixmes][list.txt]

\usemodule[fixme]

% \setupfixme % -> error
%   [before={\startcomment[FiXme]},
%    after=\stopcomment]

\setupinteraction[state=start]
\setuplist[fixme][interaction=all]

\starttext
\fixme{To be done …}
\input knuth
\fixme{To be done …}
\input tufte
\fixme{To be done …}
\page
\placelist[fixme]
\stoptext

Best regards
	Andreas
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: FiXme-module
  2010-11-05 12:12 FiXme-module Andreas Harder
@ 2010-11-08 19:16 ` Wolfgang Schuster
  2010-11-08 22:20   ` FiXme-module Andreas Harder
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2010-11-08 19:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 05.11.2010 um 13:12 schrieb Andreas Harder:

> Hi Wolfgang,
> 
> I've played a bit with your FiXme-module. First of all, thanks for the work! But I ran into following issues.
> 
> 1. Something is going wrong if I allow interaction. So the text is marked as a link, but one can't jump to the right location.

Works for me, maybe a bug in context which is now solved.

> 2. Instead of margin notes I would like to use PDF annotations, so I tried:
> \setupfixme
>  [before={\startcomment[FiXme]},
>   after=\stopcomment]
> This gives an error.

comments are defined as buffers and buffers can’t be used in before/after keys but i can add a „location=comment“ to the module.

> 3. Is it possible to save the FiXme-list in a external text file? Something like \savebuffer[expanded list of fixmes][list.txt]

Do you want a separate file for each entry or one file with all entries?

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: FiXme-module
  2010-11-08 19:16 ` FiXme-module Wolfgang Schuster
@ 2010-11-08 22:20   ` Andreas Harder
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Harder @ 2010-11-08 22:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 08.11.2010 um 20:16 schrieb Wolfgang Schuster:

> 
> Am 05.11.2010 um 13:12 schrieb Andreas Harder:
> 
>> Hi Wolfgang,
>> 
>> I've played a bit with your FiXme-module. First of all, thanks for the work! But I ran into following issues.
>> 
>> 1. Something is going wrong if I allow interaction. So the text is marked as a link, but one can't jump to the right location.
> 
> Works for me, maybe a bug in context which is now solved.

Hmm, I'm using the latest beta. I checked some documents and it works there but fails in something simple like
\setupinteraction[state=start]
\starttext
\placelist[chapter][interaction=all]
\dorecurse{5}{\chapter{Chapter} }
\stoptext
But anyway it has nothing to do with your module.

>> 2. Instead of margin notes I would like to use PDF annotations, so I tried:
>> \setupfixme
>> [before={\startcomment[FiXme]},
>>  after=\stopcomment]
>> This gives an error.
> 
> comments are defined as buffers and buffers can’t be used in before/after keys but i can add a „location=comment“ to the module.

That would be nice, but would't "alternative=comment“ more appropriate?

>> 3. Is it possible to save the FiXme-list in a external text file? Something like \savebuffer[expanded list of fixmes][list.txt]
> 
> Do you want a separate file for each entry or one file with all entries?

I thought of one file with all entries. 

My first idea was to write something like:
\startTODO
* \currentcomponent
** TODO fix that, fix this
** DONE fix that, fix this
\stopTODO
Write all TODO environments in a single file and use Emacs Org-mode to navigate through the list.

Best regards
	Andreas
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-11-08 22:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-05 12:12 FiXme-module Andreas Harder
2010-11-08 19:16 ` FiXme-module Wolfgang Schuster
2010-11-08 22:20   ` FiXme-module Andreas Harder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).