Page LayoutStrange blank page after one chapter title

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
fatdugong
Posts: 2
Joined: Sun May 22, 2011 10:44 am

Strange blank page after one chapter title

Post by fatdugong »

Hi everybody,

I've got an odd problem with my thesis writing. I declare six chapters in my document and input external files for each of them. Everything works well for all the chapters except one, for which TeX strangely blanks the page after the title. The main file looks like this:

Code: Select all

(...)
\chapter{Introduction}
\label{chap:intro}
\input{Chapter1}

\chapter{XXXX}
\label{chap:xxxx}
\input{Chapter2}

\chapter{YYYYYY}
\label{chap:yyyy}
\input{Chapter3}

\chapter{ZZZZZZ}
\label{chap:zzzz}
\input{Chapter4}

\chapter{AAAAAAAA}
\label{chap:aaaa}
\input{Chapter5}

\chapter{HERE THE PROBLEM HAPPENS}
\label{chap:synthesis}
\include{Chapter6}

\chapter*{Publications}
\phantomsection
\addcontentsline{toc}{chapter}{Publications}
(...)
The input file directly starts with a short text, no newline, nothing:

Code: Select all

This thesis represents an avant-garde appraisal of the use of aaa and bbbb.
(...)

I cannot paste the whole code, and doing a minimal bug demo would be bothersome and tough, so I was just wondering if anybody could think of something causing such behavior?

Thanks a lot in advance.

Best regards,
Chris
Last edited by fatdugong on Sun Jun 12, 2011 5:15 pm, edited 2 times in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10330
Joined: Mon Mar 10, 2008 9:44 pm

Re: Strange blank page after one chapter title

Post by Stefan Kottwitz »

Hi Chris,

\include is responsible for the page break, use \input instead, if you would like to have the \chapter commands in the main document.
However, common practice is using \include and \chapter inside of the included file.

Stefan
LaTeX.org admin
fatdugong
Posts: 2
Joined: Sun May 22, 2011 10:44 am

Re: Strange blank page after one chapter title

Post by fatdugong »

Hi Stefan,

Thanks a lot for noticing! That's really a stupid mistake :o

Cheers,
Chris
Post Reply