Skip to content

Commit

Permalink
Merge branch 'master' of github.com:inukshuk/styles
Browse files Browse the repository at this point in the history
  • Loading branch information
inukshuk committed Aug 29, 2013
2 parents da0e0b4 + b8d844d commit e52c165
Show file tree
Hide file tree
Showing 2,330 changed files with 26,653 additions and 7,001 deletions.
5 changes: 1 addition & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,4 @@ gem 'rake'
gem 'rspec'
gem 'nokogiri'
gem 'csl', '~>1.0'

group :extra do
gem 'fuubar'
end
gem 'fuubar'
31 changes: 17 additions & 14 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,27 +1,30 @@
GEM
remote: https://rubygems.org/
specs:
csl (1.0.1)
csl (1.0.2)
namae (~> 0.7)
diff-lcs (1.2.4)
fuubar (1.1.0)
fuubar (1.1.1)
rspec (~> 2.0)
rspec-instafail (~> 0.2.0)
ruby-progressbar (~> 1.0.0)
ruby-progressbar (~> 1.0)
mini_portile (0.5.1)
namae (0.7.1)
nokogiri (1.5.9)
nokogiri (1.5.9-x86-mingw32)
rake (10.0.4)
rspec (2.13.0)
rspec-core (~> 2.13.0)
rspec-expectations (~> 2.13.0)
rspec-mocks (~> 2.13.0)
rspec-core (2.13.1)
rspec-expectations (2.13.0)
nokogiri (1.6.0)
mini_portile (~> 0.5.0)
nokogiri (1.6.0-x86-mingw32)
mini_portile (~> 0.5.0)
rake (10.1.0)
rspec (2.14.1)
rspec-core (~> 2.14.0)
rspec-expectations (~> 2.14.0)
rspec-mocks (~> 2.14.0)
rspec-core (2.14.4)
rspec-expectations (2.14.1)
diff-lcs (>= 1.1.3, < 2.0)
rspec-instafail (0.2.4)
rspec-mocks (2.13.1)
ruby-progressbar (1.0.2)
rspec-mocks (2.14.3)
ruby-progressbar (1.2.0)

PLATFORMS
ruby
Expand Down
6 changes: 5 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ end
require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
spec.rspec_opts = %w{ --require spec_helper.rb --format ErrorFormatter --color }
if ENV['TRAVIS']
spec.rspec_opts = %w{ --require spec_helper.rb --format Fuubar --color }
else
spec.rspec_opts = %w{ --require spec_helper.rb --format Fuubar --color }
end
end

task :default => [:spec]
2 changes: 1 addition & 1 deletion acm-sig-proceedings-long-author-list.csl
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
<else-if type="patent">
<group delimiter=". ">
<text variable="title"/>
<text variable="number" prefix="U.S. Patent #"/>
<text variable="number" prefix=""/>
<date variable="issued">
<date-part name="month" form="short" suffix=". " strip-periods="true"/>
<date-part name="day" suffix=", "/>
Expand Down
2 changes: 1 addition & 1 deletion acm-sig-proceedings.csl
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
<else-if type="patent">
<group delimiter=". ">
<text variable="title"/>
<text variable="number" prefix="U.S. Patent #"/>
<text variable="number" prefix=""/>
<date variable="issued">
<date-part name="month" form="short" suffix=". " strip-periods="true"/>
<date-part name="day" suffix=", "/>
Expand Down
2 changes: 1 addition & 1 deletion acta-materialia.csl
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
<group delimiter=", ">
<group delimiter=". ">
<text variable="title" text-case="title"/>
<text variable="number" prefix="U.S. Patent "/>
<text variable="number" prefix=" "/>
</group>
<text macro="year-date"/>
</group>
Expand Down
2 changes: 1 addition & 1 deletion acta-palaeontologica-polonica.csl
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
</group>
</if>
<else-if type="thesis" match="any">
<text variable="title" text-case="sentence" suffix="."/>
<text variable="title" suffix="."/>
<group delimiter=", ">
<text variable="genre"/>
<text macro="publisher"/>
Expand Down
163 changes: 163 additions & 0 deletions acta-polytechnica.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-GB">
<info>
<title>Acta Polytechnica</title>
<id>http://www.zotero.org/styles/acta-polytechnica</id>
<link href="http://www.zotero.org/styles/acta-polytechnica" rel="self"/>
<link href="http://www.cvut.cz/en/facilities/ph/ap/resolveuid/a1a4420631dd2b61eff7a823f4b4f949" rel="documentation"/>
<author>
<name>Libor Ansorge</name>
<email>libor.ansorge@gmail.com</email>
</author>
<category citation-format="numeric"/>
<category field="engineering"/>
<issn>1210-2709</issn>
<eissn>1805-2363</eissn>
<summary>Style for journal Acta Polytechnica</summary>
<updated>2013-05-09T23:17:00+00:00</updated>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
</info>
<macro name="author">
<names variable="author">
<name name-as-sort-order="all" sort-separator=", " initialize-with="." delimiter-precedes-last="never" delimiter=", " et-al-min="3" et-al-use-first="1"/>
<label form="short" prefix=" " suffix="." text-case="lowercase" strip-periods="true"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
</substitute>
</names>
</macro>
<macro name="container-author">
<names variable="container-author">
<label form="long" suffix=": " text-case="capitalize-first" strip-periods="true"/>
<name and="text" delimiter=" " initialize-with=". " delimiter-precedes-last="never" et-al-min="3" et-al-use-first="1">
<name-part name="given"/>
<name-part name="family" text-case="capitalize-first"/>
</name>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
</substitute>
</names>
</macro>
<macro name="publisher">
<text variable="publisher"/>
</macro>
<macro name="publisher-place">
<text variable="publisher-place"/>
</macro>
<macro name="year-date">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year" form="long" suffix=""/>
</date>
</if>
<else>
<text term="no date"/>
</else>
</choose>
</macro>
<macro name="page">
<group delimiter=" ">
<text term="page" form="short"/>
<text variable="page"/>
</group>
</macro>
<macro name="issue">
<group delimiter=" " prefix="(" suffix=")">
<text variable="issue"/>
</group>
</macro>
<citation collapse="citation-number" after-collapse-delimiter="; ">
<sort>
<key variable="citation-number"/>
</sort>
<layout prefix="[" suffix="]" delimiter=", ">
<text variable="citation-number"/>
<group delimiter=" ">
<label variable="locator" form="short" prefix=" "/>
<text variable="locator"/>
</group>
</layout>
</citation>
<bibliography entry-spacing="1" second-field-align="flush">
<sort>
<key variable="citation-number"/>
</sort>
<layout>
<!-- Citation Number -->
<text variable="citation-number" prefix="[" suffix="]"/>
<!-- Author(s) -->
<group delimiter=", " suffix=": ">
<text macro="author"/>
</group>
<!-- Rest of Citation -->
<choose>
<!-- Specific Formats -->
<if type="book report" match="any">
<group delimiter=". " suffix=". ">
<text variable="title" font-style="italic"/>
<text variable="number"/>
<group delimiter=", ">
<group delimiter=": ">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
<text macro="year-date"/>
</group>
</group>
</if>
<else-if type="paper-conference chapter" match="any">
<group delimiter=". " suffix=". ">
<text variable="title" font-style="italic"/>
<group delimiter=" ">
<group delimiter=": ">
<text term="in" text-case="capitalize-first"/>
<text variable="container-title"/>
</group>
<text variable="event"/>
<text macro="container-author" prefix="(" suffix=")"/>
</group>
<group delimiter=", ">
<group delimiter=": ">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
<text macro="year-date"/>
<text macro="page"/>
</group>
</group>
</else-if>
<else-if type="article-journal article-magazine article-newspaper" match="any">
<group delimiter=". " suffix=". ">
<text variable="title"/>
<group delimiter=", ">
<text variable="container-title" form="short" font-style="italic"/>
<group delimiter=" ">
<text variable="volume" font-weight="bold"/>
<text macro="issue"/>
</group>
<text macro="year-date"/>
<text macro="page"/>
</group>
</group>
</else-if>
<else>
<group delimiter=". " suffix=". ">
<text variable="title" font-style="italic"/>
<group delimiter=", ">
<group delimiter=": ">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
<text macro="year-date"/>
<text variable="volume"/>
<text macro="page"/>
</group>
</group>
</else>
</choose>
</layout>
</bibliography>
</style>
2 changes: 1 addition & 1 deletion advanced-engineering-materials.csl
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
<group delimiter=", ">
<text variable="title" text-case="title" font-style="italic"/>
<text macro="year-date"/>
<text variable="number" prefix="U.S. Patent "/>
<text variable="number" prefix=" "/>
</group>
</else-if>
<else-if type="thesis">
Expand Down
4 changes: 2 additions & 2 deletions advanced-materials.csl
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
<sort>
<key variable="citation-number"/>
</sort>
<layout prefix="[" suffix="]" delimiter=",">
<layout prefix="[" suffix="]" delimiter="," vertical-align="sup">
<text variable="citation-number"/>
</layout>
</citation>
Expand Down Expand Up @@ -113,7 +113,7 @@
<group delimiter=", ">
<text variable="title" text-case="title" font-style="italic"/>
<text macro="year-date"/>
<text variable="number" prefix="U.S. Patent "/>
<text variable="number" prefix=" "/>
</group>
</else-if>
<else-if type="thesis">
Expand Down
2 changes: 1 addition & 1 deletion advances-in-complex-systems.csl
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
<else-if type="patent">
<group delimiter=", ">
<text variable="title"/>
<text variable="number" prefix="U.S. Patent "/>
<text variable="number" prefix=" "/>
<text macro="year-date"/>
</group>
</else-if>
Expand Down
Loading

0 comments on commit e52c165

Please sign in to comment.