Style request: Vancouver with page numbers
I was looking for a Vancouver style that would allow page numbers in the in-text reference e.g. (3[p.117]) but couldn't find one. So I put this together, and I thought I'd share it.
I'm not sure of the preferred way of posting styles on this forum, so I put it here: http://pastebin.com/iJzdkqNg
Here's a diff from the standard vancouver.csl: http://pastebin.com/WD6PghSF
Hope it's useful to someone!
I'm not sure of the preferred way of posting styles on this forum, so I put it here: http://pastebin.com/iJzdkqNg
Here's a diff from the standard vancouver.csl: http://pastebin.com/WD6PghSF
Hope it's useful to someone!
Would anybody have an idea what would need to be changed in this specific .csl to change (3,[p.117]) to (3:117)?
<layout prefix="(" suffix=")" delimiter=":">
<text variable="citation-number"/>
<text variable="locator"/>
</layout>
(3[p.740])
into
(3740)
and
(19,20) [which are actually two references]
into
(19:20)
<layout prefix="(" suffix=")" delimiter=",">
<group delimiter=":">
<text variable="citation-number"/>
<text variable="locator"/>
</group>
</layout>
Thank you! :-)
<?xml version="1.0" encoding="utf-8"?>