|
@@ -123,6 +123,7 @@ |
|
|
</choose> |
|
|
</macro> |
|
|
<macro name="patent-number"> |
|
|
<!-- genre: U.S. Patent number: 123,445--> |
|
|
<group delimiter=" "> |
|
|
<group delimiter=" "> |
|
|
<text variable="genre"/> |
|
@@ -190,6 +191,7 @@ |
|
|
<if type="book dataset graphic manuscript motion_picture report song speech thesis" match="any"> |
|
|
<choose> |
|
|
<if variable="version" type="book" match="all"> |
|
|
<!---This is a hack until we have a computer program type --> |
|
|
<text variable="title"/> |
|
|
</if> |
|
|
<else> |
|
@@ -212,6 +214,7 @@ |
|
|
</group> |
|
|
</if> |
|
|
<else> |
|
|
<!-- assume `title` is title of reviewed work --> |
|
|
<group delimiter=", " prefix="[" suffix="]"> |
|
|
<text variable="title" font-style="italic" prefix="Review of "/> |
|
|
<names variable="reviewed-author" delimiter=", "> |
|
@@ -276,6 +279,7 @@ |
|
|
<text variable="genre" text-case="capitalize-first"/> |
|
|
</if> |
|
|
<else> |
|
|
<!-- This should be localized --> |
|
|
<text value="Data set"/> |
|
|
</else> |
|
|
</choose> |
|
@@ -313,6 +317,7 @@ |
|
|
<group delimiter=", "> |
|
|
<choose> |
|
|
<if variable="event version" type="speech dataset motion_picture" match="none"> |
|
|
<!-- Including version is to avoid printing the programming language for computerProgram /--> |
|
|
<text variable="genre"/> |
|
|
</if> |
|
|
</choose> |
|
@@ -382,6 +387,7 @@ |
|
|
<date-part prefix=" " name="day"/> |
|
|
</date> |
|
|
</else-if> |
|
|
<!-- Only year: article-journal chapter entry entry-dictionary entry-encyclopedia dataset figure graphic motion_picture manuscript map musical_score paper-conference patent report review review-book song thesis --> |
|
|
</choose> |
|
|
</group> |
|
|
</else-if> |
|
@@ -487,6 +493,7 @@ |
|
|
</choose> |
|
|
</macro> |
|
|
<macro name="original-published"> |
|
|
<!--This should be localized --> |
|
|
<choose> |
|
|
<if type="bill legal_case legislation" match="any"/> |
|
|
<else-if type="broadcast interview motion_picture song"> |
|
@@ -524,6 +531,7 @@ |
|
|
<text variable="page"/> |
|
|
</group> |
|
|
<choose> |
|
|
<!--for advanced online publication--> |
|
|
<if variable="issued"> |
|
|
<choose> |
|
|
<if variable="page issue" match="none"> |
|
@@ -543,6 +551,7 @@ |
|
|
<group prefix=" (" suffix=")" delimiter=", "> |
|
|
<choose> |
|
|
<if type="report" match="none"> |
|
|
<!-- edition for report is included in title-plus-extra /--> |
|
|
<text macro="edition"/> |
|
|
</if> |
|
|
</choose> |
|
@@ -571,6 +580,7 @@ |
|
|
<text variable="authority"/> |
|
|
<choose> |
|
|
<if variable="container-title" match="any"> |
|
|
<!--Only print year for cases published in reporters--> |
|
|
<date variable="issued" form="numeric" date-parts="year"/> |
|
|
</if> |
|
|
<else> |
|
@@ -636,6 +646,7 @@ |
|
|
<text variable="volume"/> |
|
|
<text variable="container-title"/> |
|
|
<group delimiter=" "> |
|
|
<!--change to label variable="section" as that becomes available --> |
|
|
<text term="section" form="symbol"/> |
|
|
<text variable="section"/> |
|
|
</group> |
|
@@ -651,8 +662,10 @@ |
|
|
<group delimiter=", " prefix=", "> |
|
|
<choose> |
|
|
<if variable="number"> |
|
|
<!--There's a public law number--> |
|
|
<text variable="number" prefix="Pub. L. No. "/> |
|
|
<group delimiter=" "> |
|
|
<!--change to label variable="section" as that becomes available --> |
|
|
<text term="section" form="symbol"/> |
|
|
<text variable="section"/> |
|
|
</group> |
|
@@ -666,6 +679,7 @@ |
|
|
<group delimiter=" "> |
|
|
<text variable="volume"/> |
|
|
<text variable="container-title"/> |
|
|
<!--change to label variable="section" as that becomes available --> |
|
|
<text term="section" form="symbol"/> |
|
|
<text variable="section"/> |
|
|
</group> |
|
@@ -685,11 +699,10 @@ |
|
|
<text macro="author-short"/> |
|
|
<text macro="issued-year"/> |
|
|
<text macro="citation-locator"/> |
|
|
<number font-weight="bold" display="block" prefix="[" suffix="]" variable="number"/> |
|
|
</group> |
|
|
</layout> |
|
|
</citation> |
|
|
<bibliography hanging-indent="true" entry-spacing="1" line-spacing="2"> |
|
|
<bibliography hanging-indent="true" entry-spacing="0" line-spacing="2"> |
|
|
<sort> |
|
|
<key macro="author"/> |
|
|
<key macro="issued-sort" sort="ascending"/> |
|
|
0 comments on commit
f81cb0c