Skip to content

Commit

Permalink
iso690-XXX-cz style update (citation-style-language#2044)
Browse files Browse the repository at this point in the history
* Update iso690-note-cs.csl

replace standard space with non-breaking space in some cases
change date format from long to numeric for access date

* Update iso690-numeric-cs.csl

replace standard space with non-breaking space in some cases
change date format from long to numeric for access date

* Update iso690-numeric-brackets-cs.csl

replace standard space with non-breaking space in some cases
change date format from long to numeric for access date

* Update iso690-author-date-cs.csl

replace standard space with non-breaking space in some cases
change date format from long to numeric for access date
  • Loading branch information
libora authored and adam3smith committed Apr 29, 2016
1 parent 67a625d commit 122eb26
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 78 deletions.
42 changes: 21 additions & 21 deletions iso690-author-date-cs.csl
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
<if variable="issued">
<choose>
<if is-uncertain-date="issued">
<text term="circa" form="short" suffix=" "/>
<text term="circa" form="short" suffix="&#160;"/>
</if>
</choose>
<date variable="issued">
Expand All @@ -192,7 +192,7 @@
</if>
<else-if type="paper-conference speech chapter post" match="any">
<text variable="title" suffix=". "/>
<text term="in" text-case="capitalize-first" suffix=": "/>
<text term="in" text-case="capitalize-first" suffix=":&#160;"/>
<choose>
<if variable="container-author editor translator" match="any">
<text macro="container-responsability"/>
Expand Down Expand Up @@ -276,8 +276,8 @@
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="day" suffix=". "/>
<date-part name="month" suffix=" "/>
<date-part name="day" suffix=".&#160;"/>
<date-part name="month" suffix="&#160;"/>
<date-part name="year"/>
</date>
</if>
Expand All @@ -287,15 +287,15 @@
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="day" suffix="."/>
<date-part name="day" suffix=".&#160;"/>
<date-part name="month" form="numeric" suffix="."/>
<!--date-part name="year"/-->
</date>
</if>
</choose>
</macro>
<macro name="scale">
<group delimiter=" ">
<group delimiter="&#160;">
<text term="scale" text-case="capitalize-first"/>
<text variable="scale"/>
</group>
Expand All @@ -304,7 +304,7 @@
<choose>
<if is-numeric="edition">
<number variable="edition" form="ordinal"/>
<label variable="edition" form="short" prefix=" "/>
<label variable="edition" form="short" prefix="&#160;"/>
</if>
<else>
<text variable="edition" form="long"/>
Expand Down Expand Up @@ -335,16 +335,16 @@
</macro>
<macro name="issue">
<group delimiter=", ">
<group delimiter=" ">
<group delimiter="&#160;">
<label variable="volume" form="short"/>
<text variable="volume"/>
</group>
<group delimiter=" ">
<group delimiter="&#160;">
<label variable="issue" form="short"/>
<text variable="issue"/>
</group>
<text macro="collection"/>
<group delimiter=" ">
<group delimiter="&#160;">
<label variable="page" form="short"/>
<text variable="page"/>
</group>
Expand Down Expand Up @@ -386,11 +386,11 @@
<choose>
<if variable="URL DOI" match="any">
<group prefix=" [" suffix="]">
<text term="accessed" form="short"/>
<text term="accessed" form="short" suffix=".&#160;"/>
<date variable="accessed">
<date-part name="day" prefix=". "/>
<date-part name="month" prefix=". "/>
<date-part name="year" prefix=" "/>
<date-part name="year"/>
<date-part name="month" prefix="-"/>
<date-part name="day" form="numeric-leading-zeros" prefix="-"/>
</date>
</group>
</if>
Expand All @@ -412,13 +412,13 @@
<macro name="page">
<choose>
<if type="book thesis manuscript" match="any">
<group delimiter=" ">
<group delimiter="&#160;">
<text variable="number-of-pages"/>
<text term="page" form="short"/>
</group>
</if>
<else-if type="chapter paper-conference article-newspaper" match="any">
<group delimiter=" ">
<group delimiter="&#160;">
<text term="page" form="short"/>
<text variable="page"/>
</group>
Expand All @@ -431,27 +431,27 @@
<macro name="isbn">
<choose>
<if variable="ISBN">
<text variable="ISBN" prefix="ISBN "/>
<text variable="ISBN" prefix="ISBN&#160;"/>
</if>
<else>
<text macro="issn"/>
</else>
</choose>
</macro>
<macro name="issn">
<text variable="ISSN" prefix="ISSN "/>
<text variable="ISSN" prefix="ISSN&#160;"/>
</macro>
<macro name="url">
<choose>
<if variable="DOI">
<group>
<text term="available at" suffix=": doi:" text-case="capitalize-first"/>
<text term="available at" suffix=":&#160;doi:" text-case="capitalize-first"/>
<text variable="DOI"/>
</group>
</if>
<else-if variable="URL">
<group>
<text term="available at" suffix=": " text-case="capitalize-first"/>
<text term="available at" suffix=":&#160;" text-case="capitalize-first"/>
<text variable="URL"/>
</group>
</else-if>
Expand All @@ -464,7 +464,7 @@
<text macro="author-citation"/>
<text macro="year-date"/>
</group>
<group delimiter=" ">
<group delimiter="&#160;">
<label variable="locator" form="short"/>
<text variable="locator"/>
</group>
Expand Down
36 changes: 18 additions & 18 deletions iso690-note-cs.csl
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
<if variable="issued">
<choose>
<if is-uncertain-date="issued">
<text term="circa" form="short" suffix=" "/>
<text term="circa" form="short" suffix="&#160;"/>
</if>
</choose>
<date variable="issued">
Expand All @@ -159,7 +159,7 @@
</if>
<else-if type="paper-conference speech chapter post broadcast" match="any">
<text variable="title" suffix=". "/>
<text term="in" text-case="capitalize-first" suffix=": "/>
<text term="in" text-case="capitalize-first" suffix=":&#160;"/>
<choose>
<if variable="container-author editor translator" match="any">
<text macro="container-responsability"/>
Expand Down Expand Up @@ -230,8 +230,8 @@
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="day" suffix=". "/>
<date-part name="month" suffix=" "/>
<date-part name="day" suffix=".&#160;"/>
<date-part name="month" suffix="&#160;"/>
<date-part name="year"/>
</date>
</if>
Expand All @@ -247,7 +247,7 @@
<choose>
<if is-numeric="edition">
<number variable="edition" form="ordinal"/>
<label variable="edition" form="short" prefix=" "/>
<label variable="edition" form="short" prefix="&#160;"/>
</if>
<else>
<text variable="edition" form="long"/>
Expand Down Expand Up @@ -278,16 +278,16 @@
</macro>
<macro name="issue">
<group delimiter=", ">
<group delimiter=" ">
<group delimiter="&#160;">
<label variable="volume" form="short"/>
<text variable="volume"/>
</group>
<group delimiter=" ">
<group delimiter="&#160;">
<label variable="issue" form="short"/>
<text variable="issue"/>
</group>
<text macro="collection"/>
<group delimiter=" ">
<group delimiter="&#160;">
<label variable="page" form="short"/>
<text variable="page"/>
</group>
Expand Down Expand Up @@ -329,11 +329,11 @@
<choose>
<if variable="URL DOI" match="any">
<group prefix=" [" suffix="]">
<text term="accessed" form="short"/>
<text term="accessed" form="short" suffix=".&#160;"/>
<date variable="accessed">
<date-part name="day" prefix=". "/>
<date-part name="month" prefix=". "/>
<date-part name="year" prefix=" "/>
<date-part name="year"/>
<date-part name="month" prefix="-"/>
<date-part name="day" form="numeric-leading-zeros" prefix="-"/>
</date>
</group>
</if>
Expand All @@ -355,13 +355,13 @@
<macro name="page">
<choose>
<if type="book thesis manuscript" match="any">
<group delimiter=" ">
<group delimiter="&#160;">
<text variable="number-of-pages"/>
<text term="page" form="short"/>
</group>
</if>
<else-if type="chapter paper-conference article-newspaper" match="any">
<group delimiter=" ">
<group delimiter="&#160;">
<text term="page" form="short"/>
<text variable="page"/>
</group>
Expand All @@ -374,27 +374,27 @@
<macro name="isbn">
<choose>
<if variable="ISBN">
<text variable="ISBN" prefix="ISBN "/>
<text variable="ISBN" prefix="ISBN&#160;"/>
</if>
<else>
<text macro="issn"/>
</else>
</choose>
</macro>
<macro name="issn">
<text variable="ISSN" prefix="ISSN "/>
<text variable="ISSN" prefix="ISSN&#160;"/>
</macro>
<macro name="url">
<choose>
<if variable="DOI">
<group>
<text term="available at" suffix=": doi:" text-case="capitalize-first"/>
<text term="available at" suffix=":&#160;doi:" text-case="capitalize-first"/>
<text variable="DOI"/>
</group>
</if>
<else-if variable="URL">
<group>
<text term="available at" suffix=": " text-case="capitalize-first"/>
<text term="available at" suffix=":&#160;" text-case="capitalize-first"/>
<text variable="URL"/>
</group>
</else-if>
Expand Down
Loading

0 comments on commit 122eb26

Please sign in to comment.