commit f43034d8936f3b062f146d12ef30c9443f197807 parent 0db3cf98639c879109aeebbb6a825e240655ac12 Author: Julian Onions <julian.onions@gmail.com> Date: Thu, 29 Nov 2007 16:25:44 +0000 APA updated to use DOI's in preference to urls Diffstat:
| M | csl/apa.csl | | | 31 | +++++++++++++++++++------------ |
1 file changed, 19 insertions(+), 12 deletions(-)
diff --git a/csl/apa.csl b/csl/apa.csl @@ -50,18 +50,25 @@ </names> </macro> <macro name="access"> - <group> - <text term="retrieved" text-case="capitalize-first" suffix=" "/> - <date variable="accessed" suffix=", "> - <date-part name="month" suffix=" "/> - <date-part name="day" suffix=", "/> - <date-part name="year"/> - </date> - <group> - <text term="from" suffix=" "/> - <text variable="URL"/> - </group> - </group> + <choose> + <if variable="DOI"> + <text variable="DOI" prefix="doi: "/> + </if> + <else> + <group> + <text term="retrieved" text-case="capitalize-first" suffix=" "/> + <date variable="accessed" suffix=", "> + <date-part name="month" suffix=" "/> + <date-part name="day" suffix=", "/> + <date-part name="year"/> + </date> + <group> + <text term="from" suffix=" "/> + <text variable="URL"/> + </group> + </group> + </else> + </choose> </macro> <macro name="title"> <choose>