(Apologies for pasting this huge chunk of code, but since I can't pin point where the problem lies, I thought it best to show you the whole thing)
This code (which is very much a work-in-progress) seems to generate empty pages before and after my chapters.
Case in point, from the top, we have a "Preamble", followed by an "Introduction", followed by a blank page and the first chapter. The first chapter should appear where the first blank page pops up though.
The same situation occurs later, between the end of Chapter 1 and the beginning of Chapter 2: indeed, here again, there's a blank page where Chapter 2 should be. And a final blank-page appears after Chapter 2.
I also noticed that "List of Tables" keeps appearing in the headers above the "Preamble", "Introduction" and first blank-page pages. I mention this here as I have a feeling that it's all related to the same issue: my code seems to not obeying my \clearpage commands to start afresh.
Could the issues I describe above be helped by segmenting my document and start using the \include command to call-in individual latex files, for each chapter, etc.?
Any help (and explanation) would be much welcome.
Thank you for your time.
- Alex
Code: Select all
% PREAMBLE\documentclass{book}\usepackage[T1]{fontenc}\usepackage[latin9]{inputenc}\usepackage{geometry}\usepackage[english]{babel}\usepackage{tocloft}\usepackage[nottoc]{tocbibind}\usepackage{hyperref}\usepackage{geometry}\usepackage{multicol}\usepackage{babel}\usepackage{graphicx}\graphicspath{ {h:/} }\usepackage{enumitem}\usepackage{marginnote}\usepackage[document]{ragged2e}\usepackage{eso-pic}\usepackage{ifthen}\usepackage{tikz}\usepackage{color}%\usepackage{showframe}\usepackage{blindtext}\usepackage{lipsum}\setlength{\columnsep}{8mm}%Table of Content depth\geometry{verbose}\setcounter{secnumdepth}{3}\setcounter{tocdepth}{5}\setlength{\parindent}{0pt}%Hyperlinks for TOC\makeatletter\hypersetup{colorlinks,citecolor=black,filecolor=black,linkcolor=black,