File: bugreports_UnisaHarvardInitialization.txt

package info (click to toggle)
haskell-citeproc 0.8.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,452 kB
  • sloc: xml: 30,637; haskell: 6,659; makefile: 3
file content (85 lines) | stat: -rw-r--r-- 1,741 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
The test results include a trailing space, which we delete.

>>===== MODE =====>>
bibliography
<<===== MODE =====<<



>>===== RESULT =====>>
<div class="csl-bib-body">
  <div class="csl-entry">Doe, JQ n.d.,</div>
</div>
<<===== RESULT =====<<


Macros are from a private style "unisa-harvard", forwarded by a user.

>>===== CSL =====>>
<style 
      xmlns="http://purl.org/net/xbiblio/csl"
      class="in-text"
      version="1.0">
  <info>
    <id />
    <title />
    <updated>2009-08-10T04:49:00+09:00</updated>
  </info>
  <macro name="author">
     <names variable="author">
        <name name-as-sort-order="all" and="symbol" sort-separator=", " initialize-with="" delimiter=", " delimiter-precedes-last="never"/>
        <label form="short" prefix=" (" suffix=")" strip-periods="true"/>
        <substitute>
           <names variable="editor"/>
        </substitute>
     </names>
  </macro>
  <macro name="year-date">
     <choose>
        <if variable="issued">
           <date variable="issued">
              <date-part name="year"/>
           </date>
        </if>
        <else>
           <text term="no date" form="short"/>
        </else>
     </choose>
  </macro>
  <citation>
    <layout>
      <text value="BOGUS"/>
    </layout>
  </citation>
  <bibliography>
    <layout>
      <text macro="author"/>
      <text macro="year-date" prefix=" " suffix=", "/>
    </layout>
  </bibliography>
</style>


<<===== CSL =====<<


>>===== INPUT =====>>
[
    {
        "author": [
            {
                "family": "Doe",
                "given": "John Quiggly"
            }
        ],
        "id": "ITEM-1",
        "type": "book"
    }
]
<<===== INPUT =====<<


>>===== VERSION =====>>
1.0
<<===== VERSION =====<<