docbook / xslTNG

DocBook xslTNG Stylesheets
https://xsltng.docbook.org
MIT License
41 stars 20 forks source link

Error when Table width is exactly nominal page width #411

Closed frank-steimke closed 5 months ago

frank-steimke commented 9 months ago

Stylesheet version is 2.1.9. The template tp:cals-colspec in tablecals.xsl calculates the $absolute-remainder as the difference between the absolute table width and the $v:nominal-page-width and complains if it is less then or equal to zero.

So we see errors when the table width is exactly equal to the nominal page width, which is wrong. Please change the comparison from leto lt .

Kind regards, Frank

frank-steimke commented 5 months ago

Done with PR #454