We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there any way to insert page references so that the page number is given? e.g.
<a id="foo"> ... blah blah blah some pages later ... See <page-number ref="foo" />.
So it will replace <page-number ref="#foo" /> with the page number that <a id="foo"> is on.
<page-number ref="#foo" />
<a id="foo">
The text was updated successfully, but these errors were encountered:
So according to http://alistapart.com/article/boom , the way to do this is:
a.pageref::after { content: " on page " target-counter(attr(href), page) }
target-counter is from http://www.w3.org/TR/css-gcpm-3/ ; for WeasyPrint support of GCPM, see #216
So: The answer seems to be "no", unless someone goes and works on the code.
Sorry, something went wrong.
target-counter() is discussed here: #23
target-counter()
@trans can we close this issue as a duplicate of #23?
No branches or pull requests
Is there any way to insert page references so that the page number is given? e.g.
So it will replace
<page-number ref="#foo" />
with the page number that<a id="foo">
is on.The text was updated successfully, but these errors were encountered: