|
Hello,
We maintain each chapter in its own file (1.adoc, 2.adoc) and we render them separately (we don't use a main file that includes them).
When we render each chapter on its own, we'd like the sections to be numbered according to that chapter. If we render 2.adoc, we'd like the sections to be numbered as: 2.1, 2,2, 2.3, ...
Setting the :sectnums: on the 2.adoc document makes the sections numbered as: 1, 2, 3
Is there a way to set the chapter number in individual documents and make the sections numbered according to it?
|