style design: where is "last-page"
Hi,
I'm trying to design a style. There is an argument "page-first" and "pages", but I'm looking for "page-last", for exemple If I tried to get pages as 10:15… How could I proceed, either changing "-" to ":" or pliting 10 and 15 in order to be free to use wichever symbol be them?
I'm trying to design a style. There is an argument "page-first" and "pages", but I'm looking for "page-last", for exemple If I tried to get pages as 10:15… How could I proceed, either changing "-" to ":" or pliting 10 and 15 in order to be free to use wichever symbol be them?
You can set the page-range-delimiter in CSL, see e.g. https://github.com/citation-style-language/styles/blob/master/american-medical-association.csl#L29 for an example.
If you have any choice in this, though, using a colon as a page-range-delimiter is a bad idea in a citation style. It'll invariably be read as "volume 10, page 15" because the colon is used commonly as a delimiter between volume and page number and never (in the >1000 different styles we have) between pages.
<locale xml:lang="en">
<terms>
<term name="page-range-delimiter">:</term>
</terms>
</locale>
See for an example:
https://github.com/citation-style-language/styles/blob/master/american-medical-association-alphabetical.csl#L23
https://github.com/Juris-M/propachi-vanilla/releases
If it fixes the issue, you can uninstall the plugin the next time Zotero updates.
Anyway, it's not local, it does also triple in the only tool to design styles…
https://github.com/Juris-M/propachi-vanilla/releases/download/v1.1.112/propachi-vanilla-v1.1.112-fx.xpi
Not sure what you mean by "the only tool to design styles..."
I downloaded the file, but I could not install it
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIAppShellService.hiddenDOMWindow]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://zotero/content/xpcom/zotero.js :: this.init< :: line 219" data: no]
this.init<@chrome://zotero/content/xpcom/zotero.js:219:13
From previous event:
ZoteroService@file:///Applications/Zotero.app/Contents/Resources/components/zotero-service.js:346:4
installProcessor<@resource://gre/modules/addons/XPIProvider.jsm -> file:///Users/benjamin/Library/Application%20Support/Zotero/Profiles/07uisjty.default/extensions/propachi-vanilla@juris-m.github.io/bootstrap.js:47:14
observe@resource://gre/modules/addons/XPIProvider.jsm -> file:///Users/benjamin/Library/Application%20Support/Zotero/Profiles/07uisjty.default/extensions/propachi-vanilla@juris-m.github.io/bootstrap.js:102:9
setDefaultPrefs@resource://gre/modules/addons/XPIProvider.jsm -> file:///Users/benjamin/Library/Application%20Support/Zotero/Profiles/07uisjty.default/extensions/propachi-vanilla@juris-m.github.io/bootstrap.js:34:9
startup@resource://gre/modules/addons/XPIProvider.jsm -> file:///Users/benjamin/Library/Application%20Support/Zotero/Profiles/07uisjty.default/extensions/propachi-vanilla@juris-m.github.io/bootstrap.js:114:5
callBootstrapMethod@resource://gre/modules/addons/XPIProvider.jsm:4982:11
startup@resource://gre/modules/addons/XPIProvider.jsm:2881:13
callProvider@resource://gre/modules/AddonManager.jsm:272:12
_startProvider@resource://gre/modules/AddonManager.jsm:759:5
startup@resource://gre/modules/AddonManager.jsm:941:9
startup@resource://gre/modules/AddonManager.jsm:3145:5
observe@resource://gre/components/addonManager.js:65:9