ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Generating a list of items
@ 2008-07-03 23:37 David
  0 siblings, 0 replies; 4+ messages in thread
From: David @ 2008-07-03 23:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi all

I'm teaching some classes and want to make a template for lesson 
planning. One of the things that I'd like to be able to include, if it 
works easily, is an automatically-created list of the materials I need 
to remember to bring. I expect this means I would define something like 
\Materials , and then while typing the main text of my plan be able to 
type \Materials{Photographs} or \Materials{Sound Recording} and then 
have ConTeXt generate

"Materials: 1. Photographs  2. Sound Recording"

near the top of the page.

I've tried \placeregister, but it seems to insist on printing page 
numbers and alphabetical headings. I just want a numbered list of 
items. Can I tweak the \register commands to do this, or perhaps is 
there something else I should try?

Thanks
David
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread
* Generating a list of items
@ 2008-07-06  2:07 David
  2008-07-06  3:27 ` Aditya Mahajan
  0 siblings, 1 reply; 4+ messages in thread
From: David @ 2008-07-06  2:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi all

I'm teaching some classes this summer, and want to make myself a 
template for lesson planning. One of the things that I'd like to be 
able to include, if it works easily, is an automatically-created list 
of the materials I need to remember to bring. My intention is that I 
will only have to type the name of my materials once, while composing 
the plan itself, and have ConTeXt extract all the names and place them 
in a list in the same document.

I expect this means I would define something like \Materials , and then 
while typing the main text of my plan be able to type 
\Materials{Photographs} or \Materials{Sound Recording} and then have 
ConTeXt generate a list of all the items like this ...

"Materials: 1. Photographs 2. Sound Recording"

... near the top of the page.

I've tried using \placeregister, but it seems to insist on printing a 
page number for each item and alphabetical headings as in an index. I 
would like to get a simple, numbered list of items. Can I tweak the 
\register commands to do this, or perhaps is there something else I 
should try?

Thanks David
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2008-07-06  4:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-03 23:37 Generating a list of items David
2008-07-06  2:07 David
2008-07-06  3:27 ` Aditya Mahajan
2008-07-06  4:40   ` David

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).