commit 658175ca1762f098d77766d78b66eff8ecde5678
parent fbd5360b7e9fcaf02b5ca4d915ea7395e8235634
Author: Elena Razlogova <elena.razlogova@gmail.com>
Date: Wed, 23 Jan 2008 02:08:26 +0000
moving conditionals around for clarity
Diffstat:
2 files changed, 18 insertions(+), 26 deletions(-)
diff --git a/csl/chicago-note-no-ibid.csl b/csl/chicago-note-no-ibid.csl
@@ -246,26 +246,22 @@
</choose>
</macro>
<macro name="archive">
- <choose>
- <if type="graphic report" match="any">
- <group delimiter=", ">
- <text variable="archive_location"/>
- <text variable="archive"/>
- <text variable="archive-place"/>
- </group>
- </if>
- <else-if type="book thesis chapter article-journal article-newspaper article-magazine" match="none">
- <group delimiter=", ">
+ <group delimiter=", ">
<text variable="archive_location"/>
<text variable="archive"/>
<text variable="archive-place"/>
- </group>
- </else-if>
- </choose>
+ </group>
</macro>
<macro name="access">
<group delimiter=", ">
+ <choose>
+ <if type="graphic report" match="any">
+ <text macro="archive"/>
+ </if>
+ <else-if type="book thesis chapter article-journal article-newspaper article-magazine" match="none">
<text macro="archive"/>
+ </else-if>
+ </choose>
<text variable="URL"/>
</group>
</macro>
diff --git a/csl/chicago-note.csl b/csl/chicago-note.csl
@@ -246,26 +246,22 @@
</choose>
</macro>
<macro name="archive">
- <choose>
- <if type="graphic report" match="any">
- <group delimiter=", ">
- <text variable="archive_location"/>
- <text variable="archive"/>
- <text variable="archive-place"/>
- </group>
- </if>
- <else-if type="book thesis chapter article-journal article-newspaper article-magazine" match="none">
- <group delimiter=", ">
+ <group delimiter=", ">
<text variable="archive_location"/>
<text variable="archive"/>
<text variable="archive-place"/>
- </group>
- </else-if>
- </choose>
+ </group>
</macro>
<macro name="access">
<group delimiter=", ">
+ <choose>
+ <if type="graphic report" match="any">
+ <text macro="archive"/>
+ </if>
+ <else-if type="book thesis chapter article-journal article-newspaper article-magazine" match="none">
<text macro="archive"/>
+ </else-if>
+ </choose>
<text variable="URL"/>
</group>
</macro>