Open pchampin opened 2 years ago
Hi @pchampin, it should be super easy to add at: https://github.com/w3c/respec/blob/e693644fe4b36091a8d310d5b93d909b6a1b16da/src/core/render-biblio.js#L227
Would you mind sending a pull request? Otherwise I’ll try to add it next week.
I should manage... :) Will do, soonish.
Thank so much @pchampin 🙏. If it's not too much trouble, please add a simple test. You can probably just copy/paste or modify this one:
And either add "carroll-2003" to: https://github.com/w3c/respec/blob/e693644fe4b36091a8d310d5b93d909b6a1b16da/tests/spec/core/biblio-spec.js#L11
Or cite "[COMPUTABLE]", which has "pages": "230-265"
:
https://github.com/w3c/respec/blob/e693644fe4b36091a8d310d5b93d909b6a1b16da/tests/spec/core/biblio-spec.js#L48
Any issues, just ping!
Is your feature request related to a problem? Please describe. In my respec config, I have the following entry:
which is rendered like this:
Notice that the page number is not present.
Describe the solution you'd like
I would like the page number to be included in the reference entry, like this:
(NB; I could live with "p." instead of "pp.")
Describe alternatives you've considered
As a workaround, I include the page number in the
publisher
key, which is hacky.Can you or your organization fund the work or help with development?
I never contributed to Respec, but I guess I could try and help with this.