documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Clarify use of page-range-format for locator="page"

Open adam3smith opened this issue 10 years ago • 3 comments
trafficstars

page-range-format should not just apply for variable="page" but also for locator="page". See https://github.com/citation-style-language/styles/issues/1475 and previous xbiblio discussion: http://xbiblio-devel.2463403.n2.nabble.com/page-range-format-for-locators-tt7578609.html

adam3smith avatar Mar 25 '15 14:03 adam3smith

@fbennett is this a problem from the citeproc-js side or could you just implement it?

adam3smith avatar Jun 07 '15 22:06 adam3smith

Thanks for bumping this - it's been sitting for awhile, hasn't it. It should be possible to do. To confirm, would the following conditions be appropriate?

Collapse the locator field, only if:

  • The field contains only numbers separated by a hyphen or en-dash; and
  • The label on the locator is "page."

fbennett avatar Jun 07 '15 23:06 fbennett

that is right, yes.

adam3smith avatar Jun 07 '15 23:06 adam3smith