www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 8ef3f4197e59a4d2f86f481459006b12837b4196
parent 102d74bb145f7c1ddba81166cd6636afe8faaa3b
Author: Dan Stillman <dstillman@zotero.org>
Date:   Thu, 14 Aug 2008 19:49:19 +0000

Add Edition field to MLA styles


Diffstat:
Mcsl/mla-underline.csl | 14++++++++++++++
Mcsl/mla.csl | 14++++++++++++++
2 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/csl/mla-underline.csl b/csl/mla-underline.csl @@ -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> diff --git a/csl/mla.csl b/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>