Using locators within a legal case (or case)
Let's say that I want to refer to a specific paragraph in a ruling by a judge (common pratice).
In my CSL I have this code:
Now, the reference to the locator must be right after the document number, according to the style. So, I added a line:
But that doesn't work out. What went wrong?
In my CSL I have this code:
<macro name="is-legal-case">
<group suffix=".">
<text variable="authority" suffix=" "/>
<text macro="date-legal-case" suffix=", "/>
<text variable="number"/>
<choose>
<if variable="volume container-title" match="all">
<text variable="container-title" prefix=", " suffix=", "/>
<text variable="volume"/>
</if>
</choose>
<text variable="title" prefix=" (" suffix=")" font-style="italic"/>
</group>
</macro>
Now, the reference to the locator must be right after the document number, according to the style. So, I added a line:
<macro name="is-legal-case">
<group suffix=".">
<text variable="authority" suffix=" "/>
<text macro="date-legal-case" suffix=", "/>
<text variable="number"/>
<text variable="paragraph" prefix=" "/>
<choose>
<if variable="volume container-title" match="all">
<text variable="container-title" prefix=", " suffix=", "/>
<text variable="volume"/>
</if>
</choose>
<text variable="title" prefix=" (" suffix=")" font-style="italic"/>
</group>
</macro>
But that doesn't work out. What went wrong?
It's
<text variable="locator"/>
If you only want this for paragraphs you can test for something like
<if locator="paragraph">