Received: by nummer-3.proteosys id <01C19443.3DF5ECA4@nummer-3.proteosys>; Thu, 3 Jan 2002 11:41:46 +0100 Return-Path: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C19443.3DF5ECA4" x-vm-v5-data: ([nil nil nil nil nil nil t t nil][nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil]) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message Subject: Re: Section numbering Date: Thu, 21 Feb 1991 15:33:41 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "LaTeX-L Mailing list" Sender: "Don Hosek" To: "Rainer M. Schoepf" Reply-To: "LaTeX-L Mailing list" Status: R X-Status: X-Keywords: X-UID: 294 This is a multi-part message in MIME format. ------_=_NextPart_001_01C19443.3DF5ECA4 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable > > \chapter*, to make sense, should work as follows: >4 > - A TOC entry should be generated >no, not necessarily. that should be clearly up to the style designer. >I dont want Preface and Acknowledgments in my TOC, thanks, in style B Well you might not, but picking five books at random from my bookshelf (it's so nice having a computer at home, finally), reveals: Norman Sherry, _The Life Of Graham Greene, Vol. I_: Various *-forms in TOC. Jan White, _Graphic Design for the Electronic Age_: ditto. Floyd L. Moreland & Rita M. Fleisher, _Latin: An Intensive Course_: ditto Leslie Lamport, _LaTeX: A Document Preparation System_: ditto. Bentley Layton, _The Gnostic Scriptures_: ditto. I haven't tried, but I suspect that there are no examples of the opposite practice in my library. > > + All sections contained in it should be unnumbered. Not sure > > about "numbered-within" items like equations and figures. The > > situation has yet to come up >again, this is not a universal rule. it might make sense, though, to >copy the (S)GML world, and have a higher level constrcut like >\begin{prefacesection} and \end{prefacesection} in which, by default, >sections are all * type >isn't Don's requirement catered for by the values of tocdepth and >secnumdepth, used judiciously? one can reset them on the fly, yes? Kind of. You get one tocdepth per document, the one in affect when \tableofcontents is executed. One _could_ exert some effort in writing \setcounter{tocdepth} commands to the toc, but I'm not inclined to bother. Setting secnumdepth to a negative number for the prefatory material, though is a very appealing idea and solves the problem quite nicely. I think I'm going to change a few sections of my LaTeX book once I finish this note. Incidentally, in keeping with established LaTeX usage, I would suggest that we have single commands to indicate the beginning of prefatory material and the beginning of the body a la \appendix and \ps (think about that one... the analagy seems to be the best way for my students to understand what \ps is about when I teach the LaTeX course). -dh ------_=_NextPart_001_01C19443.3DF5ECA4 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Re: Section numbering

> > \chapter*, to make sense, should work as = follows:
>4 > - A TOC entry should be generated
>no, not necessarily. that should be clearly up to = the style designer.
>I dont want Preface and Acknowledgments in my = TOC, thanks, in style B

Well you might not, but picking five books at random = from my
bookshelf (it's so nice having a computer at home, = finally),
reveals:

Norman Sherry, _The Life Of Graham Greene, Vol. I_: = Various *-forms
in TOC.

Jan White, _Graphic Design for the Electronic Age_: = ditto.

Floyd L. Moreland & Rita M. Fleisher, _Latin: An = Intensive
Course_: ditto

Leslie Lamport, _LaTeX: A Document Preparation = System_: ditto.

Bentley Layton, _The Gnostic Scriptures_: = ditto.

I haven't tried, but I suspect that there are no = examples of the
opposite practice in my library.

> > + All sections contained in it should be = unnumbered. Not sure
> >   about = "numbered-within" items like equations and figures. The
> >   situation has yet to come = up
>again, this is not a universal rule. it might = make sense, though, to
>copy the (S)GML world, and have a higher level = constrcut like
>\begin{prefacesection} and \end{prefacesection} = in which, by default,
>sections are all * type

>isn't Don's requirement catered for by the values = of tocdepth and
>secnumdepth, used judiciously? one can reset them = on the fly, yes?

Kind of. You get one tocdepth per document, the one in = affect
when \tableofcontents is executed. One _could_ exert = some effort
in writing \setcounter{tocdepth} commands to the toc, = but I'm not
inclined to bother. Setting secnumdepth to a negative = number for
the prefatory material, though is a very appealing = idea and
solves the problem quite nicely. I think I'm going to = change a
few sections of my LaTeX book once I finish this = note.

Incidentally, in keeping with established LaTeX usage, = I would
suggest that we have single commands to indicate the = beginning of
prefatory material and the beginning of the body a la = \appendix
and \ps (think about that one... the analagy seems to = be the best
way for my students to understand what \ps is about = when I teach
the LaTeX course).

-dh


------_=_NextPart_001_01C19443.3DF5ECA4--