ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: David <davidandrewrogers@gmail.com>
To: mailing list for ConTeXt users <NTG-context@ntg.nl>
Subject: Generating a list of items
Date: Sat, 5 Jul 2008 19:07:49 -0700	[thread overview]
Message-ID: <20080705190749988368.881788d1@gmail.com> (raw)

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
___________________________________________________________________________________


             reply	other threads:[~2008-07-06  2:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-06  2:07 David [this message]
2008-07-06  3:27 ` Aditya Mahajan
2008-07-06  4:40   ` David
  -- strict thread matches above, loose matches on Subject: below --
2008-07-03 23:37 David

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080705190749988368.881788d1@gmail.com \
    --to=davidandrewrogers@gmail.com \
    --cc=NTG-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).