From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Generating a list of items
Date: Sat, 5 Jul 2008 23:27:00 -0400 (EDT) [thread overview]
Message-ID: <alpine.DEB.1.00.0807052326170.6452@nqv-yncgbc> (raw)
In-Reply-To: <20080705190749988368.881788d1@gmail.com>
On Sat, 5 Jul 2008, David wrote:
> 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?
Have you looked at lists (like table of contents, list of figures etc.). I
think that the main manual explains how to create new lists.
Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2008-07-06 3:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-06 2:07 David
2008-07-06 3:27 ` Aditya Mahajan [this message]
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=alpine.DEB.1.00.0807052326170.6452@nqv-yncgbc \
--to=adityam@umich.edu \
--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).