Handle control on logical flow
The program should control that a sections is in the right place:
- {1}, {2}, {3}, {4}: correct
- {1}, {2}, {1}, {4}: not correct
For this we need to verify the validity of the produced table of content (- compare to headers and to the table of contents printed at the end of the volume).