commit 6fe407f3c830cb9eea55098b4841dc5a12e48a43
parent 5ebb4d1ad8d0fc2f1eaf1b196950a411d53accc3
Author: Elena Razlogova <elena.razlogova@gmail.com>
Date: Tue, 22 Jan 2008 12:19:23 +0000
adding back conditionals for excluding archival info for books, etc. since it will take time to resolve #853
Diffstat:
2 files changed, 26 insertions(+), 4 deletions(-)
diff --git a/csl/chicago-note-no-ibid.csl b/csl/chicago-note-no-ibid.csl
@@ -246,11 +246,22 @@
</choose>
</macro>
<macro name="archive">
- <group delimiter=", ">
+ <choose>
+ <if type="graphic report" match="any">
+ <group delimiter=", ">
<text variable="archive_location"/>
<text variable="archive"/>
<text variable="archive-place"/>
- </group>
+ </group>
+ </if>
+ <else-if type="book thesis chapter article-journal article-newspaper article-magazine" match="none">
+ <group delimiter=", ">
+ <text variable="archive_location"/>
+ <text variable="archive"/>
+ <text variable="archive-place"/>
+ </group>
+ </else-if>
+ </choose>
</macro>
<macro name="access">
<group delimiter=", ">
diff --git a/csl/chicago-note.csl b/csl/chicago-note.csl
@@ -246,11 +246,22 @@
</choose>
</macro>
<macro name="archive">
- <group delimiter=", ">
+ <choose>
+ <if type="graphic report" match="any">
+ <group delimiter=", ">
<text variable="archive_location"/>
<text variable="archive"/>
<text variable="archive-place"/>
- </group>
+ </group>
+ </if>
+ <else-if type="book thesis chapter article-journal article-newspaper article-magazine" match="none">
+ <group delimiter=", ">
+ <text variable="archive_location"/>
+ <text variable="archive"/>
+ <text variable="archive-place"/>
+ </group>
+ </else-if>
+ </choose>
</macro>
<macro name="access">
<group delimiter=", ">