f4d2cee96cf23a3d59ea460dd8d718c595af308d
[acawiki-csl] / acawiki.csl
1 <?xml version="1.0" encoding="UTF-8"?>
2 <style xmlns="http://purl.org/net/xbiblio/csl" xml:lang="en" class="in-text" >
3   <info>
4     <title>AcaWiki Summary</title>
5     <id>http://projects.mako.cc/acawiki_csl</id>
6     <link href="http://projects.mako.cc/acawiki_csl"/>
7     <author>
8       <name>Benjamin Mako Hill</name>
9       <email>mako@atdot.cc</email>
10     </author>
11     <updated>2010-04-03T12:21:00-05:00</updated>
12     <summary>Output template for the AcaWiki project..</summary>
13   </info>
14   <macro name="editor">
15     <names variable="editor">
16       <label form="verb" text-case="lowercase" suffix=" "/>
17       <name and="text" delimiter=", "/>
18     </names>
19   </macro>
20   <macro name="series-editor">
21     <names variable="original-author">
22       <label form="short" text-case="capitalize-first" suffix=". "/>
23       <name and="text" delimiter=", "/>
24     </names>
25   </macro>
26   <macro name="anon">
27     <text term="anonymous" form="short" text-case="capitalize-first"/>
28   </macro>
29   <macro name="author">
30     <names variable="author">
31       <name delimiter=", " delimiter-precedes-last="always"/>
32       <label form="short" prefix=", " suffix="." text-case="lowercase"/>
33       <substitute>
34         <names variable="editor"/>
35         <names variable="translator"/>
36         <text macro="anon"/>
37       </substitute>
38     </names>
39   </macro>
40   <macro name="year-date">
41     <choose>
42       <if variable="issued">
43         <date variable="issued">
44           <date-part name="year"/>
45         </date>
46       </if>
47       <else>
48         <text term="no date" form="short"/>
49       </else>
50     </choose>
51   </macro>
52   <citation>
53     <layout>
54       <text value="NULL" />
55     </layout>
56   </citation>
57   <bibliography>
58     <layout prefix="{{Summary
59 " suffix="}}">
60       <group delimiter="
61 ">
62         <text variable="title" prefix="|title="/>
63         <text macro="author" prefix="|authors="/>
64             <text variable="container-title" prefix="|journal="/>
65             <text variable="volume" prefix="|journal_vol="/>
66             <text variable="URL" prefix="|url="/>
67         <text macro="year-date" prefix="|pub_date="/>
68             <!-- <text variable="ISSN" prefix="|issn="/> -->
69             <text variable="DOI" prefix="|doi="/>
70             <text value="|subject="/>
71             <text value="|tags="/>
72             <text value="|summary="/>
73       </group>
74     </layout>
75   </bibliography>
76 </style>

Benjamin Mako Hill || Want to submit a patch?