I want to make a note (for internal use only) while I am reading a book. For the sake of convenience, I want to put a note about the current topic I am reading on the first page of the PDF output to avoid pressing the END button to go the last page. I am sorry. I am a bit lazy to make use of a separate file for sectioning. It is my real scenario. Therefore, the heading structure must be reversed as follows.
\documentclass{book}
\usepackage{tipa}
\begin{document}
\chapter{Book Printing versus Ordinary Typing}
% end of chapter 1
\ldots
\section{Pronounction of \TeX}
\TeX\ is often pronounced \textipa{/\textprimstress t\textepsilon k/} in English.
\section{Root of the name \TeX}
\TeX\ is the upper case of $\tau\epsilon\chi$ which is a Greek word that means art as well as technology.
\chapter{The Name of the Game}
\end{document}
Having completed the book, I want to reverse the heading structure to the normal order. But doing this by hand seems to be tedious and cumbersome.
Shortly speaking, is it possible for LaTeX to read the heading structure in reverse direction? I mean I want LaTeX to read the above code as if it is written as follows.
\documentclass{book}
\usepackage{tipa}
\begin{document}
\chapter{The Name of the Game}
\section{Root of the name \TeX}
\TeX\ is the upper case of $\tau\epsilon\chi$ which is a Greek word that means art as well as technology.
\section{Pronounction of \TeX}
\TeX\ is often pronounced \textipa{/\textprimstress t\textepsilon k/} in English.
\ldots
% end of chapter 1
\chapter{Book Printing versus Ordinary Typing}
\end{document}
Edit:
I think the most convenient marks I can adopt are as follows.
% begin
\section{Root of the name \TeX}
\TeX\ is the upper case of $\tau\epsilon\chi$ which is a Greek word that means art as well as technology.
% end

\verb|\LaTeX|in my note. The adopted markups to delimit each section are% begin ... % end. – kiss my armpit Mar 24 '13 at 20:45