Add Edition field to MLA styles

This commit is contained in:
Dan Stillman 2008-08-14 19:49:19 +00:00
parent c74817db9b
commit 03c08c781d
2 changed files with 28 additions and 0 deletions

View File

@ -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>

View File

@ -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>