Page numbering #182
-
I want the table of contents to list the page after it as the 2nd page, instead of the 8th page as it's doing right now. Any tips? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
Based on the screenshot here, that would mean the second page of the contents would be page 1? That would be very unconventional to start page numbering in the middle of the contents list. That said, if you want to do it, I think you could use the This is the CSS that's applied when you add .quire-page--page-one {
page: page-one;
counter-reset: page 1;
page-break-before: right;
} You could conceivably mark your contents page as .quire-page--page-one {
counter-reset: page 0;
page-break-before: left;
} At least I think that would do it. You'd need to test and maybe make some adjustments. |
Beta Was this translation helpful? Give feedback.
-
Does it work to tag the page after the contents, the page that is now page 8 and that you want to be page 2, with .quire-page--page-one {
counter-reset: page 2;
page-break-before: left;
} Or it might have to be |
Beta Was this translation helpful? Give feedback.
-
Since that's the cover, you wouldn't normally include it in a table of contents. So, I'd add (FWIW, the frontmatter of books are usually numbered in lowercase Roman numerals. The Arabic numeral 1 is then assigned to the first page of true "content" for the book. Usually the first chapter, or an Introduction. So, Quire handles things the same way, based on the placement of the |
Beta Was this translation helpful? Give feedback.
-
One last thing--I'm not sure why the page number on page 2 is not displaying, is this a custom.css issue? |
Beta Was this translation helpful? Give feedback.
Since that's the cover, you wouldn't normally include it in a table of contents. So, I'd add
toc: false
to the markdown file for it.(FWIW, the frontmatter of books are usually numbered in lowercase Roman numerals. The Arabic numeral 1 is then assigned to the first page of true "content" for the book. Usually the first chapter, or an Introduction. So, Quire handles things the same way, based on the placement of the
class: page-one
tag. For Quire, that tag means that this is page 1 (in Arabic numerals), and everything before it is frontmatter and so should be numbered in lowercase Roman.)