Chris, these approaches are separate:
Xara
- Use existing & repeating page numbering or Insert > Page number.
- Change the starting value on the first page to -8.
- Delete from the first eight pages.
JavaScript
- Create a Text blob - I used Bold Red "Page Number" as boilerplate; anything you fancy as it is replaced.
- Make Repeating Object.
- Delete from the first eight pages.
- Add Name, htmlclass="pageNo".
- Add Website Code (body):
<script>
$('.pageNo').each( function(page) {
$(this).text("Page " + (page + 1)); // Its starting number
});
</script>- Ensure some shape has the special Name, UsesJQuery.
CSS
- Create a Text blob - I used Bold Red " " (a space) as boilerplate.
- Make Repeating Object.
- Delete from the first eight pages.
- Add Name, htmlclass="pageNo".
- Add Website Code (head):
<style>
body {
/* Set "my-page-counter" to its pre-starting number */
counter-reset: my-page-counter 0;
}
.pageNo::before {
/* Increment "my-page-counter" by 1 */
content: " Page " counter(my-page-counter);
counter-increment: my-page-counter;
}
</style>
Do note the last two do not render directly into PDF, but I included then as they are, by far, more versatile than Xara.
Acorn
Bookmarks