Skip to content

Commit

Permalink
Add legislation to bill in conditional tests, part 1.
Browse files Browse the repository at this point in the history
The Statute field in Zotero will soon be mapped to legislation.
No styles yet discriminate between enacted laws (legislation) and
proposed law drafts (bill), so it is sufficient to add legislation
to tests where it is missing.

This changeset covers two styles where legislation was sometimes
included in tests, sometimes not.
  • Loading branch information
fbennett committed Apr 3, 2012
1 parent fbc7355 commit 116d134
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion american-association-of-petroleum-geologists.csl
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<names variable="editor"/>
<names variable="translator"/>
<choose>
<if type="bill book graphic legal_case motion_picture report song" match="any">
<if type="bill legislation book graphic legal_case motion_picture report song" match="any">
<text variable="title" form="short" font-style="italic"/>
</if>
<else>
Expand Down
18 changes: 9 additions & 9 deletions irish-historical-studies.csl
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@
<else-if type="speech" match="any">
<text variable="genre" form="short"/>
</else-if>
<else-if type="bill book graphic legal_case motion_picture report song article-journal article-magazine article-newspaper thesis webpage chapter paper-conference" match="none">
<else-if type="bill legislation book graphic legal_case motion_picture report song article-journal article-magazine article-newspaper thesis webpage chapter paper-conference" match="none">
<choose>
<if variable="author">
<text macro="publication_date"/>
Expand All @@ -307,7 +307,7 @@
</else>
</choose>
</else-if>
<else-if type="bill book graphic legal_case motion_picture report song" match="any">
<else-if type="bill legislation book graphic legal_case motion_picture report song" match="any">
<text variable="title" form="short" font-style="italic"/>
</else-if>
<else>
Expand All @@ -319,7 +319,7 @@
<choose>
<if variable="title author" match="none">
<choose>
<if type="bill book graphic legal_case motion_picture report song article-journal article-magazine article-newspaper thesis webpage chapter paper-conference" match="none">
<if type="bill legislation book graphic legal_case motion_picture report song article-journal article-magazine article-newspaper thesis webpage chapter paper-conference" match="none">
<text macro="document-identifier-short"/>
</if>
</choose>
Expand All @@ -334,7 +334,7 @@
</else>
</choose>
</else-if>
<else-if type="bill book graphic legal_case motion_picture report song" match="any">
<else-if type="bill legislation book graphic legal_case motion_picture report song" match="any">
<text variable="title" font-style="italic"/>
</else-if>
<else>
Expand Down Expand Up @@ -485,7 +485,7 @@
<!-- ITEM LOCATORS -->
<macro name="volume-romans">
<choose>
<if type="bill legal_case legislation report" match="none">
<if type="bill legislation legal_case legislation report" match="none">
<choose>
<if is-numeric="volume">
<number variable="volume" form="roman"/>
Expand Down Expand Up @@ -650,7 +650,7 @@
<macro name="publication">
<group delimiter=", ">
<choose>
<if type="bill book graphic legal_case motion_picture report song chapter paper-conference" match="any">
<if type="bill legislation book graphic legal_case motion_picture report song chapter paper-conference" match="any">
<text macro="multiple-volumes"/>
</if>
</choose>
Expand All @@ -664,7 +664,7 @@
</choose>
<text macro="collection"/>
<choose>
<if type="bill book graphic legal_case motion_picture report song chapter paper-conference" match="any">
<if type="bill legislation book graphic legal_case motion_picture report song chapter paper-conference" match="any">
<text macro="edition"/>
</if>
</choose>
Expand Down Expand Up @@ -727,7 +727,7 @@
<macro name="access">
<group delimiter=" ">
<choose>
<if type="bill book graphic legal_case motion_picture report song article-journal article-magazine article-newspaper thesis webpage chapter paper-conference" match="none">
<if type="bill legislation book graphic legal_case motion_picture report song article-journal article-magazine article-newspaper thesis webpage chapter paper-conference" match="none">
<text macro="archive"/>
</if>
</choose>
Expand All @@ -750,7 +750,7 @@
</macro>
<macro name="point-locators">
<choose>
<if type="bill report" match="any">
<if type="bill legislation report" match="any">
<text macro="point-locators-subsequent" prefix=", "/>
</if>
<else>
Expand Down

0 comments on commit 116d134

Please sign in to comment.