* 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
* Re: Generating a list of items
2008-07-06 3:27 ` Aditya Mahajan
@ 2008-07-06 4:40 ` David
0 siblings, 0 replies; 4+ messages in thread
From: David @ 2008-07-06 4:40 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sat, 5 Jul 2008 23:27:00 -0400 (EDT), Aditya Mahajan wrote:
> 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.
I thought I had looked there, but I was wrong. A list similar to a
table of contents seems like exactly what I need. I'll reply to this
thread if I encounter any problems with it.
Thank you Aditya.
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
* Re: Generating a list of items
2008-07-06 2:07 David
@ 2008-07-06 3:27 ` Aditya Mahajan
2008-07-06 4:40 ` David
0 siblings, 1 reply; 4+ messages in thread
From: Aditya Mahajan @ 2008-07-06 3:27 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ 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).