* Unnumbered TOC
@ 2007-07-24 18:33 John R. Culleton
2007-07-24 20:34 ` luigi scarso
0 siblings, 1 reply; 2+ messages in thread
From: John R. Culleton @ 2007-07-24 18:33 UTC (permalink / raw)
To: mailing ConTeXt users list for
Sections have numbers, subjects etc. don't. What I want is a series of
subdividisions (subject, subsubject etc. without visible numbers
which nevertheless show up in a chapter table of contents, again
without numbers, just page numbers.
I tried defining a combined list foo thus:
\definelist[subject][alternative=a]
\definelist[subsubject][alternative=a]
\definelist[subsubsubject][alternative=a]
\definecombinedlist[foo]
[subject,subsubject,subsubsubject]
[level=subsubsubject,criterium=local]
but when I state
\placelist[foo]
...nothing appears.
Should I start all over, replace subjects with sections etc. and then
try to suppress the numbering in both places?
There is of course an easy answer that I am missing. :<(
--
John Culleton
___________________________________________________________________________________
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] 2+ messages in thread
* Re: Unnumbered TOC
2007-07-24 18:33 Unnumbered TOC John R. Culleton
@ 2007-07-24 20:34 ` luigi scarso
0 siblings, 0 replies; 2+ messages in thread
From: luigi scarso @ 2007-07-24 20:34 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 7/24/07, John R. Culleton <john@wexfordpress.com> wrote:
> Sections have numbers, subjects etc. don't. What I want is a series of
> subdividisions (subject, subsubject etc. without visible numbers
> which nevertheless show up in a chapter table of contents, again
> without numbers, just page numbers.
>
> I tried defining a combined list foo thus:
> \definelist[subject][alternative=a]
> \definelist[subsubject][alternative=a]
> \definelist[subsubsubject][alternative=a]
> \definecombinedlist[foo]
> [subject,subsubject,subsubsubject]
> [level=subsubsubject,criterium=local]
>
>
> but when I state
> \placelist[foo]
> ...nothing appears.
>
> Should I start all over, replace subjects with sections etc. and then
> try to suppress the numbering in both places?
>
> There is of course an easy answer that I am missing. :<(
maybe this can help you ?
(untested)
\def\SectionListCommand#1#2#3{#1 ... #2 ... #3}%
\setuplist[section]
[alternative=none,
before={\blank[0pt]},
after={\blank[0pt]},
sectionnumber=no, partnumber=no,
command={\SectionListCommand}]
\def\SectionHeadCommand#1#2#3{#1 ::: #2 ::: #3}%
\setuphead[section]
[command={\SectionHeadCommand}]
--
luigi
----------------------------------------------------------------
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
___________________________________________________________________________________
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] 2+ messages in thread
end of thread, other threads:[~2007-07-24 20:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-24 18:33 Unnumbered TOC John R. Culleton
2007-07-24 20:34 ` luigi scarso
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).