About page ranges, can it be no range?
My page field normally has the page range like following
123-126
In the citation, I just want show the starting page, i.e.
123
but not as described in CSL 1.0,
123-126
123-6
123-26
How can I write the CSL 1.0 style?
Thanks!
123-126
In the citation, I just want show the starting page, i.e.
123
but not as described in CSL 1.0,
123-126
123-6
123-26
How can I write the CSL 1.0 style?
Thanks!
This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
Upgrade Storage
<group delimiter=" ">
<!-- TODO: Change to page-first when Zotero supports it -->
<text variable="page-first" form="short"/>
</group>
BTW, is there any way to support italic and bold in citation generator?
Where exactly do you want to use italics or bold?
In CSL code I believe it's still font-style="italic" or font-weight="bold"
as part of a title or suffix you can use <b> </b> or <i></i> tags which the 2.1 csl processor will convert into rich text.
edit - corrected above to reflect the edit.
<group delimiter=" ">If the page-first text node is the only item inside the group, it would make sense to remove the group wrapper to keep things simple.< -- TODO: Change to page-first when Zotero supports it -->
<text variable="page-first" form="short"/>
</group>
[Edit: I can confirm that the group wrapper is the cause of the problem. Remove the wrapper, and the page number will render okay. The failure with the group wrapper in place is a bug, but in the short term, tidying up the style code will bring things right.]