Hi Mike
The CSS looks like this:
/* this sets the chapter number */
article > .topictitle1:before {
counter-reset: section_level1;
content: counter(section_level1) " ";
}
article > .topictitle1 {
counter-increment: section_level1;
counter-reset: section_level2;
}
/* section numbering */
.topictitle2::before {
counter-increment: section_level2;
content: counter(section_level1) counter(section_level2, upper-alpha) " ";
}
.topictitle2 {
counter-reset: section_level3;
}
.topictitle3::before {
counter-increment: section_level3;
content: counter(section_level1) counter(section_level2, upper-alpha) counter(section_level3) " ";
}
.topictitle3 {
counter-reset: section_level4;
}
.topictitle4::before {
counter-increment: section_level4;
content: counter(section_level1) counter(section_level2, upper-alpha) counter(section_level3) counter(section_level4, upper-alpha) " ";
}
.topictitle4 {
counter-reset: section_level5;
}
Each section should include the chapter number as a prefix, e.g. '1A', as well as the preceding section number on lower levels, e.g. '1A1'. The introduction section, should not have a chapter number or section number.
The attached PDF shows what I have achieved so far.
I have found the section on named pages in your user guide, so I will have a look at that tomorrow. If you have an example to hand, that would be great.
Many thanks
Matt
- section_numbering_test.pdf 19.7 kB