On 24 Sep, 12:12, Peter Flynn <
anglebrac...@gmail.com> wrote:
> On Fri, Sep 24, 2010 at 9:52 AM, r <
inp...@gmail.com> wrote:
>
> [...]
>
> > I copied the commands above into the preamble section of the root
> > document; thank you. The effect of this answer is to produce the
> > bibliography as a sub-section of a preceding appendix, which is not
> > wanted. The requirement is for this secondary bibliography to appear
> > as a chapter in the table of contents and also as a page style to
> > resemble the appearance of preceding appendices.
>
> There is a conflict here. Your code showed the bibliography as coming after
> the appendix heading amd indented so that it implied it was subsidiary to
> the appendix:
>
To clarify further, the root document contains:
...
\addcontentsline{toc}{chapter}{Bibliography}
\bibliographystyle{plainnat}
\bibliography{bibliography}
\appendix
...
> \chapter{heading}
> Some introductory text
> \nocitedi{*}
> \bibliographydi{bibliographyown}
>
> That is, the bibliography is a child of the appendix. This is normal:
> multiple bibliographies would not normally be at chapter level.
>
I want the secondary bibliography to appear as a chapter level, as
achieved with the main bibliography. Other appendices are formatted to
appear in the table of contents as a chapter level entry.
> Now you are saying you want the bibliography to be a chapter-level in the
> ToC, but you want it to look like an Appendix...but in your example above it
> was subsidiary to the appendix heading. You can't have it both ways; and
> having a chapter-style heading appear in mid-page would look very odd.
>
> You can make the ToC entry look like a chapter-level just by adding
> \addcontentsline{toc}{chapter}{*title text*}
> but to make a chapter layout appear in mid-page with no page-break would
> mean creating a private version of the \chapter command omitting the
> page-break code, which might look like this
> \newcommand\fakechapter{\@afterindentfalse\secdef\@chapter\@schapter}
> (untested as I'm away from base right now) and using \fakechapter in the
> redeinition of thebibliography.
>
So the preamble previously provided would become:
\makeatletter
\renewenvironment{thebibliography}[1]
\newcommand\fakechapter{\@afterindentfalse\secdef\@chapter\@schapter}
\makeatother