Permalink
Browse files

#145

  • Loading branch information...
1 parent cd8f5a9 commit daf3591cf3ef3ddc07d012f028706680d349e910 @rmzelle rmzelle committed May 3, 2012
Showing with 38 additions and 6 deletions.
  1. +19 −3 acta-palaeontologica-polonica.csl
  2. +19 −3 lethaia.csl
@@ -53,6 +53,12 @@
<date-part name="year"/>
</date>
</if>
+ <else-if type="book chapter webpage" variable="container-title volume page" match="none">
+ <text term="forthcoming"/>
+ </else-if>
+ <else-if type="book chapter webpage" variable="volume page" match="none">
+ <text term="in press"/>
+ </else-if>
<else>
<text term="no date" form="short"/>
</else>
@@ -110,9 +116,19 @@
<layout suffix=".">
<group>
<text macro="author" suffix=" "/>
- <date variable="issued">
- <date-part name="year"/>
- </date>
+ <choose>
+ <if variable="issued">
+ <date variable="issued">
+ <date-part name="year"/>
+ </date>
+ </if>
+ <else-if type="book chapter webpage" variable="container-title volume page" match="none">
+ <text term="forthcoming" text-case="capitalize-first"/>
+ </else-if>
+ <else-if type="book chapter webpage" variable="volume page" match="none">
+ <text term="in press" text-case="capitalize-first"/>
+ </else-if>
+ </choose>
<text variable="year-suffix"/>
<text value=". "/>
<choose>
View
@@ -54,6 +54,12 @@
<date-part name="year"/>
</date>
</if>
+ <else-if type="book chapter webpage" variable="container-title volume page" match="none">
+ <text term="forthcoming"/>
+ </else-if>
+ <else-if type="book chapter webpage" variable="volume page" match="none">
+ <text term="in press"/>
+ </else-if>
<else>
<text term="no date" form="short"/>
</else>
@@ -111,9 +117,19 @@
<layout suffix=".">
<group>
<text macro="author" suffix=" "/>
- <date variable="issued">
- <date-part name="year"/>
- </date>
+ <choose>
+ <if variable="issued">
+ <date variable="issued">
+ <date-part name="year"/>
+ </date>
+ </if>
+ <else-if type="book chapter webpage" variable="container-title volume page" match="none">
+ <text term="forthcoming" text-case="capitalize-first"/>
+ </else-if>
+ <else-if type="book chapter webpage" variable="volume page" match="none">
+ <text term="in press" text-case="capitalize-first"/>
+ </else-if>
+ </choose>
<text variable="year-suffix"/>
<text value=": "/>
<choose>

0 comments on commit daf3591

Please sign in to comment.