I feel like I'm doing something slightly wrong but I can't put my finger on it. I'm happy to supply code/css examples, but mostly I'm looking for a way to approach this sort of problem. Here's what I need to achieve:
Note: It's for legal documents so there's limited amount I can change - in particular I HAVE to have the a,b,c section between the normal numbering sections, but not interrupting the count. ie. 1,2,3,d,e,f,7,8,9 is not possible.
Whenever set a section into named pages so I can set the counter, I get a blank page before it.
Following the suggestions on this forum, I can get sections without the blank page....
but this seems to mean I can't add the a,b,c, etc. Doing the following...
gives me the numbering, but also a page break before the section.
- Adding page: section2 *auto* doesn't seem to allow me any numbering changes.
Additionally, I need to style section 1, 2, and 4 differently.
Thoughts? Approaches?
Html grouping Desired numbering
<section.name1 1,2,3
<section.name2 a, b, c,
<section.name3 4, 5 6
<section 7, 8,... 27
<section.name4 d,e,f
<section 28, 29....
etc.
Note: It's for legal documents so there's limited amount I can change - in particular I HAVE to have the a,b,c section between the normal numbering sections, but not interrupting the count. ie. 1,2,3,d,e,f,7,8,9 is not possible.
Whenever set a section into named pages so I can set the counter, I get a blank page before it.
Following the suggestions on this forum, I can get sections without the blank page....
@page section:first { ... }
section {
page: section;
prince-page-group: start
}
but this seems to mean I can't add the a,b,c, etc. Doing the following...
@page section2 {
...
@bottom-right {
content: counter(page, lower-alpha)
}
}
section.section2 {
page: section2;
counter-reset: page 1;
}
gives me the numbering, but also a page break before the section.
- Adding page: section2 *auto* doesn't seem to allow me any numbering changes.
Additionally, I need to style section 1, 2, and 4 differently.
Thoughts? Approaches?