LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Mime-Version: 1.0
Sender: Mailing list for the LaTeX3 project <[log in to unmask]>
From: Arik Raffael Funke <[log in to unmask]>
Date: Fri, 16 Jun 2006 14:18:10 +0200
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Reply-To: Mailing list for the LaTeX3 project <[log in to unmask]>
Parts/Attachments: text/plain (18 lines)
Hello all,

I am working on quite a large document and the content is getting quite
long and it becomes difficult find things quickly. I have thus
introduced an "artificial" structure layer by adding following to the code:

\addtocontents{toc}{\contentsline {chapter}{\centerline{SECTION 1}}{}}

Unfortunately this line in the content listing is classified as a
chapter and a page break to the following chapter will occur. I have
found no way to prevent this. Adding \nopagebreak, \newpage etc. to the
toc file just resulted in errors.

How is this done properly?

Cheers,
Arik

ATOM RSS1 RSS2