Received: by nummer-3.proteosys id <01C19443.402E6A04@nummer-3.proteosys>; Thu, 3 Jan 2002 11:41:50 +0100 MIME-Version: 1.0 x-vm-v5-data: ([nil nil nil nil nil nil nil t nil][nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil]) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C19443.402E6A04" X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message Subject: \chapter complications Date: Mon, 8 Apr 1991 19:46:30 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Michael Downes" Sender: "LaTeX-L Mailing list" To: "Rainer M. Schoepf" Reply-To: "LaTeX-L Mailing list" Status: R X-Status: X-Keywords: X-UID: 314 This is a multi-part message in MIME format. ------_=_NextPart_001_01C19443.402E6A04 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am currently working on a documentstyle with a slightly weird design. It's for a book consisting of chapters by various authors; the chapters are collected from various sources, and may be previously published, or given as a talk at some conference but not previously published, or written specifically for the current book. I am wondering about questions such as the following. ---Structure of a chapter: Make it exactly like a journal article? \title{Chapter title} \author{Chapter author} \affiliation{Author's university or institution} \maketitle Or use \chapter instead of \title? Each chapter is numbered with a big chapter number, which wouldn't normally be the case in, say, a conference proceedings volume. Maybe it's only a question of semantics; but if the publisher wants to call them chapters, my first choice is to use the \chapter command, to avoid confusing end users and the publisher's staff. However, this immediately raises another difficulty: \chapter does not normally have an associated \maketitle command, but the format of the author names and affiliations is such that typesetting each one as it comes along, and getting it in the right place, would be technically difficult. So I am leaning to the format \chapter{Chapter title} \author{Chapter author} \affiliation{Author's university or institution} \makechaptertitle But this is a little out of synch with the LaTeX manual. ---Processing each article separately or processing them together using \include. The main benefits of processing them together seem to be (a) less chance of error in the page numbering and (b) cross-references between chapters---but this is unlikely to be applicable for independent articles. The main drawback of processing articles by different authors together is the possibility of a global change in one article affecting subsequent articles in undesirable ways. Local changes can of course be limited to the original article by enclosing it in a group. In AMS journals we have experimented with processing all the articles of an issue together, and encountered undesirable global changes, as well as save stack overflow from the extra level of grouping, often enough that eventually we went to separate processing, with the sequence of articles controlled in a VAX/VMS DCL command procedure, and with the page number being passed from one article to the next using \write and \read. ---There is also a possibility in any given volume that certain commands might be required both within a chapter and at the outer level: \tableofcontents, \bibliography, \appendix. Something of course can be managed, but does anyone have previous experience and/or suggestions on how the user interface ought to look? Should I provide \tableofcontents and \chaptertableofcontents, \bibliography and \chapterbibliography, etc.? Or how about putting commands such as \frontmatter, \middlematter, \backmatter in the driver file that would change the effect of \tableofcontents, \bibliography, and \appendix commands? I.e., \documentstyle{X} \begin{document} % front matter beginning here \tableofcontents \include{preface} % containing \chapter{Preface} \include{notation} % containing \chapter{List of Notation} \middlematter \include{chapter1} % normal chapters, maybe containing \include{chapter2} % their own \tableofcontents, \appendix, \include{chapter3} % or \bibliography commands. ... \backmatter \appendix % switch to appendix format \include{app1} % \chapter{Appendix title} \include{app2} \include{biblio} % \bibliography \include{index} % \begin{theindex}...\end{theindex} \end{document} ---On another tangent, the way the \appendix command works has always seemed slightly odd to me. It would seem more natural to make \appendix a direct substitute for \section (in an article documentstyle) or \chapter (in a book documentstyle). Maybe in LaTeX 3.0, with its attribute handling, we'll be able to say something like \section[variant=3Dappendix]{...} ? The chief difficulty seems to be resetting the counter to 1, for the first such command, and incrementing it naturally thereafter. Other changes would be straightforward. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Michael Downes mjd@math.ams.com (Internet) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D ------- ------_=_NextPart_001_01C19443.402E6A04 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable \chapter complications

I am currently working on a documentstyle with a = slightly weird design.
It's for a book consisting of chapters by various = authors; the chapters
are collected from various sources, and may be = previously published, or
given as a talk at some conference but not previously = published, or
written specifically for the current book. I am = wondering about
questions such as the following.

---Structure of a chapter: Make it exactly like a = journal article?

  \title{Chapter title}
  \author{Chapter author}
  \affiliation{Author's university or = institution}
  \maketitle

Or use \chapter instead of \title?  Each chapter = is numbered with a big
chapter number, which wouldn't normally be the case = in, say, a
conference proceedings volume.

Maybe it's only a question of semantics; but if the = publisher wants to
call them chapters, my first choice is to use the = \chapter command, to
avoid confusing end users and the publisher's = staff.

However, this immediately raises another difficulty: = \chapter
does not normally have an associated \maketitle = command, but the format
of the author names and affiliations is such that = typesetting
each one as it comes along, and getting it in the = right place,
would be technically difficult. So I am leaning to = the format

  \chapter{Chapter title}
  \author{Chapter author}
  \affiliation{Author's university or = institution}
  \makechaptertitle

But this is a little out of synch with the LaTeX = manual.

---Processing each article separately or processing = them together using
\include. The main benefits of processing them = together seem to be (a)
less chance of error in the page numbering and (b) = cross-references
between chapters---but this is unlikely to be = applicable for
independent articles.  The main drawback of = processing articles by
different authors together is the possibility of a = global change in one
article affecting subsequent articles in undesirable = ways. Local
changes can of course be limited to the original = article by enclosing
it in a group. In AMS journals we have experimented = with processing
all the articles of an issue together, and = encountered undesirable
global changes, as well as save stack overflow from = the extra
level of grouping, often enough that eventually we = went to separate
processing, with the sequence of articles controlled = in a VAX/VMS DCL
command procedure, and with the page number being = passed from one
article to the next using \write and \read.

---There is also a possibility in any given volume = that certain commands
might be required both within a chapter and at the = outer level:
\tableofcontents, \bibliography, \appendix. Something = of course
can be managed, but does anyone have previous = experience and/or
suggestions on how the user interface ought to look? = Should I
provide \tableofcontents and = \chaptertableofcontents,
\bibliography and \chapterbibliography, etc.? Or how = about
putting commands such as \frontmatter, \middlematter, = \backmatter
in the driver file that would change the effect of = \tableofcontents,
\bibliography, and \appendix commands? I.e.,

       = \documentstyle{X}

       = \begin{document}
       % front matter = beginning here
       = \tableofcontents
       = \include{preface} % containing \chapter{Preface}
       = \include{notation} % containing \chapter{List of Notation}

       = \middlematter
       = \include{chapter1} % normal chapters, maybe containing
       = \include{chapter2} % their own \tableofcontents, \appendix,
       = \include{chapter3} % or \bibliography commands.
       ...

       = \backmatter
       \appendix % = switch to appendix format
       \include{app1} % = \chapter{Appendix title}
       = \include{app2}

       \include{biblio} = % \bibliography
       \include{index} = % \begin{theindex}...\end{theindex}

       = \end{document}


---On another tangent, the way the \appendix command = works has always
seemed slightly odd to me. It would seem more natural = to make \appendix
a direct substitute for \section (in an article = documentstyle) or
\chapter (in a book documentstyle). Maybe in LaTeX = 3.0, with its
attribute handling, we'll be able to say something = like

  \section[variant=3Dappendix]{...}

?

The chief difficulty seems to be resetting the counter = to 1, for the
first such command, and incrementing it naturally = thereafter. Other
changes would be straightforward.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D
Michael Downes
mjd@math.ams.com (Internet)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D
-------

------_=_NextPart_001_01C19443.402E6A04--