speedata / xts

XML typesetting system
BSD 3-Clause "New" or "Revised" License
6 stars 0 forks source link

XPath `current-page` and `page-number` #8

Closed pr-apes closed 1 year ago

pr-apes commented 1 year ago

@pgundlach,

sorry, but from https://doc.speedata.de/xts/manual/xpath/#layout-functions, the difference between current-page() and page-number() is not obvious.

My guess is that the first function returns the real page number and the second function might return the page label.

If https://doc.speedata.de/xts/manual/xpath/#layout-functions should include a namespace, it is wiser to type them in full form (sd:current-page() instead of current-page).

BTW, is there a public repo for the documentation source?

Many thanks for your help.

pgundlach commented 1 year ago

BTW, is there a public repo for the documentation source?

no, not yet. There are proprietary fonts used in the documentation. I'll remove them and create a repository. The documentation is based on mkdocs with material.

pgundlach commented 1 year ago

For the documentation: see https://github.com/speedata/xts-doc/discussions/1

pgundlach commented 1 year ago

I have updated the manual. Also see https://doc.speedata.de/publisher/en/cookbook/directories-marker/ which will eventually be included into the xts manual.