From: "luigi scarso" <luigi.scarso@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Unnumbered TOC
Date: Tue, 24 Jul 2007 22:34:51 +0200 [thread overview]
Message-ID: <fe8d59da0707241334v50c41773qd903dc8e5b209071@mail.gmail.com> (raw)
In-Reply-To: <200707241433.11830.john@wexfordpress.com>
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
___________________________________________________________________________________
prev parent reply other threads:[~2007-07-24 20:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-24 18:33 John R. Culleton
2007-07-24 20:34 ` luigi scarso [this message]
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=fe8d59da0707241334v50c41773qd903dc8e5b209071@mail.gmail.com \
--to=luigi.scarso@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).