Forum Bugs

Page number not incrementing in Ubuntu version but working in Alpine

davidcore
Hi there,

Development:
OS: Linux 4.9.93-linuxkit-aufs Alpine 6.4.0.
PrinceXML: prince_12-1_debian8.10_amd64.deb

Production:
OS: Linux 4.4.0-121-generic x86_64 Ubuntu 16.04.4 LTS
PrinceXML: prince_12-1_ubuntu16.04_amd64.deb

Prince works as expected in my development environment but in production it fails to increment the page number. It repeatedly displays "1" for the page number on every page. Everything else works perfectly.

Since it works in the Debian version but not in the Ubuntu version I'm beginning to think this must be a bug.

Any help would be much appreciated. Thanks.
mikeday
That sounds very strange, are you applying different style sheets?
davidcore
The HTML and stylesheets are exactly the same. The only difference is the version of PrinceXML.

The document has a table of contents and uses the
"content: leader('.') target-counter(attr(href), page)"
to display the page number a particular element is on and it works on both versions of Prince. In the Ubuntu version when you click on an entry in the table of contents that says it's on page 24 it will go to page 24 but the page number on the top right says you're on page "1".

Edited by davidcore

mikeday
Would you be able to email me (mikeday@yeslogic.com) the HTML and CSS?