Questions tagged [pagedjs]
13 questions
3
votes
1 answer
Loading external css-files does not work in Puppeteer
I am using pagedjs to create PDFs, which uses puppeteer.
I try to load a page and I am getting the following exception:
Error: Evaluation failed: ProgressEvent
at ExecutionContext._ExecutionContext_evaluate…

Martin-Mueller
- 141
- 1
- 10
2
votes
1 answer
Chartjs chart broke when using Pagedjs
I am using Chartjs & Paged.js to print pages.
everything is fine until I found if I write these code
let flow = paged.preview().then((flow) => {
console.log("Rendered", flow.total, "pages.");
});
charts disappear.
are these two package not…

May W.
- 169
- 1
- 14
2
votes
1 answer
Paged.js: How can I set up an additional page counter for only a few pages
I need to display the pages of my document on the first few pages in roman numerals. From a specific page on I have to use decimals starting at 1 again.
For example the TOC, list of figures, preamble should have roman numerals. For all other pages I…

NCC-2909-M
- 709
- 1
- 7
- 15
1
vote
1 answer
Generate a seperate footer in last page using paged.js
I'm trying to generate a seperate footer for the last page using paged.js. The total number of pages is dynamic.
I already tried named page method but couldn't succeed because it generated extra empty page at the last although it gave the correct…

Chanaka NZ
- 127
- 1
- 8
0
votes
1 answer
How to make pagedjs cross reference work in vitepress?
I referenced the pagedjs doc: https://pagedjs.org/documentation/-cross-references/, it says that cross reference can be made by css's target-text. However when I tried it in vitepress, it doesn't work.
The css has already applied to the link,…

Jeff Tian
- 5,210
- 3
- 51
- 71
0
votes
0 answers
Determine which page a certain element is on?
I'm currently using paged.js to create a printable version of blogs that I have in HTML format. I'd like to create a Table of Contents so that when it's printed out, people can tell which page each chapter starts on. Basically, I make a placeholder…
0
votes
0 answers
PagedJS aligning text on all pages to the same baseline grid
This post is specifically about Paged.js and paged media. I downloaded the Paged JS book_avanced-interface template that simulates pages on your screen to help during the creation of a web to print book. I filled it with written text and added…

delyodobrev
- 35
- 2
- 6
0
votes
0 answers
Is tippy.js compatible with paged.js?
I am using paged.js via the pagedown R package and am trying to incorporate the tippy.js library. However the tooltips are not showing up. It was recommended by one of the pagedown package maintainers to find out if these two libraries are…

mosk915
- 696
- 1
- 7
- 16
0
votes
1 answer
0
votes
1 answer
Paged.js How to count named page's total pages?
Current Issue is that I need to know the named page's total pages.
Example like this:

GoldDigger
- 53
- 7
0
votes
0 answers
Uncaught (in promise) Error: item doesn't belong to list paged.polyfill.js error
I'm using PagedJS to add footers and headers to the html templates that we convert to PDF in our website. The code's been working fine for a week until this morning when this error keeps popping up.
Console Error
This is my code: