Is it a way to create a document in such a way that the numbering of the sections is independent of that of the chapters?
e.g.:
Chapter 1 section 1 section 2 Chapter 2 section 3 section 4 section 5 Chapter 3 section 6 section 7
Is it a way to create a document in such a way that the numbering of the sections is independent of that of the chapters?
e.g.:
Chapter 1 section 1 section 2 Chapter 2 section 3 section 4 section 5 Chapter 3 section 6 section 7
\documentclass{book}
\usepackage{remreset}
\makeatletter
\@removefromreset{section}{chapter}
\makeatother
\renewcommand{\thesection}{\arabic{section}}
\begin{document}
\tableofcontents
\chapter{First}
\section{First}
\section{Second}
\section{Third}
\chapter{Second}
\section{Fourth}
\section{Fifth}
\section{Sixth}
\end{document}

\makeatletter @removefromreset{section}{chapter} \makeatother` will prevent the automatic resetting of section counters if the chapter number is increased.
– Oct 19 '14 at 17:00\usepackage{chngcntr}\counterwithout{section}{chapter}. – lockstep Oct 19 '14 at 17:01remreset, sections will still feature the chapter prefix. – lockstep Oct 19 '14 at 17:04