inukshuk/citeproc-ruby — Issue #7: Problem with parsing publication with MacRuby
Author: houshuang
Created: 2012-02-12 03:26:51+00:00
State: open

I wrote a simple script which I executed line for line in IRB and MacIRB:

require 'rubygems'
require 'bibtex'
require 'citeproc'
require 'yaml'

b = "@incollection{degroot2010teachers,
Author = {De Groot, Reuma},
Booktitle = {Educational technologies for teaching argumentation skills.},
Date-Added = {2011-06-05 19:53:31 +0800},
Date-Modified = {2011-06-16 18:01:44 +0800},
Editor = {Pinkwart, N. and McLaren, B. M.},
Publisher = {Sharjah: Bentham Science Publishers},
Title = {Use of the Argunaut system in the classroom},
Year = {2010}}"

bib = BibTeX.parse(b)
cit = bib.to_citeproc
CiteProc.process(cit)

With MRI, there is no surprise:

[~] irb 22:22:01
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'bibtex'
=> true
irb(main):003:0> require 'citeproc'
=> true
irb(main):004:0> require 'yaml'
=> false
irb(main):005:0>
irb(main):006:0* b = "@incollection{degroot2010teachers,
irb(main):007:0" Author = {De Groot, Reuma},
irb(main):008:0" Booktitle = {Educational technologies for teaching argumentation skills.},
irb(main):009:0" Date-Added = {2011-06-05 19:53:31 +0800},
irb(main):010:0" Date-Modified = {2011-06-16 18:01:44 +0800},
irb(main):011:0" Editor = {Pinkwart, N. and McLaren, B. M.},
irb(main):012:0" Publisher = {Sharjah: Bentham Science Publishers},
irb(main):013:0" Title = {Use of the Argunaut system in the classroom},
irb(main):014:0" Year = {2010}}"
=> "@incollection{degroot2010teachers,\nAuthor = {De Groot, Reuma},\nBooktitle = {Educational technologies for teaching argumentation skills.},\nDate-Added = {2011-06-05 19:53:31 +0800},\nDate-Modified = {2011-06-16 18:01:44 +0800},\nEditor = {Pinkwart, N. and McLaren, B. M.},\nPublisher = {Sharjah: Bentham Science Publishers},\nTitle = {Use of the Argunaut system in the classroom},\nYear = {2010}}"
irb(main):015:0>
irb(main):016:0* bib = BibTeX.parse(b)
=> #
irb(main):017:0> cit = bib.to_citeproc
=> [{"id"=>"degroot2010teachers", "type"=>"chapter", "author"=>[{"family"=>"De Groot", "given"=>"Reuma"}], "container-title"=>"Educational technologies for teaching argumentation skills.", "date-added"=>"2011-06-05 19:53:31 +0800", "date-modified"=>"2011-06-16 18:01:44 +0800", "editor"=>[{"family"=>"Pinkwart", "given"=>"N."}, {"family"=>"McLaren", "given"=>"B. M."}], "publisher"=>"Sharjah: Bentham Science Publishers", "title"=>"Use of the Argunaut system in the classroom", "issued"=>{"date-parts"=>[[2010]]}}]
irb(main):018:0> CiteProc.process(cit)
=> "De Groot, R. (2010). Use of the Argunaut system in the classroom. In N. Pinkwart & B. M. McLaren (Eds.), (Tran.), Educational technologies for teaching argumentation skills.. Sharjah: Bentham Science Publishers."
irb(main):019:0>

but with MacIRB, it spits out lots of stuff, takes a while, and the final citation is incomplete:

[~] macirb 22:22:17
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'bibtex'
=> true
irb(main):003:0> require 'citeproc'
WARNING: Nokogiri was built against LibXML version 2.7.8, but has dynamically loaded 2.7.3
=> true
irb(main):004:0> require 'yaml'
=> false
irb(main):005:0>
=> nil
irb(main):006:0> b = "@incollection{degroot2010teachers,
irb(main):007:1> Author = {De Groot, Reuma},
irb(main):008:1> Booktitle = {Educational technologies for teaching argumentation skills.},
irb(main):009:1> Date-Added = {2011-06-05 19:53:31 +0800},
irb(main):010:1> Date-Modified = {2011-06-16 18:01:44 +0800},
irb(main):011:1> Editor = {Pinkwart, N. and McLaren, B. M.},
irb(main):012:1> Publisher = {Sharjah: Bentham Science Publishers},
irb(main):013:1> Title = {Use of the Argunaut system in the classroom},
irb(main):014:0> Year = {2010}}"
=> "@incollection{degroot2010teachers,\n Author = {De Groot, Reuma},\n Booktitle = {Educational technologies for teaching argumentation skills.},\n Date-Added = {2011-06-05 19:53:31 +0800},\n Date-Modified = {2011-06-16 18:01:44 +0800},\n Editor = {Pinkwart, N. and McLaren, B. M.},\n Publisher = {Sharjah: Bentham Science Publishers},\n Title = {Use of the Argunaut system in the classroom},\nYear = {2010}}"
irb(main):015:0>
=> nil
irb(main):016:0> bib = BibTeX.parse(b)
=> #
irb(main):017:0> cit = bib.to_citeproc
=> [{"id"=>"degroot2010teachers", "type"=>"chapter", "author"=>"De Groot, Reuma", "container-title"=>"Educational technologies for teaching argumentation skills.", "date-added"=>"2011-06-05 19:53:31 +0800", "date-modified"=>"2011-06-16 18:01:44 +0800", "editor"=>"Pinkwart, N. and McLaren, B. M.", "publisher"=>"Sharjah: Bentham Science Publishers", "title"=>"Use of the Argunaut system in the classroom", "issued"=>{"date-parts"=>[[2010]]}}]
irb(main):018:0> CiteProc.process(cit)
ERROR CiteProc : failed to process item ##"degroot2010teachers"} @key_filter={"value"=>"value"} @value_filter={"degroot2010teachers"=>"degroot2010teachers"}>, "type"=>#"chapter"} @key_filter={"value"=>"value"} @value_filter={"chapter"=>"chapter"}>, "author"=>#"De Groot", "given"=>"Reuma"} @key_filter={"family"=>"family", "given"=>"given"} @value_filter={"De Groot"=>"De Groot", "Reuma"=>"Reuma"}>, "container-title"=>#"Educational technologies for teaching argumentation skills."} @key_filter={"value"=>"value"} @value_filter={"Educational technologies for teaching argumentation skills."=>"Educational technologies for teaching argumentation skills."}>, "date-added"=>#"2011-06-05 19:53:31 +0800"} @key_filter={"value"=>"value"} @value_filter={"2011-06-05 19:53:31 +0800"=>"2011-06-05 19:53:31 +0800"}>, "date-modified"=>#"2011-06-16 18:01:44 +0800"} @key_filter={"value"=>"value"} @value_filter={"2011-06-16 18:01:44 +0800"=>"2011-06-16 18:01:44 +0800"}>, "editor"=>#"Pinkwart", "given"=>"N. and McLaren"} @key_filter={"family"=>"family", "given"=>"given"} @value_filter={"Pinkwart"=>"Pinkwart", "N. and McLaren"=>"N. and McLaren"}>, "publisher"=>#"Sharjah: Bentham Science Publishers"} @key_filter={"family"=>"family"} @value_filter={"Sharjah: Bentham Science Publishers"=>"Sharjah: Bentham Science Publishers"}>, "title"=>#"Use of the Argunaut system in the classroom"} @key_filter={"value"=>"value"} @value_filter={"Use of the Argunaut system in the classroom"=>"Use of the Argunaut system in the classroom"}>, "issued"=>#[[2010]]} @key_filter={"date-parts"=>"date-parts"} @value_filter={[[2010]]=>[[2010]]}>} @key_filter={"id"=>"id", "prefix"=>"prefix", "author"=>"author"} @observer_state=false>: undefined method `map' for #
ERROR CiteProc : failed to process item ##"degroot2010teachers"} @key_filter={"value"=>"value"} @value_filter={"degroot2010teachers"=>"degroot2010teachers"}>, "type"=>#"chapter"} @key_filter={"value"=>"value"} @value_filter={"chapter"=>"chapter"}>, "author"=>#"De Groot", "given"=>"Reuma"} @key_filter={"family"=>"family", "given"=>"given"} @value_filter={"De Groot"=>"De Groot", "Reuma"=>"Reuma"}>, "container-title"=>#"Educational technologies for teaching argumentation skills."} @key_filter={"value"=>"value"} @value_filter={"Educational technologies for teaching argumentation skills."=>"Educational technologies for teaching argumentation skills."}>, "date-added"=>#"2011-06-05 19:53:31 +0800"} @key_filter={"value"=>"value"} @value_filter={"2011-06-05 19:53:31 +0800"=>"2011-06-05 19:53:31 +0800"}>, "date-modified"=>#"2011-06-16 18:01:44 +0800"} @key_filter={"value"=>"value"} @value_filter={"2011-06-16 18:01:44 +0800"=>"2011-06-16 18:01:44 +0800"}>, "editor"=>#"Pinkwart", "given"=>"N. and McLaren"} @key_filter={"family"=>"family", "given"=>"given"} @value_filter={"Pinkwart"=>"Pinkwart", "N. and McLaren"=>"N. and McLaren"}>, "publisher"=>#"Sharjah: Bentham Science Publishers"} @key_filter={"family"=>"family"} @value_filter={"Sharjah: Bentham Science Publishers"=>"Sharjah: Bentham Science Publishers"}>, "title"=>#"Use of the Argunaut system in the classroom"} @key_filter={"value"=>"value"} @value_filter={"Use of the Argunaut system in the classroom"=>"Use of the Argunaut system in the classroom"}>, "issued"=>#[[2010]]} @key_filter={"date-parts"=>"date-parts", "literal"=>"literal"} @value_filter={[[2010]]=>[[2010]]}>} @key_filter={"id"=>"id", "prefix"=>"prefix", "author"=>"author", "issued"=>"issued", "type"=>"type", "shortTitle"=>"shortTitle", "short-title"=>"short-title", "title"=>"title", "editor"=>"editor"} @observer_state=false @observer_peers={## @parent=# @layout=# @attributes={} @children=[# @parent=# @attributes={"delimiter"=>", "} @children=[# @parent=# @attributes={"macro"=>"author-short", "text-case"=>nil, "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil, "strip-periods"=>nil} @children=[] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>, # @parent=# @attributes={"macro"=>"issued-year", "text-case"=>nil, "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil, "strip-periods"=>nil} @children=[] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>, # @parent=# @attributes={"macro"=>"citation-locator", "text-case"=>nil, "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil, "strip-periods"=>nil} @children=[] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"}>]> @children=[#"author"} @parent=#>, #"issued"} @parent=#>] @parent=#>] @attributes={"delimiter"=>"; ", "suffix"=>")", "prefix"=>"("} @key_filter={"delimiter"=>"delimiter", "suffix"=>"suffix", "prefix"=>"prefix"} @value_filter={"; "=>"; ", ")"=>")", "("=>"("}>, :bibliography=># @parent=# @layout=# @attributes={"suffix"=>"."} @children=[# @parent=# @attributes={"macro"=>"author", "suffix"=>"."} @children=[] @key_filter={"value"=>"value", "macro"=>"macro", "quotes"=>"quotes"}>, # @parent=# @attributes={"macro"=>"issued", "suffix"=>" "} @children=[] @key_filter={"value"=>"value", "macro"=>"macro", "quotes"=>"quotes"}>, #, # @parent=# @attributes={"macro"=>"locators"} @children=[]>, # @parent=# @attributes={"delimiter"=>". ", "prefix"=>". "} @children=[# @parent=# @attributes={"macro"=>"publisher", "text-case"=>nil, "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil, "strip-periods"=>nil} @children=[] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>, # @parent=# @attributes={"macro"=>"access", "text-case"=>nil, "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil, "strip-periods"=>nil} @children=[] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"}>]> @children=[#"author"} @parent=#>, #"issued"} @parent=#>] @parent=#>]>, :locales=>[], :info=>{"title"=>"American Psychological Association", "id"=>"http://www.zotero.org/styles/apa", "link"=>"", "author"=>"Simon Kornblithsimon@simonster.com", "contributor"=>"Richard Karneskykarnesky+zotero@gmail.comhttp://arc.nucapt.northwestern.edu/Richard_Karnesky", "category"=>"", "updated"=>""}, :options=>{"class"=>"in-text", "lang"=>"en"}, :macros=>{"container-contributors"=># @attributes={"name"=>"container-contributors"} @children=[# @parent=# @children=[# @parent=# @attributes={"type"=>"chapter"} @children=[# @parent=# @attributes={"suffix"=>" ", "term"=>"in", "text-case"=>"capitalize-first"} @children=[] @key_filter={"value"=>"value", "macro"=>"macro", "term"=>"term", "quotes"=>"quotes"}>, # @parent=# @attributes={"delimiter"=>", ", "suffix"=>", ", "variable"=>"editor translator"} @children=[# @parent=# @attributes={"and"=>"symbol", "delimiter"=>", ", "initialize-with"=>". ", "delimiter-precedes-last"=>"false", "et-al-min"=>nil, "et-al-use-first"=>"1", "et-al-subsequent-min"=>nil, "et-al-subsequent-use-first"=>nil, "name-as-sort-order"=>nil, "sort-separator"=>nil, "delimiter-precedes-et-al"=>nil, "form"=>nil, "demote-non-dropping-particle"=>nil, "initialize-with-hyphen"=>nil} @children=[] @key_filter={"and"=>"and", "delimiter-precedes-last"=>"delimiter-precedes-last", "et-al-min"=>"et-al-min", "et-al-use-first"=>"et-al-use-first", "et-al-subsequent-min"=>"et-al-subsequent-min", "et-al-subsequent-use-first"=>"et-al-subsequent-use-first", "initialize-with"=>"initialize-with", "name-as-sort-order"=>"name-as-sort-order", "sort-separator"=>"sort-separator", "delimiter-precedes-et-al"=>"delimiter-precedes-et-al", "form"=>"form", "delimiter"=>"delimiter", "demote-non-dropping-particle"=>"demote-non-dropping-particle", "initialize-with-hyphen"=>"initialize-with-hyphen"} @value_filter={nil=>nil}>, # @parent=# @attributes={"form"=>"short", "prefix"=>" (", "suffix"=>".)", "text-case"=>"capitalize-first"} @children=[]>] @key_filter={"delimiter"=>"delimiter", "variable"=>"variable"}>] @key_filter={"disambiguate"=>"disambiguate", "is-numeric"=>"is-numeric", "is-uncertain-date"=>"is-uncertain-date", "locator"=>"locator", "position"=>"position", "type"=>"type", "match"=>"match"}>]>]>, "secondary-contributors"=># @attributes={"name"=>"secondary-contributors"} @children=[# @parent=# @children=[# @parent=# @attributes={"match"=>"none", "type"=>"chapter"} @children=[# @parent=# @attributes={"delimiter"=>", ", "prefix"=>" (", "suffix"=>")", "variable"=>"editor translator"} @children=[# @parent=# @attributes={"and"=>"symbol", "delimiter"=>", ", "initialize-with"=>". ", "delimiter-precedes-last"=>"false", "et-al-min"=>nil, "et-al-use-first"=>"1", "et-al-subsequent-min"=>nil, "et-al-subsequent-use-first"=>nil, "name-as-sort-order"=>nil, "sort-separator"=>nil, "delimiter-precedes-et-al"=>nil, "form"=>nil, "demote-non-dropping-particle"=>nil, "initialize-with-hyphen"=>nil} @children=[] @key_filter={"and"=>"and", "delimiter-precedes-last"=>"delimiter-precedes-last", "et-al-min"=>"et-al-min", "et-al-use-first"=>"et-al-use-first", "et-al-subsequent-min"=>"et-al-subsequent-min", "et-al-subsequent-use-first"=>"et-al-subsequent-use-first", "initialize-with"=>"initialize-with", "name-as-sort-order"=>"name-as-sort-order", "sort-separator"=>"sort-separator", "delimiter-precedes-et-al"=>"delimiter-precedes-et-al", "form"=>"form", "delimiter"=>"delimiter", "demote-non-dropping-particle"=>"demote-non-dropping-particle", "initialize-with-hyphen"=>"initialize-with-hyphen"} @value_filter={nil=>nil}>, # @parent=# @attributes={"form"=>"short", "prefix"=>", ", "suffix"=>".", "text-case"=>"capitalize-first"} @children=[]>] @key_filter={"delimiter"=>"delimiter"}>]>]>]>, "author"=># @attributes={"name"=>"author"} @children=[# @parent=# @attributes={"variable"=>"author", "delimiter"=>nil} @children=[# @parent=# @attributes={"and"=>"symbol", "delimiter"=>", ", "delimiter-precedes-last"=>"always", "initialize-with"=>". ", "name-as-sort-order"=>"all", "sort-separator"=>", ", "et-al-min"=>nil, "et-al-use-first"=>"1", "et-al-subsequent-min"=>nil, "et-al-subsequent-use-first"=>nil, "delimiter-precedes-et-al"=>nil, "form"=>nil, "demote-non-dropping-particle"=>nil, "initialize-with-hyphen"=>nil} @children=[] @key_filter={"and"=>"and", "delimiter-precedes-last"=>"delimiter-precedes-last", "et-al-min"=>"et-al-min", "et-al-use-first"=>"et-al-use-first", "et-al-subsequent-min"=>"et-al-subsequent-min", "et-al-subsequent-use-first"=>"et-al-subsequent-use-first", "initialize-with"=>"initialize-with", "name-as-sort-order"=>"name-as-sort-order", "sort-separator"=>"sort-separator", "delimiter-precedes-et-al"=>"delimiter-precedes-et-al", "form"=>"form", "delimiter"=>"delimiter", "demote-non-dropping-particle"=>"demote-non-dropping-particle", "initialize-with-hyphen"=>"initialize-with-hyphen"} @value_filter={nil=>nil}>, # @parent=# @attributes={"form"=>"short", "prefix"=>" (", "suffix"=>".)", "text-case"=>"capitalize-first"} @children=[]>, # @parent=# @children=[# @parent=# @attributes={"variable"=>"editor", "delimiter"=>nil} @children=[] @key_filter={"delimiter"=>"delimiter"} @value_filter={nil=>nil}>, # @parent=# @attributes={"variable"=>"translator", "delimiter"=>nil} @children=[] @key_filter={"delimiter"=>"delimiter"} @value_filter={nil=>nil}>, # @parent=# @attributes={"macro"=>"title"} @children=[]>]>] @key_filter={"delimiter"=>"delimiter", "variable"=>"variable"} @value_filter={nil=>nil}>]>, "author-short"=># @attributes={"name"=>"author-short"} @children=[# @parent=# @attributes={"variable"=>"author", "delimiter"=>nil} @children=[# @parent=# @attributes={"and"=>"symbol", "delimiter"=>", ", "form"=>"short", "initialize-with"=>". ", "delimiter-precedes-last"=>"false", "et-al-min"=>nil, "et-al-use-first"=>"1", "et-al-subsequent-min"=>nil, "et-al-subsequent-use-first"=>nil, "name-as-sort-order"=>nil, "sort-separator"=>nil, "delimiter-precedes-et-al"=>nil, "demote-non-dropping-particle"=>nil, "initialize-with-hyphen"=>nil} @children=[] @key_filter={"and"=>"and", "delimiter-precedes-last"=>"delimiter-precedes-last", "et-al-min"=>"et-al-min", "et-al-use-first"=>"et-al-use-first", "et-al-subsequent-min"=>"et-al-subsequent-min", "et-al-subsequent-use-first"=>"et-al-subsequent-use-first", "initialize-with"=>"initialize-with", "name-as-sort-order"=>"name-as-sort-order", "sort-separator"=>"sort-separator", "delimiter-precedes-et-al"=>"delimiter-precedes-et-al", "form"=>"form", "delimiter"=>"delimiter", "demote-non-dropping-particle"=>"demote-non-dropping-particle", "initialize-with-hyphen"=>"initialize-with-hyphen"} @value_filter={nil=>nil}>, # @parent=# @children=[# @parent=# @attributes={"variable"=>"editor", "delimiter"=>nil} @children=[] @key_filter={"delimiter"=>"delimiter"} @value_filter={nil=>nil}>, # @parent=# @attributes={"variable"=>"translator", "delimiter"=>nil} @children=[] @key_filter={"delimiter"=>"delimiter"} @value_filter={nil=>nil}>, # @parent=# @children=[# @parent=# @attributes={"type"=>"book"} @children=[# @parent=# @attributes={"font-style"=>"italic", "form"=>"short", "variable"=>"title"} @children=[]>]>, # @parent=# @children=[# @parent=# @attributes={"form"=>"short", "quotes"=>"true", "variable"=>"title"} @children=[]>]>]>]>] @key_filter={"delimiter"=>"delimiter"} @value_filter={nil=>nil}>]>, "access"=># @attributes={"name"=>"access"} @children=[# @parent=# @children=[# @parent=# @attributes={"variable"=>"DOI"} @children=[# @parent=# @attributes={"prefix"=>"doi: ", "variable"=>"DOI"} @children=[]>]>, # @parent=# @children=[# @parent=# @children=[# @parent=# @attributes={"suffix"=>" ", "term"=>"retrieved", "text-case"=>"capitalize-first", "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil, "strip-periods"=>nil} @children=[] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>, # @parent=# @attributes={"suffix"=>", ", "variable"=>"accessed", "text-case"=>nil, "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil, "strip-periods"=>nil} @children=[# @parent=# @attributes={"name"=>"month", "suffix"=>" ", "range-delimiter"=>"–"} @children=[] @key_filter={"range-delimiter"=>"range-delimiter"} @value_filter={"–"=>"–"}>, # @parent=# @attributes={"name"=>"day", "suffix"=>", ", "range-delimiter"=>"–"} @children=[] @key_filter={"range-delimiter"=>"range-delimiter"} @value_filter={"–"=>"–"}>, # @parent=# @attributes={"name"=>"year", "range-delimiter"=>"–"} @children=[] @key_filter={"range-delimiter"=>"range-delimiter"} @value_filter={"–"=>"–"}>] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>, # @parent=# @children=[# @parent=# @attributes={"suffix"=>" ", "term"=>"from", "text-case"=>nil, "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil, "strip-periods"=>nil} @children=[] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>, # @parent=# @attributes={"variable"=>"URL", "text-case"=>nil, "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil, "strip-periods"=>nil} @children=[] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>] @attributes={"text-case"=>nil, "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil, "strip-periods"=>nil} @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>] @attributes={} @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"}>]>]>]>, "title"=># @attributes={"name"=>"title"} @children=[# @parent=# @children=[# @parent=# @attributes={"match"=>"any", "type"=>"book thesis"} @children=[# @parent=# @attributes={"font-style"=>"italic", "variable"=>"title"} @children=[]>] @key_filter={"disambiguate"=>"disambiguate", "is-numeric"=>"is-numeric", "is-uncertain-date"=>"is-uncertain-date", "locator"=>"locator", "position"=>"position", "type"=>"type", "match"=>"match"}>, # @parent=# @children=[# @parent=# @attributes={"variable"=>"title", "form"=>nil} @children=[] @key_filter={"value"=>"value", "macro"=>"macro", "term"=>"term", "variable"=>"variable", "form"=>"form", "quotes"=>"quotes"} @value_filter={nil=>nil}>] @attributes={} @key_filter={"disambiguate"=>"disambiguate", "is-numeric"=>"is-numeric", "is-uncertain-date"=>"is-uncertain-date", "locator"=>"locator", "position"=>"position", "type"=>"type", "variable"=>"variable"}>]>]>, "publisher"=># @attributes={"name"=>"publisher"} @children=[# @parent=# @attributes={"suffix"=>", ", "variable"=>"genre"} @children=[]>, # @parent=# @attributes={"delimiter"=>": "} @children=[# @parent=# @attributes={"variable"=>"publisher-place", "text-case"=>nil, "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil, "strip-periods"=>nil} @children=[] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>, # @parent=# @attributes={"variable"=>"publisher", "text-case"=>nil, "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil, "strip-periods"=>nil} @children=[] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"}>]>, "event"=># @attributes={"name"=>"event"} @children=[# @parent=# @attributes={"variable"=>"event"} @children=[]>, # @parent=# @attributes={"prefix"=>", ", "variable"=>"event-place"} @children=[]>]>, "issued"=># @attributes={"name"=>"issued"} @children=[# @parent=# @children=[# @parent=# @attributes={"variable"=>"issued"} @children=[# @parent=# @attributes={"prefix"=>" (", "suffix"=>").", "delimiter"=>nil} @children=[# @parent=# @attributes={"variable"=>"issued", "text-case"=>nil, "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil, "strip-periods"=>nil, "delimiter"=>nil} @children=[# @parent=# @attributes={"name"=>"year", "range-delimiter"=>"–", "form"=>nil} @children=[] @key_filter={"range-delimiter"=>"range-delimiter", "name"=>"name", "form"=>"form"} @value_filter={"–"=>"–", nil=>nil}>] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods", "variable"=>"variable", "form"=>"form", "delimiter"=>"delimiter"} @value_filter={nil=>nil}>, # @parent=# @children=[# @parent=# @attributes={"match"=>"none", "type"=>"book chapter article-journal"} @children=[# @parent=# @attributes={"variable"=>"issued"} @children=[# @parent=# @attributes={"name"=>"month", "prefix"=>", ", "range-delimiter"=>"–"} @children=[] @key_filter={"range-delimiter"=>"range-delimiter"} @value_filter={"–"=>"–"}>, # @parent=# @attributes={"name"=>"day", "prefix"=>" ", "range-delimiter"=>"–"} @children=[] @key_filter={"range-delimiter"=>"range-delimiter"} @value_filter={"–"=>"–"}>]>] @key_filter={"disambiguate"=>"disambiguate", "is-numeric"=>"is-numeric", "is-uncertain-date"=>"is-uncertain-date", "locator"=>"locator", "position"=>"position", "type"=>"type", "match"=>"match"}>] @attributes={"text-case"=>nil, "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil, "strip-periods"=>nil} @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods", "delimiter"=>"delimiter"} @variables=[["issued", #[[2010]]} @key_filter={"date-parts"=>"date-parts", "literal"=>"literal"} @value_filter={[[2010]]=>[[2010]]}>], ["type", #"chapter"} @key_filter={"value"=>"value"} @value_filter={"chapter"=>"chapter"}>], ["type", #"chapter"} @key_filter={"value"=>"value"} @value_filter={"chapter"=>"chapter"}>]] @value_filter={nil=>nil}>] @key_filter={"disambiguate"=>"disambiguate", "is-numeric"=>"is-numeric", "is-uncertain-date"=>"is-uncertain-date", "locator"=>"locator", "position"=>"position", "type"=>"type", "variable"=>"variable", "match"=>"match"}>, # @parent=# @children=[# @parent=# @attributes={"prefix"=>" (", "suffix"=>").", "term"=>"no date"} @children=[]>]>]>]>, "issued-year"=># @attributes={"name"=>"issued-year"} @children=[# @parent=# @children=[# @parent=# @attributes={"variable"=>"issued"} @children=[# @parent=# @attributes={"variable"=>"issued"} @children=[# @parent=# @attributes={"name"=>"year", "range-delimiter"=>"–"} @children=[] @key_filter={"range-delimiter"=>"range-delimiter"} @value_filter={"–"=>"–"}>]>]>, # @parent=# @children=[# @parent=# @attributes={"form"=>"short", "term"=>"no date"} @children=[]>]>]>]>, "edition"=># @attributes={"name"=>"edition"} @children=[# @parent=# @children=[# @parent=# @attributes={"is-numeric"=>"edition"} @children=[# @parent=# @attributes={"delimiter"=>" "} @children=[# @parent=# @attributes={"form"=>"ordinal", "variable"=>"edition", "text-case"=>nil, "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil, "strip-periods"=>nil} @children=[] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>, # @parent=# @attributes={"form"=>"short", "suffix"=>".", "term"=>"edition", "text-case"=>nil, "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil, "strip-periods"=>nil} @children=[] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"}>]>, # @parent=# @children=[# @parent=# @attributes={"suffix"=>".", "variable"=>"edition"} @children=[]>]>]>]>, "locators"=># @attributes={"name"=>"locators"} @children=[# @parent=# @children=[# @parent=# @attributes={"match"=>"any", "type"=>"article-journal article-magazine article-newspaper"} @children=[# @parent=# @attributes={"delimiter"=>", ", "prefix"=>", "} @children=[# @parent=# @children=[# @parent=# @attributes={"font-style"=>"italic", "variable"=>"volume", "text-case"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil, "strip-periods"=>nil} @children=[] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>, # @parent=# @attributes={"prefix"=>"(", "suffix"=>")", "variable"=>"issue", "text-case"=>nil, "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil, "strip-periods"=>nil} @children=[] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>] @attributes={"text-case"=>nil, "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil, "strip-periods"=>nil} @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>, # @parent=# @attributes={"variable"=>"page", "text-case"=>nil, "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil, "strip-periods"=>nil} @children=[] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"}>]>, # @parent=# @attributes={"match"=>"any", "type"=>"book chapter"} @children=[# @parent=# @attributes={"delimiter"=>", ", "prefix"=>" (", "suffix"=>")"} @children=[# @parent=# @attributes={"macro"=>"edition", "text-case"=>nil, "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil, "strip-periods"=>nil} @children=[] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>, # @parent=# @children=[# @parent=# @attributes={"form"=>"short", "plural"=>"true", "suffix"=>". ", "term"=>"volume", "text-case"=>"capitalize-first", "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil, "strip-periods"=>nil} @children=[] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>, # @parent=# @attributes={"form"=>"numeric", "prefix"=>"1-", "variable"=>"number-of-volumes", "text-case"=>nil, "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil, "strip-periods"=>nil} @children=[] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>] @attributes={"text-case"=>nil, "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil, "strip-periods"=>nil} @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>, # @parent=# @children=[# @parent=# @attributes={"form"=>"short", "suffix"=>". ", "term"=>"volume", "text-case"=>"capitalize-first", "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil, "strip-periods"=>nil} @children=[] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>, # @parent=# @attributes={"form"=>"numeric", "variable"=>"volume", "text-case"=>nil, "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil, "strip-periods"=>nil} @children=[] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>] @attributes={"text-case"=>nil, "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil, "strip-periods"=>nil} @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>, # @parent=# @children=[# @parent=# @attributes={"form"=>"short", "strip-periods"=>"false", "suffix"=>" ", "variable"=>"page", "text-case"=>nil, "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil} @children=[] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>, # @parent=# @attributes={"variable"=>"page", "text-case"=>nil, "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil, "strip-periods"=>nil} @children=[] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>] @attributes={"text-case"=>nil, "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil, "strip-periods"=>nil} @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"}>]>]>]>, "citation-locator"=># @attributes={"name"=>"citation-locator"} @children=[# @parent=# @children=[# @parent=# @attributes={"form"=>"short", "strip-periods"=>"false", "variable"=>"locator", "text-case"=>nil, "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil} @children=[] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>, # @parent=# @attributes={"prefix"=>" ", "variable"=>"locator", "text-case"=>nil, "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil, "strip-periods"=>nil} @children=[] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>] @attributes={} @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"}>]>}}> @parent=## @parent=# @layout=# @attributes={} @children=[# @parent=# @attributes={"delimiter"=>", "} @children=[# @parent=# @attributes={"macro"=>"author-short", "text-case"=>nil, "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil, "strip-periods"=>nil} @children=[] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>, # @parent=# @attributes={"macro"=>"issued-year", "text-case"=>nil, "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil, "strip-periods"=>nil} @children=[] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>, # @parent=# @attributes={"macro"=>"citation-locator", "text-case"=>nil, "font-style"=>nil, "font-variant"=>nil, "font-weight"=>nil, "text-decoration"=>nil, "vertical-align"=>nil, "display"=>nil, "strip-periods"=>nil} @children=[] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"} @value_filter={nil=>nil}>] @key_filter={"text-case"=>"text-case", "font-style"=>"font-style", "font-variant"=>"font-variant", "font-weight"=>"font-weight", "text-decoration"=>"text-decoration", "vertical-align"=>"vertical-align", "display"=>"display", "strip-periods"=>"strip-periods"}>]> @children=[#"author"} @parent=#>, #"issued"} @parent=#>] @parent=#>] @attributes={"delimiter"=>"; ", "suffix"=>")", "prefix"=>"("} @key_filter={"delimiter"=>"delimiter", "suffix"=>"suffix", "prefix"=>"prefix"} @value_filter={"; "=>"; ", ")"=>")", "("=>"("}>, :bibliography=># @parent=# @layout=# @children=[#"author"} @parent=#>, #"issued"} @parent=#>] @parent=#>]>, :locales=>[], :info=>{"title"=>"American Psychological Association", "id"=>"http://www.zotero.org/styles/apa", "link"=>"", "author"=>"Simon Kornblithsimon@simonster.com", "contributor"=>"Richard Karneskykarnesky+zotero@gmail.comhttp://arc.nucapt.northwestern.edu/Richard_Karnesky", "category"=>"", "updated"=>""}, :options=>{"class"=>"in-text", "lang"=>"en"}, :macros=>{"container-contributors"=># @attributes={"name"=>"container-contributors"} @children=[# @parent=# @children=[# @parent=# @attributes={"type"=>"chapter"} @children=[# @parent=# @attributes={"suffix"=>" ", "term"=>"in", "text-case"=>"capitalize-first"} @children=[] @key_filter={"value"=>"value", "macro"=>"macro", "term"=>"term", "quotes"=>"quotes"}>, # @parent=# @attributes={"delimiter"=>", ", "suffix"=>", ", "variable"=>"editor translator"} @children=[# @parent=# @attributes={"and"=>"symbol", "delimiter"=>", ", "initialize-with"=>". ", "delimiter-precedes-last"=>"false", "et-al-min"=>nil, "et-al-use-first"=>"1", "et-al-subsequent-min"=>nil, "et-al-subsequent-use-first"=>nil, "name-as-sort-order"=>nil, "sort-separator"=>nil, "delimiter-precedes-et-al"=>nil, "form"=>nil, "demote-non-dropping-particle"=>nil, "initialize-with-hyphen"=>nil} @children=[] @key_filter={"and"=>"and", "delimiter-precedes-last"=>"delimiter-precedes-last", "et-al-min"=>"et-al-min", "et-al-use-first"=>"et-al-use-first", "et-al-subsequent-min"=>"et-al-subsequent-min", "et-al-subsequent-use-first"=>"et-al-subsequent-use-first", "initialize-with"=>"initialize-with", "name-as-sort-order"=>"name-as-sort-order", "sort-separator"=>"sort-separator", "delimiter-precedes-et-al"=>"delimiter-precedes-et-al", "form"=>"form", "delimiter"=>"delimiter", "demote-non-dropping-particle"=>"demote-non-dropping-particle", "initialize-with-hyphen"=>"initialize-with-hyphen"} @value_filter={nil=>nil}>, # @parent=# @attributes={"form"=>"short", "prefix"=>" (", "suffix"=>".)", "text-case"=>"capitalize-first"} @children=[]>] @key_filter={"delimiter"=>"delimiter", "variable"=>"variable"}>] @key_filter={"disambiguate"=>"disambiguate", "is-numeric"=>"is-numeric", "is-uncertain-date"=>"is-uncertain-date", "locator"=>"locator", "position"=>"position", "type"=>"type", "match"=>"match"}>]>]>, "secondary-contributors"=># @attributes={"name"=>"secondary-contributors"} @children=[# @parent=# @children=[# @parent=# @attributes={"match"=>"none", "type"=>"chapter"} @children=[# @parent=# @attributes={"delimiter"=>", ", "prefix"=>" (", "suffix"=>")", "variable"=>"editor translator"} @children=[# @parent=# @attributes={"and"=>"symbol", "delimiter"=>", ", "initialize-with"=>". ", "delimiter-precedes-last"=>"false", "et-al-min"=>nil, "et-al-use-first"=>"1", "et-al-subsequent-min"=>nil, "et-al-subsequent-use-first"=>nil, "name-as-sort-order"=>nil, "sort-separator"=>nil, "delimiter-precedes-et-al"=>nil, "form"=>nil, "demote-non-dropping-particle"=>nil, "initialize-with-hyphen"=>nil} @children=[] @key_filter={"and"=>"and", "delimiter-precedes-last"=>"delimiter-precedes-last", "et-al-min"=>"et-al-min", "et-al-use-first"=>"et-al-use-first", "et-al-subsequent-min"=>"et-al-subsequent-min", "et-al-subsequent-use-first"=>"et-al-subsequent-use-first", "initialize-with"=>"initialize-with", "name-as-sort-order"=>"name-as-sort-order", "sort-separator"=>"sort-separator", "delimiter-precedes-et-al"=>"delimiter-precedes-et-al", "form"=>"form", "delimiter"=>"delimiter", "demote-non-dropping-particle"=>"demote-non-dropping-particle", "initialize-with-hyphen"=>"initialize-with-hyphen"} @value_filter={nil=>nil}>, # @parent=# @attributes={"form"=>"short", "prefix"=>", ", "suffix"=>".", "text-case"=>"capitalize-first"} @children=[]>] @key_filter={"delimiter"=>"delimiter"}>]>]>]>, "author"=># @attributes={"name"=>"author"} @children=[# @parent=# @attributes={"variable"=>"author", "delimiter"=>nil} @children=[# @parent=# @attributes={"and"=>"symbol", "delimiter"=>", ", "delimiter-precedes-last"=>"always", "initialize-with"=>". ", "name-as-sort-order"=>"all", "sort-separator"=>", ", "et-al-min"=>nil, "et-al-use-first"=>"1", "et-al-subsequent-min"=>nil, "et-al-subsequent-use-first"=>nil, "delimiter-precedes-et-al"=>nil, "form"=>nil, "demote-non-dropping-particle"=>nil, "initialize-with-hyphen"=>nil} @children=[] @key_filter={"and"=>"and", "delimiter-precedes-last"=>"delimiter-precedes-last", "et-al-min"=>"et-al-min", "et-al-use-first"=>"et-al-use-first", "et-al-subsequent-min"=>"et-al-subsequent-min", "et-al-subsequent-use-first"=>"et-al-subsequent-use-first", "initialize-with"=>"initialize-with", "name-as-sort-order"=>"name-as-sort-order", "sort-separator"=>"sort-separator", "delimiter-precedes-et-al"=>"delimiter-precedes-et-al", "form"=>"form", "delimiter"=>"delimiter", "demote-non-dropping-particle"=>"demote-non-dropping-particle", "initialize-with