Add Edition field to MLA styles
This commit is contained in:
parent
c74817db9b
commit
03c08c781d
|
@ -71,6 +71,19 @@
|
|||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="edition">
|
||||
<choose>
|
||||
<if is-numeric="edition">
|
||||
<group delimiter=" ">
|
||||
<number variable="edition" form="ordinal"/>
|
||||
<text term="edition" form="short" suffix="."/>
|
||||
</group>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="edition"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="publisher-year">
|
||||
<group delimiter=", ">
|
||||
<group delimiter=": ">
|
||||
|
@ -123,6 +136,7 @@
|
|||
<text macro="title" prefix=" " suffix="."/>
|
||||
<choose>
|
||||
<if type="book">
|
||||
<text macro="edition" prefix=" " suffix="."/>
|
||||
<text macro="editor-translator" prefix=" " suffix="."/>
|
||||
<text macro="publisher-year" prefix=" " suffix="."/>
|
||||
</if>
|
||||
|
|
14
csl/mla.csl
14
csl/mla.csl
|
@ -74,6 +74,19 @@
|
|||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="edition">
|
||||
<choose>
|
||||
<if is-numeric="edition">
|
||||
<group delimiter=" ">
|
||||
<number variable="edition" form="ordinal"/>
|
||||
<text term="edition" form="short" suffix="."/>
|
||||
</group>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="edition"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="publisher-year">
|
||||
<group delimiter=", ">
|
||||
<group delimiter=": ">
|
||||
|
@ -126,6 +139,7 @@
|
|||
<text macro="title" prefix=" " suffix="."/>
|
||||
<choose>
|
||||
<if type="book">
|
||||
<text macro="edition" prefix=" " suffix="."/>
|
||||
<text macro="editor-translator" prefix=" " suffix="."/>
|
||||
<text macro="publisher-year" prefix=" " suffix="."/>
|
||||
</if>
|
||||
|
|
Loading…
Reference in New Issue
Block a user