Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Changes to Russian GOST R 7.0.5-2008 CSL 1.0 #99

Closed
wants to merge 2 commits into from

3 participants

@ralfer

No description provided.

@adam3smith adam3smith commented on the diff
gost-r-7-0-5-2008-csl-1-0.csl
((41 lines not shown))
- </date>
- </group>
- </if>
- </choose>
+ <group>
+ <text value="[Электронный ресурс]. "/>
+ <text variable="URL" prefix="URL: "/>
+ <group prefix=" (" suffix=")">
+ <text term="accessed" suffix=": "/>
+ <date variable="accessed">
+ <date-part name="day" suffix="." form="numeric-leading-zeros"/>
+ <date-part name="month" suffix="." form="numeric-leading-zeros"/>
+ <date-part name="year"/>
+ </date>
+ </group>
+ </group>
</macro>
@adam3smith Owner

I don't understand this change - taking out the test for URL seems like a bad idea - you may e.g. end up with a citation that only has an access date and no URL (true e.g. for many journal articles).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@rmzelle rmzelle closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 47 additions and 29 deletions.
  1. +47 −29 gost-r-7-0-5-2008-csl-1-0.csl
View
76 gost-r-7-0-5-2008-csl-1-0.csl 100644 → 100755
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="UTF-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0">
<info>
<title>Russian GOST R 7.0.5-2008 CSL 1.0</title>
@@ -10,9 +10,14 @@
<email>andrey@chetvericov.ru</email>
<uri>http://chetvericov.ru</uri>
</author>
+ <contributor>
+ <name>Petr Andreev</name>
+ <email>gulliput@gmail.com</email>
+ <uri>http://feldenkrais.ru</uri>
+ </contributor>
<category citation-format="author-date"/>
<category field="generic-base"/>
- <updated>2010-03-08T01:12:51+00:00</updated>
+ <updated>2012-02-07T01:46:04+00:00</updated>
<summary>Russian GOST-2008 style.</summary>
<link href="http://protect.gost.ru/document.aspx?control=7&amp;id=173511" rel="documentation"/>
<rights>This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
@@ -38,28 +43,39 @@
</names>
</macro>
<macro name="author_short">
- <names variable="author">
- <name form="short" name-as-sort-order="all" sort-separator=" " delimiter=", " delimiter-precedes-last="always"/>
- <substitute>
- <text variable="title"/>
- </substitute>
- </names>
+ <choose>
+ <if type="webpage">
+ <names variable="author">
+ <name form="short" name-as-sort-order="all" sort-separator=" " delimiter=", " delimiter-precedes-last="always"/>
+ <substitute>
+ <text variable="title"/>
+ <text variable="container-title"/>
+ </substitute>
+ </names>
+ </if>
+ <else>
+ <names variable="author">
+ <name form="short" name-as-sort-order="all" sort-separator=" " delimiter=", " delimiter-precedes-last="always"/>
+ <substitute>
+ <text variable="title"/>
+ </substitute>
+ </names>
+ </else>
+ </choose>
</macro>
<macro name="access">
- <choose>
- <if variable="URL">
- <text value="[Электронный ресурс]. "/>
- <text variable="URL" prefix="URL: "/>
- <group prefix=" (" suffix=")">
- <text term="accessed" suffix=": "/>
- <date variable="accessed">
- <date-part name="day" suffix="." form="numeric-leading-zeros"/>
- <date-part name="month" suffix="." form="numeric-leading-zeros"/>
- <date-part name="year"/>
- </date>
- </group>
- </if>
- </choose>
+ <group>
+ <text value="[Электронный ресурс]. "/>
+ <text variable="URL" prefix="URL: "/>
+ <group prefix=" (" suffix=")">
+ <text term="accessed" suffix=": "/>
+ <date variable="accessed">
+ <date-part name="day" suffix="." form="numeric-leading-zeros"/>
+ <date-part name="month" suffix="." form="numeric-leading-zeros"/>
+ <date-part name="year"/>
+ </date>
+ </group>
+ </group>
</macro>
@adam3smith Owner

I don't understand this change - taking out the test for URL seems like a bad idea - you may e.g. end up with a citation that only has an access date and no URL (true e.g. for many journal articles).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
<macro name="title">
<text variable="title"/>
@@ -71,7 +87,7 @@
<text variable="publisher"/>
</group>
<text macro="year-date" suffix="." prefix=", "/>
- <text variable="edition" prefix=" Вып. "/>
+ <text variable="edition" prefix=" Изд. "/>
</macro>
<macro name="year-date">
<date variable="issued">
@@ -98,17 +114,19 @@
<macro name="citation-number">
<text variable="citation-number" suffix=". "/>
</macro>
- <citation et-al-min="4" et-al-use-first="1" disambiguate-add-year-suffix="true">
+ <citation et-al-min="4" et-al-use-first="1" disambiguate-add-year-suffix="true" collapse="year" et-al-subsequent-use-first="1" disambiguate-add-names="false" disambiguate-add-givenname="false">
<sort>
<key macro="language-sort"/>
<key macro="author"/>
<key variable="issued"/>
</sort>
<layout prefix="[" suffix="]" delimiter="; ">
- <text macro="author_short" suffix=", "/>
- <text macro="year-date"/>
- <text variable="locator" prefix=", с. "/>
- </layout>
+ <group delimiter=", ">
+ <text macro="author_short" suffix=""/>
+ <text macro="year-date"/>
+ <text variable="locator" prefix="с. "/>
+ </group>
+ </layout>
</citation>
<locale xml:lang="en">
<terms>
@@ -187,4 +205,4 @@
</choose>
</layout>
</bibliography>
-</style>
+</style>
Something went wrong with that request. Please try again.