zhaoterryy / mkdocs-pdf-export-plugin

An MkDocs plugin to export content pages as PDF files
MIT License
313 stars 44 forks source link

Page number restarts #60

Open avarone-github opened 4 years ago

avarone-github commented 4 years ago

When combined option is set to true and page number is printed somewhere, page number restarts from 1 on every first page of a topic.

For example, if I have chapter_one.md file generating 3 pages and, next in navigation order, chapter_two.md generating 2 pages, printed page number will be:

PDF page:Printed page number:
11
22
33
41
52
devwithzachary commented 4 years ago

I am having the same issue when using

@page { @bottom-right { content: 'Page ' counter(__pgnum__); font-size: 9pt; } }

dl1com commented 4 years ago

Same here (version 0.5.5)