Page-range
I have a problem with the page-range of my style.
I have set the page-range-format to minimal, this way:
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" page-range-format="minimal" demote-non-dropping-particle="never" initialize-with-hyphen="true">
This does not work, my articles in the bibliograhpy are not quoted with the minimal page-range. I suppose that I made a mistake somewhere, but I don't know where. Do I need to put the page-range-format somewhere else than in cs:style?
Thank you in advance.
I have set the page-range-format to minimal, this way:
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" page-range-format="minimal" demote-non-dropping-particle="never" initialize-with-hyphen="true">
This does not work, my articles in the bibliograhpy are not quoted with the minimal page-range. I suppose that I made a mistake somewhere, but I don't know where. Do I need to put the page-range-format somewhere else than in cs:style?
Thank you in advance.
https://gist.github.com/anonymous/7a8c7b615d30e82b7c63#file-gistfile1-xml
I cannot find where I made the mistake.
- book chapter:
Bacon 1928 = R.£ Bacon, «De erroribus medicorum», in A.G.£ Little et E.£ Withington (éd.), Opera hactenus inedita Rogeri Baconis, vol. 9 (De retardatione accidentium senectutis, cum aliis opusculis de rebus medicinalibus), Oxford 1928, 150‑179.
- articles in a journal:
Bourgarit & Thomas 2012 = D.£ Bourgarit et N.£ Thomas, «Late Medieval Copper Alloying Practices: A View from a Parisian Workshop of the 14th Century AD», Journal of Archaeological Science, 39 n°10 (2012), 3052‑3070.
- or:
Kibre 1959 = P.£ Kibre, «Further Manuscripts Containing Alchemical Tracts Attributed to Albertus Magnus», Speculum, 34 n°2 (1959), 238‑247.
As for articles having the right numbers:
- article in a journal
Billanovitch 1959 = G.£ Billanovitch, «Dal Livio di Raterio (Laur. 63, 19) al Livio del Petrarca (B. M., Harl. 2493)», Italia medioevale e umanistica, 2 (1959), 103‑78.
- Anawati 1997 = G.C.£ Anawati, «L’alchimie arabe», in R.£ Rashed (éd.), Histoire des sciences arabes, III : Technologie, alchimie et sciences de la vie, Paris 1997, 111‑41.
Sorry for the inconvenience. I cannot figure the logic of the way some citations are correct or not.
Same results in the test pane?
http://www.zotero.org/support/dev/citation_styles/reference_test_pane
But I just have seen that, in the other styles, the same problem appear. For example, I have 213-231 in the Chicago style, and it should be 213-31. So maybe the problem is in my entries, or in Zotero on my computer (reinstall?).
I have tried to retype it, and it did not work. I have then tried with another dash, and it worked.
I use the French dash (i.e. the minus sign): -
But when I put a longer, the English one I mean, it works: –
Is that normal? Before today, I have always been using the shorter, and I think it was working (but maybe I am wrong).
Is there a way to make Zotero recognize the shorter dash? Is it in the configuration?
If not, is there a way to change all the entries automatically?
Thank you for your help.
When the locale of your Zotero or the style's default-locale is fr and you use a hyphen in the Zotero data, page-range-format doesn't work.
That shouldn't be the case: Both hyphen (-) and en dash (–) in the pages field in Zotero should work, no matter what the locale (they both work in the en locale, which is why I wasn't able to reproduce this).
fbennett will have to look at this. No need to try to fix this in the data.
What you can do, though, is to add the line
<term name="page-range-delimiter">–</term>
between lines 16 and 17 of your style. That fill fix it and display the page range with an en-dash. You can then use search&replace in the bibliography to fix it.
Alternatively you can use:
<term name="page-range-delimiter">-</term>
which will use a hyphen, which is what I assume you want. It won't be a non-breaking hyphen, though, which is technically what should be placed there, and it might work less well for search and replace.
To test with the fix, install the processor patch plugin (Zotero for Firefox only). The only effect of the plugin is to swap in the latest version of the CSL processor. The plugin should be disabled or removed after the next Zotero release.