homebrewery icon indicating copy to clipboard operation
homebrewery copied to clipboard

[FEATURE]: PageNumber Auto extension: Exclude tagged pages from count

Open DoctorDan1986 opened this issue 7 years ago • 10 comments

I like to make the first page a cover page for my own stylistic purposes. It also helps when exporting as a PDF. However, the pageNumber Auto feature naturally counts this first page as page 1, which throws off the auto count for what I want.

I was thinking that you might include a method to exclude certain pages from the output, something like a

<div class='pageNumber null'></div> or <div class='pageNumber skip'></div>

The effect I'm looking for is that any page with this class will have a page counter value of 0, so that if one, say, put this on the first page of the brew, and used the pageNumber Auto on page 2, it would exclude page 1 from the count and start the count at 1 on page 2.

Additional Details

Share Link :

or

Brew code to reproduce :

Click to expand

PASTE BREW CODE HERE

DoctorDan1986 avatar Oct 09 '17 14:10 DoctorDan1986