diff --git a/CHANGELOG.md b/CHANGELOG.md index 86ebc655..9f8935a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,10 +11,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add support for multiple bibliographies (`refsection` environment). - Add global `ref-section` option. +- Add support for `biber`'s `%`-style inline comment in `.bib` files. ### Fixed - Fix an infinite loop bug of unrecognized `babel` language name ([#65](https://github.com/zepinglee/citeproc-lua/issues/65)). +- BibTeX parser: Fix hyphen in family name. +- Fix a bug in EDTF parsing. +- Bib2csl: Fix a sentence case conversion bug that words after colons are not capitalized. ## [0.5.1] - 2024-07-10 @@ -29,13 +33,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add `\fullcite` command ([#64](https://github.com/zepinglee/citeproc-lua/issues/64)). - Add support for annotated bibliography ([#64](https://github.com/zepinglee/citeproc-lua/issues/64)). -## Changed +### Changed - Check if the `\cite` command is in a footnote. ## [0.4.9] - 2024-04-21 -## Added +### Added - Add normal paragraph style for list of references ([#60](https://github.com/zepinglee/citeproc-lua/discussions/60)). diff --git a/citeproc/citeproc-bibtex-data.lua b/citeproc/citeproc-bibtex-data.lua index 29f5a0c5..541baccb 100644 --- a/citeproc/citeproc-bibtex-data.lua +++ b/citeproc/citeproc-bibtex-data.lua @@ -1691,8 +1691,8 @@ return { type = "entrykey", }, entrysubtype = { - csl = nil, - notes = "Not supported.", + csl = "genre", + notes = "May be used to determine the entry type (article-magazine).", source = "biblatex", type = "literal", }, @@ -3182,8 +3182,8 @@ return { type = "option", }, relatedstring = { - csl = nil, - notes = "Not supported.", + csl = "genre", + notes = "The style apa.csl assumes that `genre` is entered as “Review of the book” or similar.", source = "biblatex", type = "literal", }, @@ -3778,7 +3778,7 @@ return { type = "literal", }, titleaddon = { - csl = nil, + csl = "genre", source = "biblatex", type = "literal", }, diff --git a/citeproc/citeproc-bibtex-parser.lua b/citeproc/citeproc-bibtex-parser.lua index 39f4826c..88602256 100644 --- a/citeproc/citeproc-bibtex-parser.lua +++ b/citeproc/citeproc-bibtex-parser.lua @@ -59,8 +59,10 @@ end -- Based on the grammar described at . local function get_bibtex_grammar() - local comment = (1 - P"@")^0 - local space = S(" \t\r\n")^0 + local inline_comment = P"%" * (1-P"\n")^0 * P"\n" + local comment = (inline_comment + 1 - P"@")^0 + -- local ws = S(" \t\r\n")^0 + local ws = (S" \t\r\n" + inline_comment)^0 local comment_cmd = case_insensitive_pattern("comment") local balanced = P{ "{" * V(1)^0 * "}" + (1 - S"{}") } local ident = (- R"09") * (R"\x20\x7F" - S" \t\"#%'(),={}")^1 @@ -74,31 +76,31 @@ local function get_bibtex_grammar() name = string.lower(name), } end - local value = Ct(piece * (space * P"#" * space * piece)^0) + local value = Ct(piece * (ws * P"#" * ws * piece)^0) - local string_body = Cg(ident / string.lower, "name") * space * P"=" * space * Cg(value, "contents") - local string_cmd = Ct(Cg(Cc"string", "category") * case_insensitive_pattern("string") * space * ( - P"{" * space * string_body * space * P"}" - + P"(" * space * string_body * space * P")" + local string_body = Cg(ident / string.lower, "name") * ws * P"=" * ws * Cg(value, "contents") + local string_cmd = Ct(Cg(Cc"string", "category") * case_insensitive_pattern("string") * ws * ( + P"{" * ws * string_body * ws * P"}" + + P"(" * ws * string_body * ws * P")" )) local preamble_body = Cg(value, "contents") - local preamble_cmd = Ct(Cg(Cc"preamble", "category") * case_insensitive_pattern("preamble") * space * ( - P"{" * space * preamble_body * space * P"}" - + P"(" * space * preamble_body * space * P")" + local preamble_cmd = Ct(Cg(Cc"preamble", "category") * case_insensitive_pattern("preamble") * ws * ( + P"{" * ws * preamble_body * ws * P"}" + + P"(" * ws * preamble_body * ws * P")" )) local key = (1 - S", \t}\r\n")^0 local key_paren = (1 - S", \t\r\n")^0 - local field_value_pair = (ident / string.lower) * space * P"=" * space * value -- * record_success_position() + local field_value_pair = (ident / string.lower) * ws * P"=" * ws * value -- * record_success_position() - local entry_body = Cf(Ct"" * (P"," * space * Cg(field_value_pair))^0 * (P",")^-1, rawset) - local entry = Ct(Cg(Cc"entry", "category") * Cg(ident / string.lower, "type") * space * ( - P"{" * space * Cg(key, "key") * space * Cg(entry_body, "fields")^-1 * space * (P"}") - + P"(" * space * Cg(key_paren, "key") * space * Cg(entry_body, "fields")^-1 * space * (P")") + local entry_body = Cf(Ct"" * (P"," * ws * Cg(field_value_pair))^0 * (P",")^-1, rawset) + local entry = Ct(Cg(Cc"entry", "category") * Cg(ident / string.lower, "type") * ws * ( + P"{" * ws * Cg(key, "key") * ws * Cg(entry_body, "fields")^-1 * ws * (P"}") + + P"(" * ws * Cg(key_paren, "key") * ws * Cg(entry_body, "fields")^-1 * ws * (P")") )) - local command_or_entry = P"@" * space * (comment_cmd + preamble_cmd + string_cmd + entry) + local command_or_entry = P"@" * ws * (comment_cmd + preamble_cmd + string_cmd + entry) -- The P(-1) causes nil parsing result in case of error. local bibtex_grammar = Ct(comment * (command_or_entry * comment)^0) * P(-1) @@ -440,7 +442,7 @@ function bibtex_parser._split_extended_name_format(parts) end function bibtex_parser._split_first_von_last_parts(str) - local word_sep = P"-" + P"~" + P(util.unicode['no-break space']) + local word_sep = P" " + P"~" + P(util.unicode['no-break space']) local word_tokens = Ct(C(utf8_balanced - space_char - word_sep)^0) local words_and_seps = Ct(word_tokens * (C(space + word_sep) * word_tokens)^0) local pieces = words_and_seps:match(str) diff --git a/citeproc/citeproc-bibtex2csl.lua b/citeproc/citeproc-bibtex2csl.lua index cc4cf258..86fa489e 100644 --- a/citeproc/citeproc-bibtex2csl.lua +++ b/citeproc/citeproc-bibtex2csl.lua @@ -49,6 +49,7 @@ function bibtex2csl.parse_bibtex_to_csl(str, keep_unknown_commands, case_protect local bib_data, exceptions = bibtex_parser.parse(str, strings) local csl_json_items = nil if bib_data then + -- TODO: Ideally we should load all .bib files and then resolve crossrefs and related bibtex_parser.resolve_crossrefs(bib_data.entries, bibtex_data.entries_by_id) csl_json_items = bibtex2csl.convert_to_csl_data(bib_data, keep_unknown_commands, case_protection, sentence_case_title, check_sentence_case) end @@ -66,15 +67,19 @@ function bibtex2csl.convert_to_csl_data(bib, keep_unknown_commands, case_protect local csl_data = {} -- BibTeX looks for crossref in a case-insensitive manner. - local entries_by_id = {} - for _, entry in ipairs(bib.entries) do - entries_by_id[unicode.casefold(entry.key)] = entry - end + local bib_entry_dict = {} + local csl_item_dict = {} for _, entry in ipairs(bib.entries) do + bib_entry_dict[unicode.casefold(entry.key)] = entry local item = bibtex2csl.convert_to_csl_item(entry, keep_unknown_commands, case_protection, sentence_case_title, check_sentence_case) + table.insert(csl_data, item) + csl_item_dict[item.id] = item end + + bibtex2csl.resolve_related(csl_item_dict, bib_entry_dict) + return csl_data end @@ -157,12 +162,35 @@ function bibtex2csl.pre_process_special_fields(item, entry) -- Merge title, maintitle, subtitle, titleaddon bibtex2csl.process_titles(entry) + -- biblatex-apa + if entry.fields.howpublished then + local howpublished = string.lower(entry.fields.howpublished) + if howpublished == "advance online publication" then + -- TODO: get_locale_term("advance online publication" ) + item.status = "Advance online publication" + elseif howpublished == "manunpub" then + -- biblatex-apa + item.genre = "Unpublished Manuscript" + elseif howpublished == "maninprep" then + -- biblatex-apa + item.genre = "Manuscript in preparation" + elseif howpublished == "mansub" then + -- biblatex-apa + item.genre = "Manuscript submitted for publication" + end + end + if entry.fields.pubstate + and string.lower(entry.fields.pubstate) == "inpress" then + -- TODO: get_locale_term("advance online publication" ) + item.status = "in press" + end end ---@param entry BibtexEntry function bibtex2csl.process_titles(entry) local fields = entry.fields + -- title and subtitle if fields.subtitle then if not fields.shorttitle then fields.shorttitle = fields.title @@ -173,8 +201,10 @@ function bibtex2csl.process_titles(entry) fields.title = fields.subtitle end end + + -- booktitle and booksubtitle if fields.booksubtitle then - if not fields.shorttitle then + if not fields["container-title-short"] then fields["container-title-short"] = fields.booktitle end if fields.booktitle then @@ -183,6 +213,41 @@ function bibtex2csl.process_titles(entry) fields.booktitle = fields.booksubtitle end end + + -- mainsubtitle + if fields.mainsubtitle then + if fields.maintitle then + fields.maintitle = util.join_title(fields.maintitle, fields.mainsubtitle) + else + fields.maintitle = fields.mainsubtitle + end + end + + -- maintitle + if fields.maintitle then + if entry.type == "audio" or entry.type == "video" then + -- maintitle is the container-title + fields["container-title"] = fields.maintitle + elseif fields.booktitle then + -- maintitle is with booktitle + if not fields["volume-title"] then + fields["volume-title"] = fields.booktitle + fields.booktitle = fields.maintitle + end + else + -- maintitle is with title + if fields.title then + if not fields["volume-title"] then + fields["volume-title"] = fields.title + fields.title = fields.maintitle + end + else + -- This is unlikelu to happen. + fields.title = fields.maintitle + end + end + end + if fields.journalsubtitle then if fields.journaltitle then fields.journaltitle = util.join_title(fields.journaltitle, fields.journalsubtitle) @@ -242,8 +307,12 @@ function bibtex2csl.convert_field(bib_field, value, keep_unknown_commands, case_ end elseif field_type == "date" then - csl_value = latex_parser.latex_to_pseudo_html(value, false, false) - csl_value = bibtex2csl._parse_edtf_date(csl_value) + if string.match(value, "\\") then + -- "{\noopsort{1973c}}1981" + value = latex_parser.latex_to_pseudo_html(value, false, false) + end + -- "-3000~" should not be converted to "-3000 " + csl_value = util.parse_edtf(value) elseif bib_field == "title" or bib_field == "shorttitle" or bib_field == "booktitle" or bib_field == "container-title-short" then @@ -300,6 +369,70 @@ end function bibtex2csl.post_process_special_fields(item, entry) local bib_type = entry.type local bib_fields = entry.fields + + -- biblatex-apa + if item.type == "article-journal" and entry.fields.entrysubtype == "nonacademic" then + item.type = "article-magazine" + + elseif item.type == "motion_picture" then + if entry.fields.entrysubtype == "tvseries" then + item.type = "broadcast" + if item.genre == "tvseries" then + item.genre = "TV series" + end + elseif entry.fields.entrysubtype == "tvepisode" then + item.type = "broadcast" + if item.genre == "tvepisode" then + item.genre = "TV series episode" + end + end + + elseif item.type == "song" then + if entry.fields.entrysubtype == "podcast" then + item.type = "broadcast" + if item.genre == "podcast" then + item.genre = "Audio podcast" + end + + elseif entry.fields.entrysubtype == "podcastepisode" then + item.type = "broadcast" + if item.genre == "podcastepisode" then + item.genre = "Audio podcast episode" + end + + elseif entry.fields.entrysubtype == "interview" then + item.type = "interview" + + elseif entry.fields.entrysubtype == "speech" then + item.type = "speech" + + end + + elseif item.type == "graphic" then + item["archive-place"] = item["publisher-place"] + + if entry.fields.entrysubtype == "map" then + item.type = "map" + end + + elseif item.type == "online" then + local substype = entry.fields.entrysubtype + if substype and string.lower(substype) == "tweet" then + item.type = "post" + end + + if item.archive and not item["container-title"] then + -- If a `container-title` is present, the item is interpreted as a page contained within a larger website + item["container-title"] = item.archive + end + + end + + -- event-date + if item["event-date"] and not item.issued then + item.issued = util.deep_copy(item["event-date"]) + end + -- event-title: for compatibility with CSL v1.0.1 and earlier versions if item["event-title"] then item.event = item["event-title"] @@ -311,6 +444,15 @@ function bibtex2csl.post_process_special_fields(item, entry) util.check_journal_abbreviations(item) end + if not item.genre then + if bib_type == "phdthesis" then + -- from APA + item.genre = "Doctoral dissertation" + elseif bib_type == "mastersthesis" then + item.genre = "Master’s thesis" + end + end + -- month -- local month = bib_fields.month local month_text = bib_fields.month @@ -369,43 +511,72 @@ function bibtex2csl.post_process_special_fields(item, entry) item.PMID = bib_fields.eprint end -end - - -function bibtex2csl._parse_edtf_date(str) - local date_range = util.split(str, "/") - if #date_range == 1 then - date_range = util.split(str, util.unicode["en dash"]) - end - - local literal = { literal = str } - - if #date_range > 2 then - return literal - end + -- `APA Education [@APAEducation], (2018, June 29). College students are forming menta/-health c/ubs-and they're making a difference @washingtonpost [Thumbnail with link attached]` + -- The `[Thumbnail with link attached]` should not be italicized. + -- if bib_fields.titleaddon and item.genre and item.genre ~= bib_fields.titleaddon then + -- if item.title then + -- item.title = string.format("%s [%s]", item.title, bib_fields.titleaddon) + -- end + -- end - local date = {} - date["date-parts"] = {} - for _, date_part in ipairs(date_range) do - local date_ = bibtex2csl._parse_single_date(date_part) - if not date_ then - return literal - end - table.insert(date["date-parts"], date_) - end - return date end -function bibtex2csl._parse_single_date(str) - local date = {} - for _, date_part in ipairs(util.split(str, "%-")) do - if not string.match(date_part, "^%d+$") then - return nil +---@alias BibEntry {key: string, type: string, fields: table} + +local original_field_dict = { + author = "original-author", + issued = "original-date", + publisher = "original-publisher", + ["publisher-place"] = "original-publisher-place", + title = "original-title", +} + +local reviewed_field_dict = { + author = "reviewed-author", + genre = "reviewed-genre", + title = "reviewed-title", +} + + +---@param csl_item_dict table +---@param bib_entry_dict table +function bibtex2csl.resolve_related(csl_item_dict, bib_entry_dict) + for key, entry in pairs(bib_entry_dict) do + local related_key = entry.fields.related + local related_type = entry.fields.relatedtype + if related_key then + local related_bib_entry = bib_entry_dict[unicode.casefold(related_key)] + if related_bib_entry then + local csl_item = csl_item_dict[entry.key] + local related_csl_item = csl_item_dict[related_bib_entry.key] + if related_type == "reprintof" or related_type == "reprintfrom" then + for original_field, new_field in pairs(original_field_dict) do + if not csl_item[new_field] and related_csl_item[original_field] then + csl_item[new_field] = util.deep_copy(related_csl_item[original_field]) + end + end + + elseif related_type == "translationof" or related_type == "translationfrom" then + for original_field, new_field in pairs(original_field_dict) do + if not csl_item[new_field] and related_csl_item[original_field] then + csl_item[new_field] = util.deep_copy(related_csl_item[original_field]) + end + end + + elseif related_type == "reviewof" then + for reviewed_field, new_field in pairs(reviewed_field_dict) do + if not csl_item[new_field] and related_csl_item[reviewed_field] then + csl_item[new_field] = util.deep_copy(related_csl_item[reviewed_field]) + end + end + + end + else + util.warning(string.format('Related entry "%s" of "%s" not found.', related_key, entry.key)) + end end - table.insert(date, tonumber(date_part)) end - return date end diff --git a/citeproc/citeproc-latex-parser.lua b/citeproc/citeproc-latex-parser.lua index 9eab31b3..6cc24569 100644 --- a/citeproc/citeproc-latex-parser.lua +++ b/citeproc/citeproc-latex-parser.lua @@ -8,7 +8,7 @@ local latex_parser = {} local bibtex_parser local latex_data -local markup +local markup local util if kpse then latex_data = require("citeproc-latex-data") diff --git a/citeproc/citeproc-output.lua b/citeproc/citeproc-output.lua index ec50f433..bfbe945b 100644 --- a/citeproc/citeproc-output.lua +++ b/citeproc/citeproc-output.lua @@ -1050,10 +1050,11 @@ local function transform_each_word(str, seen_one, is_last_inline, transform) elseif uni_utf8.match(segment, "%p") then segment_type_list[i] = SegmentType.Puctuation - if segment == "!" or segment == "?" then + -- In the case of `Form ({MMPI-2-RF}): Technical Manual`, use `endswith()`. + if util.endswith(segment, "!") or util.endswith(segment, "?") then segment_type_list[i] = SegmentType.EndingPunctuation -- elseif segment == ":" or segment == "—" then - elseif segment == ":" then + elseif util.endswith(segment, ":") then -- Em dash is not taken into consideration, see "Stability—with Job" in `textcase_TitleWithEmDash.txt` segment_type_list[i] = SegmentType.Colon end @@ -1778,7 +1779,7 @@ LatexWriter.markups = { } local latex_escape_table = { - ["\\"] = "\\textbackslash{}", + ["\\"] = "\\textbackslash ", ["{"] = "\\{", ["}"] = "\\}", ["$"] = "\\$", diff --git a/citeproc/citeproc-util.lua b/citeproc/citeproc-util.lua index 42db9ce5..1cbe0dcc 100644 --- a/citeproc/citeproc-util.lua +++ b/citeproc/citeproc-util.lua @@ -1176,8 +1176,15 @@ function util.write_file(text, path) file:close() end +---@alias CslDateVariable { date-parts: (string|number)[][]?, season: string|number, circa: boolean, literal: string|number?, raw: string?} + +---@param str string +---@return CslDateVariable? function util.parse_edtf(str) + if string.match(str, "^%s*$") then + return nil + end local date = {["date-parts"] = {}} local range_parts = util.split(str, "/") for i, range_part in ipairs(range_parts) do @@ -1186,10 +1193,10 @@ function util.parse_edtf(str) end date["date-parts"][i] = {} local negative_year = false - if string.match(range_part, "^Y%-") then + if string.match(range_part, "^%-") or string.match(range_part, "^Y%-") then negative_year = true end - range_part = string.gsub(range_part, "^Y[+-]?", "") + range_part = string.gsub(range_part, "^Y?[+-]?", "") if string.match(range_part, "[?~%%]$") then date.circa = true range_part = string.gsub(range_part, "[?~%%]$", "") @@ -1204,20 +1211,34 @@ function util.parse_edtf(str) date_part = string.gsub(date_part, "X", "0") end if string.match(date_part, "^%d+$") then - date_part = tonumber(date_part) - if date_part > 0 then - date["date-parts"][i][j] = date_part + local date_part_number = tonumber(date_part) + if date_part_number > 0 then + date["date-parts"][i][j] = date_part_number else break end - else - return nil + elseif date_part ~= "" then + -- util.error(string.format('Invalid EDTF date "%s".', str)) + return { literal = str } end end if negative_year then - date["date-parts"][i][1] = - date["date-parts"][i][1] + date["date-parts"][i][1] = - 1 - date["date-parts"][i][1] end end + + local all_empty = true + for i, range_part in ipairs(date["date-parts"]) do + if #range_part > 0 then + all_empty = false + break + end + end + + if all_empty then + return nil + end + return date end diff --git a/scripts/bib-csl-mapping.md b/scripts/bib-csl-mapping.md index 2d0d4ea0..127aaf18 100644 --- a/scripts/bib-csl-mapping.md +++ b/scripts/bib-csl-mapping.md @@ -90,7 +90,7 @@ Bib(La)TeX | CSL | Notes `editortype` | - | `eid` | `number` | `entryset` | - | Not supported. -`entrysubtype` | - | Not supported. +`entrysubtype` | `genre` | May be used to determine the entry type (article-magazine). `eprint` | - | Mapped to `PMID` if `eprinttype` is "PubMed". `eprintclass` | - | `eprinttype` | `archive` | @@ -155,7 +155,7 @@ Bib(La)TeX | CSL | Notes `pubstate` | `status` | The publication state of the work, e. g., ‘in press’. `related` | - | Not supported. `relatedoptions` | - | Not supported. -`relatedstring` | - | Not supported. +`relatedstring` | `genre` | The style apa.csl assumes that `genre` is entered as “Review of the book” or similar. `relatedtype` | - | Not supported. `reprinttitle` | - | `school` | `publisher` | Alias for `institution`. @@ -174,7 +174,7 @@ Bib(La)TeX | CSL | Notes `sortyear` | - | `subtitle` | - | `title` | `title` | -`titleaddon` | - | +`titleaddon` | `genre` | `translator` | `translator` | `type` | `genre` | `url` | `URL` | diff --git a/scripts/citeproc-bibtex-data.json b/scripts/citeproc-bibtex-data.json index 70e624b1..3673d271 100644 --- a/scripts/citeproc-bibtex-data.json +++ b/scripts/citeproc-bibtex-data.json @@ -876,8 +876,8 @@ "type": "entrykey" }, "entrysubtype": { - "csl": null, - "notes": "Not supported.", + "csl": "genre", + "notes": "May be used to determine the entry type (article-magazine).", "source": "biblatex", "type": "literal" }, @@ -2367,8 +2367,8 @@ "type": "option" }, "relatedstring": { - "csl": null, - "notes": "Not supported.", + "csl": "genre", + "notes": "The style apa.csl assumes that `genre` is entered as “Review of the book” or similar.", "source": "biblatex", "type": "literal" }, @@ -2963,7 +2963,7 @@ "type": "literal" }, "titleaddon": { - "csl": null, + "csl": "genre", "source": "biblatex", "type": "literal" }, @@ -4169,6 +4169,7 @@ }, "legmaterial": { "csl": "legislation", + "notes": "APA §11.6: Legislative materials include federal testimony, hearings, bills, resolutions, reports, and related documents.", "source": "apa.dbx" }, "letter": { diff --git a/tests/bibtex-parser-test.lua b/tests/bibtex-parser-test.lua index b5efd33b..cbfbaaae 100644 --- a/tests/bibtex-parser-test.lua +++ b/tests/bibtex-parser-test.lua @@ -266,6 +266,16 @@ describe("BibTeX parser", function () ) end) + it("with hyphen in last name", function () + assert.same( + { + first = "F. Phidias", + last = "Phony-Baloney", + }, + bibtex_parser.split_name_parts("F. Phidias Phony-Baloney") + ) + end) + it('with conbinations of format "First von Last" in sec. 11 of ttb', function () assert.same( diff --git a/tests/bibtex/biblatex-examples.json b/tests/bibtex/biblatex-examples.json index ae342f78..08102026 100644 --- a/tests/bibtex/biblatex-examples.json +++ b/tests/bibtex/biblatex-examples.json @@ -9,6 +9,7 @@ } ], "container-title": "Space and beyond: The frontier theme in science fiction", + "container-title-short": "Space and beyond", "editor": [ { "family": "Westfahl", @@ -180,6 +181,7 @@ } ], "container-title": "The Journal of Narrative Technique", + "genre": "\\autocap{e}xcerpt in", "issue": "3", "issued": { "date-parts": [ @@ -305,7 +307,6 @@ { "id": "kastenholz", "type": "article-journal", - "DOI": "10.1063/1.2172593", "abstract": "The computation of ionic solvation free energies from atomistic simulations is a surprisingly difficult problem that has found no satisfactory solution for more than 15 years. The reason is that the charging free energies evaluated from such simulations are affected by very large errors. One of these is related to the choice of a specific convention for summing up the contributions of solvent charges to the electrostatic potential in the ionic cavity, namely, on the basis of point charges within entire solvent molecules (M scheme) or on the basis of individual point charges (P scheme). The use of an inappropriate convention may lead to a charge-independent offset in the calculated potential, which depends on the details of the summation scheme, on the quadrupole-moment trace of the solvent molecule, and on the approximate form used to represent electrostatic interactions in the system. However, whether the M or P scheme (if any) represents the appropriate convention is still a matter of on-going debate. The goal of the present article is to settle this long-standing controversy by carefully analyzing (both analytically and numerically) the properties of the electrostatic potential in molecular liquids (and inside cavities within them).", "author": [ { @@ -318,6 +319,7 @@ } ], "container-title": "J. Chem. Phys.", + "DOI": "10.1063/1.2172593", "issued": { "date-parts": [ [ @@ -438,7 +440,6 @@ { "id": "sarfraz", "type": "article-journal", - "ISSN": "0097-8493", "author": [ { "family": "Sarfraz", @@ -450,6 +451,7 @@ } ], "container-title": "Computers and Graphics", + "ISSN": "0097-8493", "issue": "5", "issued": { "date-parts": [ @@ -493,7 +495,6 @@ { "id": "sigfridsson", "type": "article-journal", - "DOI": "10.1002/(SICI)1096-987X(199803)19:4<377::AID-JCC1>3.0.CO;2-P", "abstract": "Four methods for deriving partial atomic charges from the quantum chemical electrostatic potential (CHELP, CHELPG, Merz-Kollman, and RESP) have been compared and critically evaluated. It is shown that charges strongly depend on how and where the potential points are selected. Two alternative methods are suggested to avoid the arbitrariness in the point-selection schemes and van der Waals exclusion radii: CHELP-BOW, which also estimates the charges from the electrostatic potential, but with potential points that are Boltzmann-weighted after their occurrence in actual simulations using the energy function of the program in which the charges will be used, and CHELMO, which estimates the charges directly from the electrostatic multipole moments. Different criteria for the quality of the charges are discussed.", "author": [ { @@ -507,6 +508,7 @@ ], "container-title": "Journal of Computational Chemistry", "container-title-short": "J Comput Chem", + "DOI": "10.1002/(SICI)1096-987X(199803)19:4<377::AID-JCC1>3.0.CO;2-P", "issue": "4", "issued": { "date-parts": [ @@ -942,9 +944,10 @@ "part": "2", "publisher": "Routledge and Kegan Paul", "publisher-place": "London", - "title": "Biographia literaria, or Biographical sketches of my literary life and opinions", + "title": "The collected works of Samuel Taylor Coleridge", "title-short": "Biographia literaria", - "volume": "7" + "volume": "7", + "volume-title": "Biographia literaria, or Biographical sketches of my literary life and opinions" }, { "id": "companion", @@ -1040,13 +1043,13 @@ { "id": "gonzalez", "type": "book", - "ISBN": "0-816-52066-6", "author": [ { "family": "Gonzalez", "given": "Ray" } ], + "ISBN": "0-816-52066-6", "issued": { "date-parts": [ [ @@ -1159,9 +1162,10 @@ "note": "The first volume of a five-volume book. Note the \\texttt{sorttitle} field. We want this volume to be listed after the entry referring to the entire five-volume set. Also note the \\texttt{indextitle} and \\texttt{indexsorttitle} fields. Indexing packages that don’t generate robust index entries require some control sequences to be protected from expansion", "publisher": "Addison-Wesley", "publisher-place": "Reading, Mass.", - "title": "The {\\TeX book}", + "title": "Computers & typesetting", "title-short": "\\TeX Book", - "volume": "A" + "volume": "A", + "volume-title": "The {\\TeX book}" }, { "id": "knuth:ct:b", @@ -1183,9 +1187,10 @@ "note": "The second volume of a five-volume book. Note the \\texttt{sorttitle} field. Also note the \\texttt{indexsorttitle} field", "publisher": "Addison-Wesley", "publisher-place": "Reading, Mass.", - "title": "{\\TeX}: The program", + "title": "Computers & typesetting", "title-short": "\\TeX", - "volume": "B" + "volume": "B", + "volume-title": "{\\TeX}: The Program" }, { "id": "knuth:ct:c", @@ -1207,9 +1212,10 @@ "note": "The third volume of a five-volume book. Note the \\texttt{sorttitle} field as well as the \\texttt{indextitle} field", "publisher": "Addison-Wesley", "publisher-place": "Reading, Mass.", - "title": "The METAFONTbook", + "title": "Computers & typesetting", "title-short": "METAFONTbook", - "volume": "C" + "volume": "C", + "volume-title": "The METAFONTbook" }, { "id": "knuth:ct:d", @@ -1231,9 +1237,10 @@ "note": "The fourth volume of a five-volume book. Note the \\texttt{sorttitle} field", "publisher": "Addison-Wesley", "publisher-place": "Reading, Mass.", - "title": "METAFONT: The program", + "title": "Computers & typesetting", "title-short": "METAFONT", - "volume": "D" + "volume": "D", + "volume-title": "METAFONT: The Program" }, { "id": "knuth:ct:e", @@ -1255,8 +1262,9 @@ "note": "The fifth volume of a five-volume book. Note the \\texttt{sorttitle} field", "publisher": "Addison-Wesley", "publisher-place": "Reading, Mass.", - "title": "Computer Modern typefaces", - "volume": "E" + "title": "Computers & typesetting", + "volume": "E", + "volume-title": "Computer Modern Typefaces" }, { "id": "knuth:ct:related", @@ -1470,6 +1478,20 @@ }, "language": "en-US", "note": "A reprint of Moore’s law. Note the \\texttt{related} and \\texttt{relatedtype} fields", + "original-author": [ + { + "family": "Moore", + "given": "Gordon E." + } + ], + "original-date": { + "date-parts": [ + [ + 1965 + ] + ] + }, + "original-title": "Cramming more components onto integrated circuits", "page": "82-85", "title": "Cramming more components onto integrated circuits", "volume": "86" @@ -1546,9 +1568,10 @@ "note": "A single volume from the critical edition of Nietzsche’s works. This \\texttt{book} entry explicitly refers to the first volume only. Note the \\texttt{title} and \\texttt{maintitle} fields. Also note the \\texttt{sorttitle} field. We want this entry to be listed after the entry referring to the entire edition", "publisher": "Deutscher Taschenbuch-Verlag and Walter de Gruyter", "publisher-place": "München and Berlin and New York", - "title": "Die Geburt der Tragödie. Unzeitgemäße Betrachtungen I–IV. Nachgelassene Schriften 1870–1973", + "title": "Sämtliche Werke: Kritische Studienausgabe", "title-short": "Sämtliche Werke I", - "volume": "1" + "volume": "1", + "volume-title": "Die Geburt der Tragödie. Unzeitgemäße Betrachtungen I–IV. Nachgelassene Schriften 1870–1973" }, { "id": "nussbaum", @@ -1688,6 +1711,23 @@ }, "language": "en-US", "note": "A translated work from \\texttt{vangennep}. Note the format of the \\texttt{related} and \\texttt{relatedtype} fields", + "original-author": [ + { + "family": "Gennep", + "given": "Arnold", + "non-dropping-particle": "van" + } + ], + "original-date": { + "date-parts": [ + [ + 1909 + ] + ] + }, + "original-publisher": "Nourry", + "original-publisher-place": "Paris", + "original-title": "Les rites de passage", "publisher": "University of Chicago Press", "title": "The rites of passage", "title-short": "Rites of passage", @@ -1807,13 +1847,13 @@ { "id": "gaonkar", "type": "book", - "ISBN": "0-822-32714-7", "editor": [ { "family": "Gaonkar", "given": "Dilip Parameshwar" } ], + "ISBN": "0-822-32714-7", "issued": { "date-parts": [ [ @@ -1830,7 +1870,6 @@ { "id": "gaonkar:in", "type": "chapter", - "ISBN": "0-822-32714-7", "author": [ { "family": "Gaonkar", @@ -1844,6 +1883,7 @@ "given": "Dilip Parameshwar" } ], + "ISBN": "0-822-32714-7", "issued": { "date-parts": [ [ @@ -1887,6 +1927,7 @@ "id": "westfahl:frontier", "type": "book", "container-title": "Space and beyond: The frontier theme in science fiction", + "container-title-short": "Space and beyond", "editor": [ { "family": "Westfahl", @@ -1922,7 +1963,7 @@ "given": "Immanuel" } ], - "container-title": "Kritik der praktischen Vernunft. Kritik der Urtheilskraft", + "container-title": "Kants Werke. Akademie Textausgabe", "issued": { "date-parts": [ [ @@ -1937,7 +1978,8 @@ "publisher-place": "Berlin", "title": "Kritik der praktischen Vernunft", "title-short": "Kritik der praktischen Vernunft", - "volume": "5" + "volume": "5", + "volume-title": "Kritik der praktischen Vernunft. Kritik der Urtheilskraft" }, { "id": "kant:ku", @@ -1954,7 +1996,7 @@ "given": "Immanuel" } ], - "container-title": "Kritik der praktischen Vernunft. Kritik der Urtheilskraft", + "container-title": "Kants Werke. Akademie Textausgabe", "issued": { "date-parts": [ [ @@ -1968,7 +2010,8 @@ "publisher": "Walter de Gruyter", "publisher-place": "Berlin", "title": "Kritik der Urtheilskraft", - "volume": "5" + "volume": "5", + "volume-title": "Kritik der praktischen Vernunft. Kritik der Urtheilskraft" }, { "id": "nietzsche:historie", @@ -1985,7 +2028,7 @@ "given": "Friedrich" } ], - "container-title": "Die Geburt der Tragödie. Unzeitgemäße Betrachtungen I–IV. Nachgelassene Schriften 1870–1973", + "container-title": "Sämtliche Werke: Kritische Studienausgabe", "editor": [ { "family": "Colli", @@ -2010,7 +2053,8 @@ "publisher-place": "München and Berlin and New York", "title": "Unzeitgemässe Betrachtungen. Zweites Stück: Vom Nutzen und Nachtheil der Historie für das Leben", "title-short": "Vom Nutzen und Nachtheil der Historie", - "volume": "1" + "volume": "1", + "volume-title": "Die Geburt der Tragödie. Unzeitgemäße Betrachtungen I–IV. Nachgelassene Schriften 1870–1973" }, { "id": "brandt", @@ -2203,8 +2247,8 @@ { "id": "cms", "type": "report", - "ISBN": "0-226-10403-6", "edition": "15", + "ISBN": "0-226-10403-6", "issued": { "date-parts": [ [ @@ -2250,7 +2294,6 @@ { "id": "ctan", "type": "webpage", - "URL": "http://www.ctan.org", "accessed": { "date-parts": [ [ @@ -2270,7 +2313,8 @@ "language": "en-US", "note": "This is an \\texttt{online} entry. The url, which is given in the \\texttt{url} field, is transformed into a clickable link if \\texttt{hyperref} support has been enabled. Note the format of the \\texttt{urldate} field (\\texttt{yyyy-mm-dd}) in the database file. Also note the \\texttt{label} field which may be used as a fallback by citation styles which need an \\texttt{author} and\\slash or a \\texttt{year}", "title": "CTAN: The Comprehensive TeX Archive Network", - "title-short": "CTAN" + "title-short": "CTAN", + "URL": "http://www.ctan.org" }, { "id": "itzhaki", @@ -2300,7 +2344,6 @@ { "id": "markey", "type": "webpage", - "URL": "http://mirror.ctan.org/info/bibtex/tamethebeast/ttb_en.pdf", "accessed": { "date-parts": [ [ @@ -2329,6 +2372,7 @@ "note": "An \\texttt{online} entry for a tutorial. Note the format of the \\texttt{date} field (\\texttt{yyyy-mm-dd}) in the database file.", "title": "Tame the BeaST: The B to X of BibTeX", "title-short": "Tame the BeaST", + "URL": "http://mirror.ctan.org/info/bibtex/tamethebeast/ttb_en.pdf", "version": "1.3" }, { diff --git a/tests/bibtex/issue-24.json b/tests/bibtex/issue-24.json index 53129146..475c5bbc 100644 --- a/tests/bibtex/issue-24.json +++ b/tests/bibtex/issue-24.json @@ -51,6 +51,7 @@ "given" : "Jasmine Anaíís" } ], + "genre" : "Doctoral dissertation", "id" : "Berry2020", "issued" : { "date-parts" : [ @@ -89,6 +90,7 @@ "given" : "Olivier" } ], + "genre" : "Doctoral dissertation", "id" : "Bruls2005", "issued" : { "date-parts" : [ diff --git a/tests/bibtex/xampl.json b/tests/bibtex/xampl.json index 859e9eba..71d9f123 100644 --- a/tests/bibtex/xampl.json +++ b/tests/bibtex/xampl.json @@ -223,9 +223,6 @@ } ], "collection-title": "Four volumes", - "issued": { - "literal": "" - }, "note": "Seven volumes planned (this is a cross-referenced set of BOOKs)", "publisher": "Addison-Wesley", "title": "The art of computer programming" @@ -430,6 +427,7 @@ "given": "Édouard" } ], + "genre": "Master’s thesis", "issued": { "date-parts": [ [ @@ -660,10 +658,11 @@ "type": "thesis", "author": [ { - "family": "Baloney", - "given": "F. Phidias Phony" + "family": "Phony-Baloney", + "given": "F. Phidias" } ], + "genre": "Doctoral dissertation", "issued": { "date-parts": [ [ @@ -679,8 +678,8 @@ "type": "thesis", "author": [ { - "family": "Baloney", - "given": "F. Phidias Phony" + "family": "Phony-Baloney", + "given": "F. Phidias" } ], "genre": "PhD Dissertation", diff --git a/tests/edtf-test.lua b/tests/edtf-test.lua index db29fd26..8b90a76a 100644 --- a/tests/edtf-test.lua +++ b/tests/edtf-test.lua @@ -148,7 +148,7 @@ describe("EDTF", function () assert.same({ ["date-parts"] = { - {-170000002}, + {-170000003}, }, }, util.parse_edtf("Y-170000002")) end) @@ -233,6 +233,16 @@ describe("EDTF", function () circa = true, }, util.parse_edtf("1985-XX-XX")) end) + + -- biblatex-apap-test-references.bib 10.2:36 + it("AD", function () + assert.same({ + ["date-parts"] = { + {-350}, + }, + circa = true, + }, util.parse_edtf("-0349~")) + end) end) end) end) diff --git a/tests/latex-parser-test.lua b/tests/latex-parser-test.lua index 1a369861..477c0e79 100644 --- a/tests/latex-parser-test.lua +++ b/tests/latex-parser-test.lua @@ -197,6 +197,14 @@ describe("LaTeX parser", function () assert.equal(expected, res) end) + it("after colon 2", function () + -- biblatex-apa-test-references 10.11:81 + local s = "Form ({MMPI-2-RF}): Technical Manual" + local res = latex_parser.latex_to_sentence_case_pseudo_html(s, true, true, false) + local expected = 'Form (MMPI-2-RF): Technical manual' + assert.equal(expected, res) + end) + end) diff --git a/tests/latex/support/biblatex-apa-test-references.bib b/tests/latex/support/biblatex-apa-test-references.bib new file mode 100644 index 00000000..bd57925a --- /dev/null +++ b/tests/latex/support/biblatex-apa-test-references.bib @@ -0,0 +1,2785 @@ +% (APA 9.8) +@BOOK{9.8:1, + AUTHOR = {A. A. Author and B. B. Author}, + DATE = {2014} +} + +@BOOK{9.8:2, + AUTHOR = {{American Psychological Association} and {National Institutes of Health}}, + DATE = {2014} +} + +@BOOK{9.8:3, + AUTHOR = {A. A. Author and B. B. Author and C. C. Author}, + DATE = {2014} +} + +@BOOK{9.8:4, + AUTHOR = {First and Second and Third and Fourth and Fifth and Sixth and + Seventh and Eighth and Ninth and Tenth and Eleventh and Twelfth and + Thirteenth and Fourteenth and Fifteenth and Sixteenth and + Seventeenth and Eighteenth and Nineteenth and Twentieth}, + DATE = {2014} +} + +@BOOK{9.8:5, + AUTHOR = {First and Second and Third and Fourth and Fifth and Sixth and + Seventh and Eighth and Ninth and Tenth and Eleventh and Twelfth and + Thirteenth and Fourteenth and Fifteenth and Sixteenth and + Seventeenth and Eighteenth and Nineteenth and Twentieth and + Twentyfirst and Twentysecond}, + DATE = {2014} +} + +@BOOK{9.8:6, + AUTHOR = {Xu, Ai-Jun}, + DATE = {2014} +} + +% protect the hyphenated lower-case initial from being detected +@BOOK{9.8:7, + AUTHOR = {Raboso, {Lee-ann}}, + DATE = {2014} +} + +@BOOK{9.8:8, + AUTHOR = {Author, Jr., A. A. and B. B. Author}, + DATE = {2014} +} + +@BOOK{9.8:9, + AUTHOR = {K. Meyers}, + WITH = {W. T. Long}, + TITLE = {Withering Worrying}, + DATE = {2014} +} + +@BOOK{9.8:10, + AUTHOR = {Plato}, + DATE = {2014} +} + +% using the biber string annotation feature for usernames. This allows +% usernames to be attached to any name in a name list. Must call a username +% annotation "username" +@BOOK{9.8:11, + AUTHOR = {U. Author}, + AUTHOR+an:username = {1="@ausername"}, + DATE = {2014} +} + +% Testing seasons +@ARTICLE{9.14:1, + AUTHOR = {Arthur Test}, + TITLE = {Test Title}, + JOURNALTITLE = {Seasonal Journal}, + VOLUME = {33}, + NUMBER = {2}, + DATE = {2012-22} +} + +@ARTICLE{9.14:2, + AUTHOR = {Arthur Test}, + TITLE = {Test Title 2}, + JOURNALTITLE = {Seasonal Journal}, + VOLUME = {34}, + NUMBER = {3}, + DATE = {2012-22/2012-23} +} + +% (APA 9.44) +@NAMEONLY{9.44:1a, + AUTHOR = {A. S. Benjamin} +} + +@NAMEONLY{9.44:1b, + AUTHOR = {ben Yaakov, D.} +} + +@NAMEONLY{9.44:2a, + AUTHOR = {N. K. Denzin} +} + +@NAMEONLY{9.44:2b, + AUTHOR = {de Onís, C.} +} + +@NAMEONLY{9.44:2c, + AUTHOR = {J. T. Devlin} +} + +@NAMEONLY{9.44:3a, + AUTHOR = {Girard, John-Bill} +} + +@NAMEONLY{9.44:3b, + AUTHOR = {Girard-Perregaux, A. S.} +} + +@NAMEONLY{9.44:4a, + AUTHOR = {Ibn Abdulaziz, T.} +} + +@NAMEONLY{9.44:4b, + AUTHOR = {Ibn Nidal, A. K. M.} +} + +@NAMEONLY{9.44:5a, + AUTHOR = {M. E. López} +} + +@NAMEONLY{9.44:5b, + AUTHOR = {López de Molina, G.} +} + +@NAMEONLY{9.44:6a, + AUTHOR = {MacCallum, II, T.} +} + +@NAMEONLY{9.44:6b, + AUTHOR = {MacCallum, III, T.} +} + +@NAMEONLY{9.44:7a, + AUTHOR = {E. MacNeil} +} + +@NAMEONLY{9.44:7b, + AUTHOR = {Z. C. E. McAdoo} +} + +@NAMEONLY{9.44:7c, + AUTHOR = {L. L. M'Carthy} +} + +@NAMEONLY{9.44:8a, + AUTHOR = {S. R. Olson} +} + +@NAMEONLY{9.44:8b, + AUTHOR = {U. O'Neil} +} + +@NAMEONLY{9.44:8c, + AUTHOR = {R. Oppenheimer} +} + +@NAMEONLY{9.44:9a, + AUTHOR = {F. Partridge} +} + +@NAMEONLY{9.44:9b, + AUTHOR = {Plato} +} + +@NAMEONLY{9.44:10a, + AUTHOR = {San Martin, Q. E} +} + +@NAMEONLY{9.44:10b, + AUTHOR = {Santa Maria, M.} +} + +@NAMEONLY{9.44:10c, + AUTHOR = {F. E. Santayana} +} + +% Silly requirement to list "Sr" before "Jr" because it's "older" +@NAMEONLY{9.44:11a, + AUTHOR = {Santiago, Sr., J.}, + SORTNAME = {SantiagoJ1} +} + +@NAMEONLY{9.44:11b, + AUTHOR = {Santiago, Jr., J.}, + SORTNAME = {SantiagoJ2} +} + +@NAMEONLY{9.44:12a, + AUTHOR = {S. A. Villafuerte} +} + +@NAMEONLY{9.44:12b, + AUTHOR = {Villa-Lobos, J.} +} + +% (APA 9.46) +@BOOK{9.46:1, + AUTHOR = {S. N. Patel} +} + +@BOOK{9.46:2, + AUTHOR = {S. N. Patel}, + DATE = {2016} +} + +@BOOK{9.46:3, + AUTHOR = {S. N. Patel}, + DATE = {2020} +} + +@BOOK{9.46:4, + AUTHOR = {S. N. Patel}, + DATE = {2020-04} +} + +@BOOK{9.46:5, + AUTHOR = {S. N. Patel}, + PUBSTATE = {inpress} +} + +@BOOK{9.46:6, + AUTHOR = {T. E. Davidson}, + DATE = {2019} +} + +@BOOK{9.46:7, + AUTHOR = {T. E. Davidson and McCabe, M. P.}, + DATE = {2015} +} + +@BOOK{9.46:8, + AUTHOR = {Costa, Jr., P. T. and McCrae, R. R.}, + DATE = {2013} +} + +@BOOK{9.46:9, + AUTHOR = {Costa, Jr., P. T. and McCrae, R. R.}, + DATE = {2014} +} + +@BOOK{9.46:10, + AUTHOR = {T. E. Jacobson and B. Duncan and S. E. Young}, + DATE = {2019} +} + +@BOOK{9.46:11, + AUTHOR = {T. E. Jacobson and K. M. Raymond}, + DATE = {2017} +} + +@BOOK{9.46:12, + AUTHOR = {S. J. Pfeiffer and Wan-Wan Chu and S. H. Park}, + DATE = {2018} +} + +@BOOK{9.46:13, + AUTHOR = {S. J. Pfeiffer and Wan-Wan Chu and T. L. Wall}, + DATE = {2018} +} + +% (APA 9.47) +@BOOK{9.47:1, + AUTHOR = {H. Azikiwe and A. Bello}, + DATE = {2020} +} + +@BOOK{9.47:2, + AUTHOR = {H. Azikiwe and A. Bello}, + DATE = {2020-03-26} +} + +@BOOK{9.47:3, + AUTHOR = {H. Azikiwe and A. Bello}, + DATE = {2020-04-02} +} + +@ARTICLE{9.47:4, + AUTHOR = {T. A. Judge and Kammeyer-Mueller, J. D}, + TITLE = {General and Specific Measures in Organizational Behaviour Research}, + SUBTITLE = {Considerations, Examples, and Recommandations for Researchers}, + JOURNALTITLE = {Organizational Behaviour}, + VOLUME = {33}, + NUMBER = {2}, + PAGES = {161--174}, + DATE = {2012}, + DOI = {10.1002/job.764} +} + +@ARTICLE{9.47:5, + AUTHOR = {T. A. Judge and Kammeyer-Mueller, J. D}, + TITLE = {On the Value of Aiming High}, + SUBTITLE = {The Causes and Consequences of Ambition}, + JOURNALTITLE = {Journal of Applied Psychology}, + VOLUME = {97}, + NUMBER = {4}, + PAGES = {758--775}, + DATE = {2012}, + DOI = {10.1037/a0028084} +} + +% Testing title nosort options - title sorting ignores "The" "An" and "A" +% at the beginning +@BOOK{9.47:6, + AUTHOR = {A. Smith}, + TITLE = {Interesting Things}, + DATE = {2014} +} + +@BOOK{9.47:7, + AUTHOR = {A. Smith}, + TITLE = {A Litany of Special Things}, + DATE = {2014} +} + +@BOOK{9.47:8, + AUTHOR = {A. Smith}, + TITLE = {An Awful Lot of Special Things}, + DATE = {2014} +} + +@BOOK{9.47:9, + AUTHOR = {A. Smith}, + TITLE = {The Banality of Special Things}, + DATE = {2014} +} + +% Testing no date and in press extradate +@BOOK{9.47:10, + AUTHOR = {B. Brown} +} + +@BOOK{9.47:11, + AUTHOR = {B. Brown} +} + +@BOOK{9.47:12, + AUTHOR = {B. Brown}, + PUBSTATE = {inpress} +} + +@BOOK{9.47:13, + AUTHOR = {B. Brown}, + PUBSTATE = {inpress} +} + +% (APA 9.48) +@BOOK{9.48:1, + AUTHOR = {J. M. Taylor and G. J. Neimeyer}, + DATE = {2015} +} + +@BOOK{9.48:2, + AUTHOR = {T. Taylor}, + DATE = {2014} +} + +% (APA 9.49) +@BOOK{9.49:1, + AUTHOR = {Anonymous}, + TITLE = {The Pnakotic Manuscript}, + DATE = {-3000~} +} + +@BOOK{9.49:2, + TITLE = {The Book of Eibon}, + DATE = {-2000~} +} + +@BOOK{9.49:3, + AUTHOR = {A. Smith}, + TITLE = {Top 100 Silliest Reference List Sorting Requirements}, + SORTTITLE = {Top One Hundred Silliest Reference List Sorting Requirements}, + DATE = {2019} +} + +@BOOK{9.49:4, + AUTHOR = {A. Smith}, + TITLE = {Top 10 Political Pandering Epithets in Psychology}, + SORTTITLE = {Top Ten Political Pandering Epithets in Psychology}, + DATE = {2019} +} + +@ARTICLE{9.49:5, + AUTHOR = {J. Jones}, + TITLE = {Annoyingly Casual Titles}, + SUBTITLE = {How to Exhaust all Effort on the Title Alone}, + SORTTITLE = {Annoyingly Casual Titles Part 1}, + JOURNALTITLE = {Journal of the Decline of Academia}, + DATE = {2012} +} + +@ARTICLE{9.49:6, + AUTHOR = {J. Jones}, + TITLE = {Annoyingly Casual Titles}, + SUBTITLE = {Creating Titles to Distract from Vacuity}, + SORTTITLE = {Annoyingly Casual Titles Part 2}, + JOURNALTITLE = {Journal of the Decline of Academia}, + DATE = {2012} +} + +% (APA 9.51) +% Mapped to INBOOK by style sourcemap +@INCOLLECTION{9.51:1, + AUTHOR = {L. K. Barber and M. J. Grawitch and P. W. Maloney}, + EDITOR = {M. J. Grawitch and D. W. Ballard}, + TITLE = {Work-Life Balance}, + SUBTITLE = {Contemporary Perspectives}, + BOOKTITLE = {The Psychologically Healthy Workplace}, + BOOKSUBTITLE = {Building a Win-Win Environment for Organizations and Employees}, + PAGES = {111--113}, + PUBLISHER = {American Psychological Association}, + DATE = {2016}, + DOI = {10.1037/14731-006}, + ANNOTATION = {This book chapter provides an overview of the + psychosociological concept of work-life balance. The + authors discuss findings from studies showing harmful + effects of work-life conflict on psychological and + behavioural health as well as beneficial effects of + work-life facilitation, wherein one role makes a + positive contribution to the other. The chapter concludes + with a description of work-life balance initiatives that + organizations have adopted to help employees manage their + dual work and nonwork obligations and some of the key + factors influencing their effectiveness.} +} + +@ARTICLE{9.51:2, + AUTHOR = {D. S. Carlson and M. J. Thompson and K. M. Kacmar}, + TITLE = {Double Crossed}, + SUBTITLE = {The Spillover and Crossover Effect of Work Demands on + Work Outcomes Through the Family}, + JOURNALTITLE = {Journal of Applied Psychology}, + VOLUME = {104}, + NUMBER = {2}, + PAGES = {214--228}, + DATE = {2019}, + DOI = {10.1037/apl0000348}, + ANNOTATION = {\textcite{9.51:2} conducted an empirical study to + examine the multiple paths through which work and family + variables can affect work outcomes. Whereas + \textcite{9.51:1} explored how work obligations can + increase stress or enhance fulfillment at home, + \citeauthor{9.51:2} viewed work demands as raising family + stress, with potential negative consequences on work + performance. Results supported a model in which direct + effects of work demands and spillover effects of work + demands to work-to-family conflict led to a lower job + satisfaction and affective commitment, as well as + crossover effects of work-to-family conflict, spousal + stress transmission, and later family-to-work conflict on + organizational citizenship and absenteeism. Overall, the + study demonstrated a link from work demands to work + outcomes when considering the family, but those paths + differed depending on whether attitudinal or behavioural + work outcomes were examined.} +} + +% (APA 9.52) +@ARTICLE{9.52:1, + AUTHOR = {L. Angel and C. Bastin and S. Genon and E. Balteau and + C. Phillips and A. Luxen and P. Maquet and E. Salmon + and F. Collette}, + TITLE = {Differential Effects of Aging on the Neural + Correlates of Recollection and Familiarity}, + JOURNALTITLE = {Cortex}, + VOLUME = {49}, + NUMBER = {6}, + PAGES = {1585--1597}, + DATE = {2013}, + DOI = {10.1016/j.cortex.2012.10.002}, + KEYWORDS = {meta} +} + +% Mapped to INBOOK by style sourcemap +@INCOLLECTION{9.52:2, + AUTHOR = {J. R. Finley and J. G. Tullis and A. S. Benjamin}, + EDITOR = {M. S. Khine and I. M. Saleh}, + TITLE = {Metacognitive Control of Learning and Remembering}, + BOOKTITLE = {New Science of Learning}, + BOOKSUBTITLE = {Cognition, Computers and Collaboration in Education}, + PAGES = {109--131}, + PUBLISHER = {Springer}, + DATE = {2010}, + DOI = {10.1007/978-1-4419-57160_6} +} + +@ARTICLE{9.52:3, + AUTHOR = {R. Hanaki and N. Abe and T. Fujii and A. Ueno and Y. + Nishio and K. Hiraoka and T. Shimomura and O. Iizuka + and M. Shinohara and K. Hirayama and E. Mori}, + TITLE = {The Effects of Aging and Alzheimer's Disease on + Associative Recognition Memory}, + JOURNALTITLE = {Neurological Sciences}, + VOLUME = {32}, + NUMBER = {6}, + PAGES = {1115--1122}, + DATE = {2011}, + DOI = {10.1007/s10072-011-0748-4}, + KEYWORDS = {meta} +} + +@ARTICLE{9.52:4, + AUTHOR = {M. B. Hargis and A. D. Castel}, + TITLE = {Younger and Older Adults' Associative Memory for + Medication Interactions of Varying Severity}, + JOURNALTITLE = {Memory}, + VOLUME = {26}, + NUMBER = {8}, + PAGES = {1151--1158}, + DATE = {2018}, + DOI = {10.1080/09658211.2018.1441423}, +} + +% (APA 10.1 Example 1) +% Note that the URL is suppressed if there is a DOI +@ARTICLE{10.1:1, + AUTHOR = {S. M. McCauley and M. H. Christiansen}, + TITLE = {Language Learning as Language Use}, + SUBTITLE = {A Cross-Linguistic Model of Child Language Development}, + JOURNALTITLE = {Psychological Review}, + VOLUME = {126}, + NUMBER = {1}, + PAGES = {1--51}, + DATE = {2019}, + DOI = {10.1037/rev0000126}, + URL = {http://some.url} +} + +% (APA 10.1 Example 2) +@ARTICLE{10.1:2, + AUTHOR = {E. Ahmann and L. J. Tuttle and M. Saviet and S. D. Wright}, + TITLE = {A Descriptive Review of {ADHD} Coaching Research}, + SUBTITLE = {Implications for College Students}, + JOURNALTITLE = {Journal of Postsecondary Education and Disability}, + VOLUME = {31}, + NUMBER = {1}, + PAGES = {17--39}, + DATE = {2018}, + URL = {https://www.ahead.org/professional-resources/publications/jped/archived-jped/jped-volume-31} +} + +% (APA 10.1 Example 3) +@ARTICLE{10.1:3a, + AUTHOR = {M. Anderson}, + TITLE = {Getting Consistent with Consequences}, + JOURNALTITLE = {Educational Leadership}, + VOLUME = {76}, + NUMBER = {1}, + PAGES = {26-33}, + DATE = {2018} +} + +@ARTICLE{10.1:3b, + ENTRYSUBTYPE = {nonacademic}, + AUTHOR = {C. Goldman}, + TITLE = {The Complicated Calibration of Love, Especially in Adoption}, + JOURNALTITLE = {Chicago Tribune}, + DATE = {2018-11-28} +} + +% (APA 10.1 Example 4) +% This is incorrect in APA 7th as the DOI is http but the standard is https +@ARTICLE{10.1:4, + AUTHOR = {E. Kalnay and M. Kanamitsu and R. Kistler and W. + Collins and D. Deaven and L. Gandin and M. Iredell and S. + Saha and G. White and J. Wollen and Y. Zhu and M. + Chelliah and W. Ebisuzaki and W. Higgins and J. Janowiak + and K. C. Mo and C. Ropelewski and J. Wang and A. Leetma + and A. Aaron and B. Baron C. Court and D. Joseph}, + TITLE = {The {NCEP/NCAR} 40-Year Reanalysis Project}, + JOURNALTITLE = {Bulletin of the American Meteorological Society}, + VOLUME = {77}, + NUMBER = {3}, + PAGES = {437--471}, + DATE = {1996-01-01}, + DOI = {fg6rf9} +} + +% (APA 10.1 Example 5) +% Use AUTHOR for mixed people/group author lists as special formatting is only +% specified for group author lists (APA 9.8) +@ARTICLE{10.1:5, + AUTHOR = {De Vries, R. and M. Nieuwenhuijze and S. E. Buitendijk + and {the members of Midwifery Science Work Group}}, + TITLE = {What Does It Take To Have a Strong and Independent Profession of Midwifery? + {Lessons} From the {Netherlands}}, + JOURNALTITLE = {Midwifery}, + VOLUME = {29}, + NUMBER = {10}, + PAGES = {1122--1128}, + DATE = {2013}, + DOI = {10.1016/j.midw.2013.07.007} +} + +% (APA 10.1 Example 6) +@ARTICLE{10.1:6, + AUTHOR = {D. Burin and K. Kilteni and M. Rabuffetti and M. Slater and L. Pia}, + TITLE = {Body Ownership Increases the Interference Between + Observed and Executed Movements}, + JOURNALTITLE = {{PLOS ONE}}, + VOLUME = {14}, + NUMBER = {1}, + DATE = {2019}, + EID = {e0209899}, + DOI = {10.1371/journal.pone.0209899} +} + +% (APA 10.1 Example 7) +@ARTICLE{10.1:7, + AUTHOR = {S. M. Huestegge and T. Raettig and L. Huestegge}, + TITLE = {Are Face-Incongruent Voices Harder to Process? + {Effects} of Face-Voice Gender Incongruity on + Basic Cognitive Information Processing}, + JOURNALTITLE = {Experimental Psychology}, + HOWPUBLISHED = {Advance online publication}, + DATE = {2019}, + DOI = {10.1027/1618-3169/a000440} +} + +% (APA 10.1 Example 8) +@ARTICLE{10.1:8, + PUBSTATE = {inpress}, + AUTHOR = {T. Pachur and B. Scheibehenne}, + TITLE = {Unpacking Buyer-Seller Differences in Valuation from Experience}, + SUBTITLE = {A Cognitive Modeling Approach}, + JOURNALTITLE = {Psychonomic Bulletin \& Review} +} + +% (APA 10.1 Example 9) +@ARTICLE{10.1:9, + AUTHOR = {V. Chaves-Morillo and Gómez Calero, C. and J. J. + Fernández-Muñoz and A. Toledano-Muñoz and J. + Fernández-Heute and N. Martinez-Monge and D. + Palacios-Ceña and C. Peñacoba-Puente}, + ORIGTITLE = {La anosmia neurosensorial: Relación entre subtipo, tiempo de reconocimiento y edad}, + TITLE = {Sensorineural Anosmia}, + SUBTITLE = {Relationship Between Subtype, Recognition Time, and Age}, + JOURNALTITLE = {Clínica y Salud}, + VOLUME = {28}, + NUMBER = {3}, + PAGES = {155--161}, + DATE = {2018}, + DOI = {10.1016/j.clysa.2017.04.002} +} + +% (APA 10.1 Example 10) +@ARTICLE{10.1:10, + AUTHOR = {J. Piaget}, + TRANSLATOR = {J. Bliss and H. Furth}, + TITLE = {Intellectual Evolution from Adolescence to Adulthood}, + JOURNALTITLE = {Human Development}, + VOLUME = {15}, + NUMBER = {1}, + PAGES = {1--12}, + DATE = {1972}, + ORIGDATE = {1970}, + DOI = {10.1159/00027/1225} +} + +% (APA 10.1 Example 11) +@ARTICLE{10.1:11, + AUTHOR = {M. F. Shore}, + TITLE = {Marking Time in the Land Of Plenty}, + SUBTITLE = {Reflections on Mental Health in the {United} {States}}, + JOURNALTITLE = {American Journal of Orthopsychiatry}, + VOLUME = {84}, + NUMBER = {6}, + PAGES = {611--618}, + DATE = {2014}, + DOI = {10.1037/h0100165}, + RELATED = {10.1:11r}, + RELATEDTYPE = {reprintfrom} +} + +@ARTICLE{10.1:11r, + TITLE = {Marking Time in the Land Of Plenty}, + SUBTITLE = {Reflections on Mental Health in the {United} {States}}, + JOURNALTITLE = {American Journal of Orthopsychiatry}, + VOLUME = {51}, + NUMBER = {3}, + PAGES = {391--402}, + DATE = {1981}, + DOI = {10.1111/j.1939-0025.1981.tb01388.x} +} + +% (APA 10.1 Example 12) +@PERIODICAL{10.1:12a, + EDITOR = {S. O. Lilienfeld}, + TITLE = {Heterodox Issues in Psychology}, + ISSUETITLE = {Special section}, + JOURNALTITLE = {Archives of Scientific Psychology}, + VOLUME = {6}, + NUMBER = {1}, + PAGES = {51--104}, + DATE = {2018} +} + +@PERIODICAL{10.1:12b, + EDITOR = {S. H. McDaniel and E. Salas and A. E. Kazak}, + TITLE = {The Science of Teamwork}, + ISSUETITLE = {Special issue}, + JOURNALTITLE = {American Psychologist}, + VOLUME = {73}, + NUMBER = {4}, + DATE = {2018} +} + +% (APA 10.1 Example 13) +@ARTICLE{10.1:13, + AUTHOR = {J. Mehrholz and M. Pohl and T. Platz and J. Kugler and B. Elsner}, + TITLE = {Electromechanical and Robot-Assisted Arm Training for + Improving Activities of Daily Living, Arm Function, and + Arm Muscle Strength After Stroke}, + JOURNALTITLE = {Cochrane Database of Systematic Reviews}, + DATE = {2018}, + DOI = {10.1002/14651858.CD006876.pub5} +} + +% (APA 10.1 Example 14) +@ARTICLE{10.1:14, + AUTHOR = {M. C. Morey}, + TITLE = {Physical Activity and Exercise in Older Adults}, + JOURNALTITLE = {{UpToDate}}, + DATE = {2019}, + URLDATE = {2019-07-22}, + URL = {https://www.uptodate.com/contents/physical-activity-and-exercise-in-older-adults} +} + +% (APA 10.1 Example 15) +% Note use of ENTRYSUBTYPE to indicate non-academic magazine so that dates +% are formatted correctly +@ARTICLE{10.1:15a, + ENTRYSUBTYPE = {nonacademic}, + AUTHOR = {S. Bergeson}, + TITLE = {Really Cool Neutral Plasmas}, + JOURNALTITLE = {Science}, + VOLUME = {363}, + NUMBER = {6422}, + PAGES = {33--34}, + DATE = {2019-01-04}, + DOI = {10.1126/science.aau7988} +} + +@ARTICLE{10.1:15b, + ENTRYSUBTYPE = {nonacademic}, + AUTHOR = {M. Bustillos}, + TITLE = {On Video Games and Storytelling}, + SUBTITLE = {An Interview with {Tom} {Bissell}}, + JOURNALTITLE = {The New Yorker}, + DATE = {2013-03-19}, + URL = {https://www.newyorker.com/books/page-turner/on-video-games-and-storytelling-an-interview-with-tom-bissell} +} + +@ARTICLE{10.1:15c, + ENTRYSUBTYPE = {nonacademic}, + AUTHOR = {K. Weir}, + TITLE = {Forgiveness Can Improve Mental and Physical Health}, + JOURNALTITLE = {Monitor on Psychology}, + VOLUME = {48}, + NUMBER = {1}, + PAGES = {30}, + DATE = {2017-01} +} + +% (APA 10.1 Example 16) +@ARTICLE{10.1:16a, + ENTRYSUBTYPE = {nonacademic}, + AUTHOR = {B. Guarino}, + TITLE = {How Will Humanity React to Alien Life? + {Psychologists} Have Some Predictions}, + JOURNALTITLE = {The Washington Post}, + DATE = {2017-12-04}, + URL = {https://www.washingtonpost.com/news/speaking-of-science/wp/2017/12/04/how-will-humanity-react-to-alien-life-psychologists-have-some-predictions} +} + +@ARTICLE{10.1:16b, + ENTRYSUBTYPE = {nonacademic}, + AUTHOR = {A. Hess}, + TITLE = {Cats Who Take Direction}, + JOURNALTITLE = {The New York Times}, + DATE = {2019-01-03}, + PAGES = {C1} +} + +% (APA 10.1 Example 17) +% Can't be ONLINE as the format isn't the same as all other ONLINE examples +@MISC{10.1:17, + AUTHOR = {M. Klymkowsky}, + TITLE = {Can We Talk Scientifically About Free Will?}, + ORGANIZATION = {Sci-Ed}, + DATE = {2018-09-15}, + URL = {https://blogs.plos.org/scied/2018/09/15/can-we-talk-scientifically-about-free-will/}, +} + +% (APA 10.1 Example 18) +% This uses the RELATED method which is sensitive to language for the +% "Comment on the article" string. A simpler but less general way of getting the same +% results would be: +%@ARTICLE{10.1:18, +% ENTRYSUBTYPE = {nonacademic}, +% AUTHOR = {{KS in NJ}}, +% TITLE = {From this article, it sounds like men are figuring +% something out that women have known forever. {I} know of many}, +% TITLEADDON = {Comment on the article ``How workout buddies can help stave off loneliness''}, +% JOURNALTITLE = {The Washington Post}, +% DATE = {2019-01-15}, +% URL = {https://wapo.st/2HDToGJ} +%} + +@ARTICLE{10.1:18, + ENTRYSUBTYPE = {nonacademic}, + AUTHOR = {{KS in NJ}}, + TITLE = {From this article, it sounds like men are figuring + something out that women have known forever. {I} know of many}, + RELATED = {10.1:18r}, + RELATEDTYPE = {commenton}, + RELATEDSTRING = {Comment on the article}, + JOURNALTITLE = {The Washington Post}, + DATE = {2019-01-15}, + URL = {https://wapo.st/2HDToGJ} +} + +@ARTICLE{10.1:18r, + AUTHOR = {A. Author}, + TITLE = {How Workout Buddies can Help Stave off Loneliness}, + JOURNALTITLE = {The Washington Post}, + DATE = {2019-01-15} +} + +% (APA 10.1 Example 19) +@ARTICLE{10.1:19, + AUTHOR = {N. G. Cuellar}, + TITLE = {Study Abroad Programs}, + TITLEADDON = {Editorial}, + JOURNALTITLE = {Journal of Transcultural Nursing}, + VOLUME = {27}, + NUMBER = {3}, + PAGES = {209}, + DATE = {2016}, + DOI = {10.1177/1043659616638722} +} + +% (APA 10.2 Example 20) +@BOOK{10.2:20, + AUTHOR = {L. S. Brown}, + TITLE = {Feminist Therapy}, + EDITION = {2}, + PUBLISHER = {American Psychological Association}, + DATE = {2018}, + DOI = {10.1037/0000092-000} +} + +% (APA 10.2 Example 21) +@BOOK{10.2:21, + AUTHOR = {R. Burgess}, + TITLE = {Rethinking Global Health}, + SUBTITLE = {Frameworks of Power}, + PUBLISHER = {Routledge}, + DATE = {2019} +} + +% (APA 10.2 Example 22) +% The ENTRYSUBTYPE is inserted as a literal string because it is not a known +% localisation string - this is automatically detected. +@BOOK{10.2:22a, + ENTRYSUBTYPE = {Audiobook}, + AUTHOR = {S. Cain}, + NARRATOR = {K. Mazur}, + TITLE = {Quiet}, + SUBTITLE = {The Power of Introverts in a World that Can't Stop Talking}, + PUBLISHER = {Random House Audio}, + DATE = {2012}, + URL = {http://bit.ly/2GOBpbl} +} + +@BOOK{10.2:22b, + AUTHOR = {B. Christian and T. Griffiths}, + TITLE = {Algorithms to Live By}, + SUBTITLE = {The Computer Science of Human Decisions}, + PUBLISHER = {{Henry Holt and Co.}}, + DATE = {2016}, + URL = {http://a.co/7qGBZAk} +} + +% (APA 10.2 Example 23) +@BOOK{10.2:23, + AUTHOR = {D. H. Meadows}, + EDITOR = {D. Wright}, + TITLE = {Thinking in Systems}, + SUBTITLE = {A Primer}, + PUBLISHER = {Chelsea Green Publishing}, + DATE = {2008} +} + +% (APA 10.2 Example 24) +% Mapped to BOOK by style sourcemap +@COLLECTION{10.2:24, + EDITOR = {Schmid, Henry-James}, + TITLE = {Entrenchment and the Psychology of Language Learning}, + SUBTITLE = {How We Reorganize and Adapt Linguistic Knowledge}, + PUBLISHER = {American Psychological Association and De Gruyter Mouton}, + DATE = {2017}, + DOI = {10.1037/15969-000} +} + +% (APA 10.2 Example 25) +% Mapped to BOOK by style sourcemap +@COLLECTION{10.2:25, + EDITOR = {Hacker Hughes, J.}, + TITLE = {Military Veteran Psychological Health and Social Care}, + SUBTITLE = {Contemporary Approaches}, + PUBLISHER = {Routledge}, + DATE = {2017} +} + +% (APA 10.2 Example 26) +% Mapped to BOOK by style sourcemap +@COLLECTION{10.2:26, + EDITOR = {K. F. Pridham and R. Limbo and M. Schroeder}, + TITLE = {Guided Participation in Pediatric Nursing Practice}, + SUBTITLE = {Relationship-Based Teaching and Learning with Parents, Children and Adolescents}, + PUBLISHER = {Springer Publishing Company}, + DATE = {2018}, + URL = {http://a.co/0IAiVgt} +} + +% (APA 10.2 Example 27) +@BOOK{10.2:27a, + AUTHOR = {N. Amano and H. Kondo}, + TITLE = {Lexical Characteristics of {Japanese} Language}, + ORIGTITLE = {Nihongo no goi tokusei}, + PUBLISHER = {Sansei-do}, + VOLUME = {7}, + DATE = {2000} +} + +@BOOK{10.2:27b, + AUTHOR = {J. Piaget and B. Inhelder}, + TITLE = {The Psychology of the Child}, + ORIGTITLE = {La psychologie de l'enfant}, + PUBLISHER = {Quadrige}, + DATE = {1966} +} + +% (APA 10.2 Example 28) +@BOOK{10.2:28, + AUTHOR = {J. Piaget and B. Inhelder}, + TRANSLATOR = {H. Weaver}, + EDITION = {2}, + TITLE = {The Psychology of the Child}, + PUBLISHER = {Basic Books}, + DATE = {1969}, + ORIGDATE = {1966} +} + +% (APA 10.2 Example 29) +@BOOK{10.2:29a, + AUTHOR = {S. Freud}, + EDITOR = {J. Strachey}, + TRANSLATOR = {J. Strachey}, + TITLE = {The Interpretation of Dreams}, + SUBTITLE = {The Complete and Definitive Text}, + PUBLISHER = {Basic Books}, + DATE = {2010}, + ORIGDATE = {1900} +} + +@BOOK{10.2:29b, + AUTHOR = {J. K. Rowling}, + NARRATOR = {J. Dale}, + TITLE = {Harry {Potter} and the Sorceror's Stone}, + TITLEADDON = {Audiobook}, + PUBLISHER = {Pottermore Publishing}, + DATE = {2015}, + ORIGDATE = {1997}, + URL = {http://bit.ly/2TcHchx} +} + +% (APA 10.2 Example 30) +@BOOK{10.2:30a, + AUTHOR = {S. T. Fiske and D. T. Gilbert and G. Lindzey}, + TITLE = {Handbook of Social Psychology}, + PUBLISHER = {John Wiley \& Sons}, + EDITION = {5}, + VOLUME = {1}, + DATE = {2010}, + DOI = {10.1002/9780470561119} +} + +% Mapped to BOOK by style sourcemap +@COLLECTION{10.2:30b, + EDITOR = {C. B. Travis and J. W. White}, + TITLE = {{APA} Handbook of the Psychology of Women}, + SUBTITLE = {Vol. 1. History, theory, and Battlegrounds}, + PUBLISHER = {American Psychological Association}, + DATE = {2018}, + DOI = {10.1037/0000059-000} +} + +% (APA 10.2 Example 31) +@BOOK{10.2:31, + AUTHOR = {S. Madigan}, + TITLE = {Narrative Therapy}, + PUBLISHER = {American Psychological Association}, + SERIES = {Theories of Psychotherapy Series}, + EDITION = {2}, + DATE = {2019}, + DOI = {10.1037/00000131-000} +} + +% (APA 10.2 Example 32) +% Note the use of AUTHOR instead of AUTHOR here +@MANUAL{10.2:32a, + AUTHOR = {{American Psychiatric Association}}, + TITLE = {Diagnostic and Statistical Manual of Mental Disorders}, + SHORTHAND = {DSM-5}, + EDITION = {5}, + PUBLISHER = {American Psychiatric Association}, + DATE = {2013}, + DOI = {10.1176/appi.books.9780890425596} +} + +@MANUAL{10.2:32b, + AUTHOR = {{World Health Organization}}, + TITLE = {International Statistical Classification of Diseases and Related Health Problems}, + SHORTHAND = {ICD-11}, + EDITION = {11}, + PUBLISHER = {{World Health Organization}}, + DATE = {2019}, + URL = {https://icd.who.int/} +} + +% (APA 10.2 Example 33) +@BOOK{10.2:33a, + AUTHOR = {{American Psychological Association}}, + TITLE = {{APA} Dictionary of Psychology}, + URL = {https://dictionary.apa.org/}, + URLDATE = {2019-06-14} +} + +@BOOK{10.2:33b, + AUTHOR = {{Merriam-Webster}}, + TITLE = {{Merriam-Webster.com} Dictionary}, + URL = {https://www.merriam-webster.com/}, + URLDATE = {2019-05-05} +} + +% Mapped to BOOK by style sourcemap +@REFERENCE{10.2:33c, + EDITOR = {E. N. Zalta}, + TITLE = {The {Stanford} Encyclopedia of Philosophy}, + EDITION = {Summer 2019 ed.}, + URL = {https://plato.stanford.edu/archives/sum2019/}, + PUBLISHER = {Stanford University}, + DATE = {2019} +} + +% (APA 10.2 Example 34) +% Mapped to BOOK by style sourcemap +@COLLECTION{10.2:34, + EDITOR = {M. Gold}, + TITLE = {The Complete Social Scientist}, + SUBTITLE = {A {Kurt} {Lewin} Reader}, + PUBLISHER = {American Psychological Association}, + DATE = {1999}, + DOI = {10.1037/10319-000} +} + +% (APA 10.2 Example 35) +% No AUTHOR - title goes in author position +@BOOK{10.2:35a, + TITLE = {{King} {James} {Bible}}, + DATE = {2017}, + ORIGDATE = {1769}, + URLDESCRIPTION = {King James Bible Online}, + URL = {https://www.kingjamesbibleonline.org/} +} + +@BOOK{10.2:35b, + TITLE = {The {Qur'an}}, + TRANSLATOR = {Abdel Haleem, M. A. S.}, + PUBLISHER = {Oxford University Press}, + DATE = {2004} +} + +@BOOK{10.2:35c, + TITLE = {{The} {Torah}}, + SUBTITLE = {The Five Books of {Moses}}, + EDITION = {3}, + PUBLISHER = {The Jewish Publication Society}, + DATE = {2015}, + ORIGDATE = {1962} +} + +% See https://github.com/plk/biblatex-apa/issues/192 +% IN* should still put title in the front, even when there is an EDITOR +% requires labelnametemplate for INBOOK (IN* is mapped to INBOOK) and +% sorting changes (so title sorts before editor for IN*) +@INREFERENCE{10.2:35d, + TITLE = {Cleveland {FreeNet}}, + BOOKTITLE = {Encyclopedia of {Cleveland} History}, + EDITOR = {John J. Grabowski}, + PUBLISHER = {Case Western Reserve University}, + DATE = {2022} +} + +% (APA 10.2 Example 36) +% Note the special format of the ORIGDATE field and the resulting output. +% Biber supports considerable ISO8601 date formats like this with full +% localisation support for the output. See the BibLaTeX manual. +@BOOK{10.2:36, + AUTHOR = {Aristotle}, + TRANSLATOR = {S. H. Butcher}, + TITLE = {Poetics}, + DATE = {1994}, + ORIGDATE = {-0349~}, + PUBLISHER = {The Internet Classics Archive}, + URL = {http://classics.mit.edu/Aristotle/poetics.html} +} + +% (APA 10.2 Example 37) +@BOOK{10.2:37, + AUTHOR = {W. Shakespeare}, + EDITOR = {B. A. Mowat and P. Werstine}, + TITLE = {Much Ado About Nothing}, + PUBLISHER = {Washington Square Press}, + DATE = {1995}, + ORIGDATE = {1623} +} + +% (APA 10.3 Example 38) +% Mapped to INBOOK by style sourcemap +@INCOLLECTION{10.3:38, + AUTHOR = {K. F. Balsam and C. R. Martell and K. P. Jones and S. A. Safren}, + EDITOR = {G. Y. Iwamasa and P. A. Hays}, + TITLE = {Affirmative Cognitive Behaviour Therapy with Sexual and + Gender Minority People}, + BOOKTITLE = {Culturally Responsive Cognitive Behaviour Therapy}, + BOOKSUBTITLE = {Practice and Supervision}, + EDITION = {2}, + PAGES = {287--314}, + PUBLISHER = {American Psychological Association}, + DATE = {2019}, + DOI = {10.1037/0000119-012} +} + +% (APA 10.3 Example 39) +% Mapped to INBOOK by style sourcemap +@INCOLLECTION{10.3:39, + AUTHOR = {R. Weinstock and G. B. Leong and J. A. Silva}, + EDITOR = {R. Rosner}, + TITLE = {Defining Forensic Psychiatry}, + SUBTITLE = {Roles and Responsibilities}, + BOOKTITLE = {Principles and Practise of Forensic Psychiatry}, + EDITION = {2}, + PAGES = {7--13}, + PUBLISHER = {CRC Press}, + DATE = {2003} +} + +% (APA 10.3 Example 40) +% Mapped to INBOOK by style sourcemap +@INCOLLECTION{10.3:40, + AUTHOR = {N. Tafoya and Del Vecchio, A.}, + EDITOR = {M. McGoldrick and J. Giordano and N. Garcia-Preto}, + TITLE = {Back to the Future}, + SUBTITLE = {An Examination of the {Native} {American} {Holocaust} experience}, + BOOKTITLE = {Ethnicity and Family Therapy}, + EDITION = {3}, + PAGES = {55--63}, + PUBLISHER = {Guilford Press}, + DATE = {2005}, + URL = {http://a.co/36xRhBT} +} + +% (APA 10.3 Example 41) +% Mapped to INBOOK by style sourcemap +@INCOLLECTION{10.3:41, + AUTHOR = {Carcavilla González, N.}, + EDITOR = {Garcia Meilán, J. J.}, + TITLE = {Auditory Sensory Therapy}, + SUBTITLE = {Brain Activation Through Music}, + ORIGTITLE = {Terapia senorial auditiva: {Activation} cerebral por + medio de la música}, + BOOKTITLE = {Guía práctica de terapias estimulativas en el {Alzhéimer}}, + PAGES = {67--86}, + PUBLISHER = {Editorial Síntesis}, + DATE = {2015}, + URL = {http://www.sintesis.com/guias-profesionales-203/guia-practica-de-terapias-estimulativas-en-el-alzheimer-libro-1943.html} +} + +% (APA 10.3 Example 42) +@INBOOK{10.3:42, + AUTHOR = {M. Heidegger}, + EDITOR = {D. F. Krell}, + TRANSLATOR = {J. Sallis}, + TITLE = {On the Essence of Truth}, + BOOKTITLE = {Basic Writings}, + PAGES = {111--138}, + PUBLISHER = {Harper Perennial Modern Thought}, + DATE = {2008}, + ORIGDATE = {1961} +} + +% (APA 10.3 Example 43) +% Note that this done with the related entries functionality supported by Biber +% Mapped to INBOOK by style sourcemap +@INCOLLECTION{10.3:43, + AUTHOR = {C. Sacchett and G. W. Humphreys}, + EDITOR = {D. A. Balota and E. J. Marsh}, + TITLE = {Calling a Squirrel and Squirrel but a Canoe a Wigwam}, + SUBTITLE = {A Category-Specific Deficit for Artefactual Objects and + Body Parts}, + BOOKTITLE = {Cognitive Psychology}, + BOOKSUBTITLE = {Key Readings in Cognition}, + PAGES = {100--108}, + PUBLISHER = {Psychology Press}, + DATE = {2004}, + RELATED = {10.3:43r}, + RELATEDTYPE = {reprintfrom} +} + +@ARTICLE{10.3:43r, + AUTHOR = {C. Sacchett and G. W. Humphreys}, + TITLE = {Calling a Squirrel and Squirrel but a Canoe a Wigwam}, + SUBTITLE = {A Category-Specific Deficit for Artefactual Objects and + Body Parts}, + JOURNALTITLE = {Cognitive Neuropsychology}, + VOLUME = {9}, + NUMBER = {1}, + PAGES = {73--86}, + DATE = {1992}, + DOI = {d4vb59} +} + +% (APA 10.3 Example 44) +% Mapped to INBOOK by style sourcemap +@INCOLLECTION{10.3:44, + AUTHOR = {U. Bronfenbrenner}, + EDITOR = {U. Bronfenbrenner}, + TITLE = {The Social Ecology of Human Development}, + SUBTITLE = {A Retrospective Conclusion}, + BOOKTITLE = {Making Human Beings Human}, + BOOKSUBTITLE = {Bioecological Perspectives on Human Development}, + PAGES = {27--40}, + PUBLISHER = {SAGE Publications}, + DATE = {2005}, + RELATED = {10.3:44r}, + RELATEDTYPE = {reprintfrom} +} + +@BOOK{10.3:44r, + EDITOR = {F. Richardson}, + TITLE = {Brain and Intelligence}, + SUBTITLE = {The Ecology of Child Development}, + PUBLISHER = {National Education Press}, + PAGES = {113--123}, + DATE = {1973} +} + +% (APA 10.3 Example 45) +% Mapped to INBOOK by style sourcemap +@INCOLLECTION{10.3:45, + AUTHOR = {S. Goldin-Meadow}, + EDITOR = {L. S. Liben and U. Mueller}, + TITLE = {Gesture and Cognitive Development}, + BOOKTITLE = {Handbook of Child Psychology and Developmental Science}, + BOOKSUBTITLE = {Vol. 2. {Cognitive} Processes}, + EDITION = {7}, + PAGES = {339--380}, + PUBLISHER = {John Wiley \& Sons}, + DATE = {2015}, + DOI = {10.1002/9781118963418.childpsy209} +} + +% (APA 10.3 Example 46) +% Mapped to INBOOK by style sourcemap +@INCOLLECTION{10.3:46, + AUTHOR = {K. Lewin}, + EDITOR = {M. Gold}, + TITLE = {Group Decision and Social Change}, + BOOKTITLE = {The Complete Social Scientist}, + BOOKSUBTITLE = {A {Kurt} {Lewin} Reader}, + PUBLISHER = {American Psychological Association}, + PAGES = {265--284}, + DATE = 1999, + ORIGDATE = 1948, + DOI = {10.1037/10319-000} +} + +% (APA 10.3 Example 47) +@INBOOK{10.3:47a, + AUTHOR = {{American Psychological Association}}, + TITLE = {Positive Transference}, + BOOKTITLE = {{APA} Dictionary of Psychology}, + URL = {https://dictionary.apa.org/positive-transference}, + URLDATE = {2019-08-31} +} + +@INBOOK{10.3:47b, + AUTHOR = {{Merriam-Webster}}, + TITLE = {Self-Report}, + BOOKTITLE = {{Merriam-Webster.com} Dictionary}, + URL = {https://www.merriam-webster.com/dictionary/self-report}, + URLDATE = {2019-07-12} +} + +% (APA 10.3 Example 48) +@INREFERENCE{10.3:48, + AUTHOR = {G. Graham}, + EDITOR = {E. N. Zalta}, + TITLE = {Behaviourism}, + BOOKTITLE = {The {Stanford} Encyclopedia of Philosophy}, + EDITION = {Summer 2019 ed.}, + URL = {https://plato.stanford.edu/archives/sum2019/entries/behaviourism}, + PUBLISHER = {Stanford University}, + DATE = {2019} +} + +% (APA 10.3 Example 49) +@INBOOK{10.3:49, + TITLE = {List of Oldest Companies}, + BOOKTITLE = {Wikipedia}, + URL = {https://en.wikipedia.org/w/index.php?title=List_of_oldest_companies&oldid=878158136}, + DATE = {2019-01-13} +} + +% (APA 10.4 Example 50) +@REPORT{10.4:50a, + AUTHOR = {{Australian Government Productivity Commission} and + {New Zealand Productivity Commission}}, + TITLE = {Strengthening Trans-{Tasman} Economic Relations}, + URL = {https://www.pc.gov.au/inquiries/completed/australia-new-zealand/report/trans-tasman.pdf}, + DATE = {2012} +} + +@REPORT{10.4:50b, + AUTHOR = {{Canada Council for the Arts}}, + TITLE = {What We Heard}, + SUBTITLE = {Summary of Key Findings: 2013 {Canada} {Council's} + {Inter-Arts} {Office} Consultation}, + URL = {http://publications.gc.ca/collections/collection_2017/canadacouncil/K23-65-2013-eng.pdf}, + DATE = {2013} +} + +% NUMBER field has the (localised) "No." prefix as the field is basically +% numerical. This detection is automatic. +@REPORT{10.4:50c, + AUTHOR = {{National Cancer Institute}}, + TITLE = {Facing Forward}, + SUBTITLE = {Life After Cancer Treatment}, + NUMBER = {18-2424}, + TYPE = {NIH Publication}, + URL = {https://www.cancer.gov/publications/patient-education/life-after-cancer-treatment.pdf}, + DATE = {2018} +} + +% (APA 10.4 Example 51) +@REPORT{10.4:51a, + AUTHOR = {D. Fried and A. Polyakova}, + TITLE = {Democratic Defense Against Disinformation}, + PUBLISHER = {Atlantic Council}, + URL = {https://www.atlantic.org/images/publications/Democratic_Defense_Against_Disinformation_FINAL.pdf}, + DATE = {2018} +} + +@REPORT{10.4:51b, + AUTHOR = {A. Segaert and A. Bauer}, + TITLE = {The Extent and Nature of Veteran Homelessness in {Canada}}, + PUBLISHER = {{Employment and Social Development Canada}}, + URL = {https://www.canada.ca/en/employment-social-development/programs/communities/homelessness/publications-bulletins/veterans-report.html}, + DATE = {2015} +} + +% (APA 10.4 Example 52) +@REPORT{10.4:52, + AUTHOR = {D. L. Blackwell and J. W. Lucas and T. C. Clarke}, + TITLE = {Summary Health Statistics for {U.S.} Adults}, + SUBTITLE = {National {Health} {Interview} {Survey}, 2012}, + PUBLISHER = {{Centers for Disease Control and Prevention}}, + ISSUE = {Vital and Health Statistics Series}, + NUMBER = {10, Issue 260}, + URL = {https://www.atlantic.org/images/publications/Democratic_Defense_Against_Disinformation_FINAL.pdf}, + DATE = {2014} +} + +% (APA 10.4 Example 53) +@REPORT{10.4:53, + AUTHOR = {{British Cardiovascular Society Working Group}}, + TITLE = {British {Cardiovascular} {Society} {Working} {Group} Report}, + SUBTITLE = {Out-of-Hours Cardiovascular Care: {Management} of + Cardiac Emergencies and Hospital In-patients}, + PUBLISHER = {British Cardiovascular Society}, + URL = {http://www.bcs.com/documents/BCSOOHWP_Final_Report_05092016.pdf}, + DATE = {2016} +} + +% (APA 10.4 Example 54) +@REPORT{10.4:54, + AUTHOR = {{U.S. Securities and Exchange Commission}}, + TITLE = {Agency Financial Report}, + SUBTITLE = {Fiscal Year 2017}, + URL = {https://www.sec.gov/files/sec-2017-agency-financial-report.pdf}, + DATE = {2017} +} + +% (APA 10.4 Example 55) +@REPORT{10.4:55a, + AUTHOR = {{American Counseling Association}}, + TITLE = {2014 {ACA} code of ethics}, + URL = {https://www.counseling.org/knowledge-center}, + DATE = {2014} +} + +@REPORT{10.4:55b, + AUTHOR = {{American Nurses Association}}, + TITLE = {Code of Ethics for Nurses with Interpretive Statements}, + URL = {https://www.nursingworld.org/coe-view-only}, + DATE = {2015} +} + +@REPORT{10.4:55c, + AUTHOR = {{American Psychological Association}}, + TITLE = {Ethical Principles of Psychologists and Code of Conduct}, + NOTE = {2002, amended effective June 1, 2010, and January 1, 2017}, + URL = {https://www.apa.org/ethics/code/index.aspx}, + DATE = {2017} +} + +% (APA 10.4 Example 56) +% Annotations for author roles must be called "role". This is an example of +% a literal annotation as there is no localised string for this role since it +% is quite rare. You could create a localisation string for this with +% \NewBibliographyString and \DeclareBibliographyStrings and remove the +% quotes. See the Data Annotation documentation in the biblatex manual +@REPORT{10.4:56, + AUTHOR = {C. B. Blair}, + AUTHOR+an:role = {1="Principal Investigator"}, + TITLE = {Stress, Self-Regulation and Psychopathology in Middle Childhood}, + TITLEADDON = {Grant}, + TYPE = {Project}, + NUMBER = {5R01HD081252-04}, + INSTITUTION = {Eunice Kennedy Shriver National Institute of Child + Health \& Human Development}, + URL = {https://projectreporter.nih.gov/project_info_details.cfm?aid=9473071&icde=40092311}, + DATE = {2015/2020} +} + +% (APA 10.4 Example 57) +@REPORT{10.4:57, + AUTHOR = {J. Lichtenstein}, + TITLE = {Profile of Veteran Business Owners}, + SUBTITLE = {More Young Veterans Appear to be Starting Businesses}, + TYPE = {Issue Brief}, + NUMBER = {1}, + PUBLISHER = {U.S. Small Business Administration, Office of Advocacy}, + URL = {https://www.sba.org/sites/default/files/Issue%20Brief%201,%20Veteran%20Business%20Owners.pdf}, + DATE = {2013} +} + +% (APA 10.4 Example 58) +@REPORT{10.4:58, + AUTHOR = {M. Harwell}, + TITLE = {Don't Expect Too Much}, + SUBTITLE = {The Limited Usefulness of Common {SES} Measures and a + Prescription for Change}, + TITLEADDON = {Policy Brief}, + PUBLISHER = {National Education Policy Center}, + URL = {https://nepc.colorado.edu/publication/SES}, + DATE = {2018} +} + +% (APA 10.4 Example 59) +% PUBLISHER should be ignored as it is the same as the AUTHOR +% This is enforced by a Biber style source map +@REPORT{10.4:59, + AUTHOR = {{U.S. Food and Drug Administration}}, + TITLE = {{FDA} Authorizes First Interoperable Insulin Pup + Intended to Allow Patients to Customize Treatment + Through their Individual Diabetes Management Devices}, + TITLEADDON = {Press release}, + PUBLISHER = {{U.S. Food and Drug Administration}}, + URL = {https://www.fds.gov/NewsEvents/Newsroom/PressAnnouncements/ucm631412.htm}, + DATE = {2019-02-14} +} + +% (APA 10.5 Example 60) +@PRESENTATION{10.5:60, + AUTHOR = {A. Fistek and E. Jester and K. Sonnenberg}, + TITLE = {Everybody's Got a Little Music in Them}, + SUBTITLE = {Using Music Therapy to Connect, Engage, and Motivate}, + TITLEADDON = {Conference session}, + EVENTTITLE = {Autism Society National Conference}, + VENUE = {Milwaukee, WI, United States}, + URL = {https://asa.confex.com/asa/2017/webprogramarchives/Session9517.html}, + EVENTDATE = {2017-07-12/2017-07-15} +} + +% (APA 10.5 Example 61) +@PRESENTATION{10.5:61, + AUTHOR = {S. Maddox and J. Hurling and E. Stewart and A. Edwards}, + TITLE = {If Mama Ain't Happy, Nobody's Happy}, + SUBTITLE = {The Effect of Parental Depression on Mood Dysregulation + in Children}, + TITLEADDON = {Paper presentation}, + EVENTTITLE = {Southeastern Psychological Association 62nd Annual Meeting}, + VENUE = {New Orleans, LA, United States}, + EVENTDATE = {2016-03-30/2016-04-02} +} + +% (APA 10.5 Example 62) +@PRESENTATION{10.5:62, + AUTHOR = {J. Pearson}, + TITLE = {Fat Talk and its Effects on State-Based Body Image in Women}, + TITLEADDON = {Poster presentation}, + EVENTTITLE = {Australian Psychological Society Congress}, + VENUE = {Sydney, NSW, Australia}, + URL = {http://bit.ly/2XGSThP}, + EVENTDATE = {2018-09-27/2018-09-30} +} + +% (APA 10.5 Example 63) +% A special case here of roles for uncommon, secondary name lists. Use the +% EDITORA--EDITORC fields with an associated EDITORTYPE localisation string +@PRESENTATION{10.5:63, + AUTHOR = {De Boer, D. and LaFavor, T.}, + EDITORA = {A. M. Schmidt and A. Kryvanos}, + EDITORATYPE = {chair}, + TITLE = {The Art and Significance of Successfully Identifying + Resilient Individuals}, + SUBTITLE = {A Person-Focused Approach}, + MAINTITLE = {Perspectives on Resilience: {Conceptualization}, + Measurement, and Enhancement}, + MAINTITLEADDON = {Symposium}, + EVENTTITLE = {Western Psychological Association 98th Annual Convention}, + VENUE = {Portland, OR, United States}, + EVENTDATE = {2018-04-26/2018-04-29} +} + +% (APA 10.5 Addendum Example 1) +% Mapped to ARTICLE as per https://apastyle.apa.org/style-grammar-guidelines/references/examples/conference-proceeding-references +% BOOKTITLE mapped to JOURNALTITLE +@INPROCEEDINGS{10.5:A1, + AUTHOR = {Duckworth, A. L. and Quirk, A. and Gallop, R. and Hoyle, R. H. and + Kelly, D. R. and Matthews, M. D.}, + TITLE = {Cognitive and Noncognitive Predictors of Success}, + BOOKTITLE = {Proceedings of the National Academy of Sciences, USA}, + VOLUME = {116}, + NUMBER = {47}, + PAGES = {23499--23504}, + DATE = {2019}, + DOI = {10.1073/pnas.1910510116} +} + +% (APA 10.5 Addendum Example 2) +% Mapped to BOOK as per https://apastyle.apa.org/style-grammar-guidelines/references/examples/conference-proceeding-references +@PROCEEDINGS{10.5:A2, + EDITOR = {Kushilevitz, E. and Malkin, T.}, + MAINTITLE = {Lecture Notes in Computer Science}, + MAINSUBTITLE = {Vol. 9562}, + TITLE = {Theory of Cryptography}, + PUBLISHER = {Springer}, + DATE = {2016}, + DOI = {10.1007/978-3-662-49096-9} +} + +% (APA 10.5 Addendum Example 3) +% Mapped to INBOOK as per https://apastyle.apa.org/style-grammar-guidelines/references/examples/conference-proceeding-references +@INPROCEEDINGS{10.5:A3, + AUTHOR = {Bedenel, Alan-Louis and Jourdan, L. and Biernacki, C.}, + EDITOR = {R. Battiti and M. Brunato and I. Kotsireas and P. Pardalos}, + TITLE = {Probability Estimation by an Adapted Genetic Algorithm in Web Insurance}, + MAINTITLE = {Lecture Notes in Computer Science}, + MAINSUBTITLE = {Vol. 11353}, + BOOKTITLE = {Learning and Intelligent Optimization}, + PUBLISHER = {Springer}, + DATE = {2019}, + PAGES = {225--240}, + DOI = {10.1007/978-3-030-05348-2_21} +} + +% (APA 10.6 Example 64) +% Note the override of the auto-populated "phdthesis" type as this is a +% non-standard, non-localised string type +@PHDTHESIS{10.6:64, + AUTHOR = {L. Harris}, + TITLE = {Instructional Leadership Perceptions and Practices of + Elementary School Leaders}, + TYPE = {Unpublished doctoral dissertation}, + INSTITUTION = {University of Virginia}, + DATE = {2014} +} + +% (APA 10.6 Example 65) +@PHDTHESIS{10.6:65, + AUTHOR = {M. M. Hollander}, + TITLE = {Resistance to Authority}, + SUBTITLE = {Methodological Innovations and New Lessons from the {Milgram} Experiment}, + INSTITUTION = {University of Wisconsin--Madison}, + PUBLISHER = {ProQuest Dissertations {and} Theses Global}, + NUMBER = {10289373}, + DATE = {2017} +} + +% (APA 10.6 Example 66) +@MASTERSTHESIS{10.6:66, + AUTHOR = {V. H. Hutcheson}, + TITLE = {Dealing with Dual Differences}, + SUBTITLE = {Social Coping Strategies of Gifted and Lesbian, Gay, + Bisexual, Transgender, and Queer Adolescents}, + INSTITUTION = {The College of William \& Mary}, + PUBLISHER = {William \& Mary Digital Archive}, + URL = {https://digitalarchive.wm.edu/bitstream/handle/10288/16594/HutchesonVirginia2012.pdf}, + DATE = {2012} +} + +% (APA 10.7 Example 67) +@ARTICLE{10.7:67, + AUTHOR = {L. A. Mirabito and N. C. Heck}, + TITLE = {Bringing {LGBTQ} Youth Theater into the Spotlight}, + RELATED = {10.7:67r}, + RELATEDTYPE = {reviewof}, + RELATEDSTRING = {Review of the film}, + JOURNALTITLE = {Psychology of Sexual Orientation and Gender Diversity}, + VOLUME = {3}, + NUMBER = {4}, + PAGES = {499--500}, + DATE = {2016}, + DOI = {10.1037/sgd0000205} +} + +% Data annotation for the first name in the |AUTHOR| list. "director" is a +% localisation string +@VIDEO{10.7:67r, + ENTRYSUBTYPE = {film}, + AUTHOR = {E. Brodsky}, + AUTHOR+an:role = {1=director}, + TITLE = {The Year We Thought About Love}, + DATE = {2016} +} + +% (APA 10.7 Example 68) +@ARTICLE{10.7:68, + ENTRYSUBTYPE = {nonacademic}, + AUTHOR = {F. Santos}, + TITLE = {Reframing Refugee Children's Stories}, + RELATED = {10.7:68r}, + RELATEDTYPE = {reviewof}, + RELATEDSTRING = {Review of the book}, + JOURNALTITLE = {The New York Times}, + DATE = {2019-01-11}, + URL = {https://nyt.ms/2Hlgjk3} +} + +@BOOK{10.7:68r, + AUTHOR = {M. Yousafzai}, + TITLE = {We are Displaced}, + SUBTITLE = {My Journey and Stories From Refugee Girls Around the World}, + DATE = {2016} +} + +% (APA 10.7 Example 69) +% APA gives little thought to automated formatting in general, likely +% because they are not aware of any automated styles and expect people to +% just manually type bibliographies ... have to manually "reverse +% emphasise" part of the title +@ONLINE{10.7:69, + AUTHOR = {D. Perkins}, + TITLE = {\textup{The good place} ends its Remarkable Second + Season With Irrational Hope, Unexpected Gifts, and a Smile}, + RELATED = {10.7:69r}, + RELATEDTYPE = {reviewof}, + RELATEDSTRING = {Review of the TV series episode}, + EPRINTTYPE = {A.V. Club}, + DATE = {2018-02-01}, + URL = {https://www.avclub.com/the-good-place-ends-its-remarkable-second-season-with-i-1822649316} +} + +% Two data annotations for the first name in the |AUTHOR| list. These are automatically +% combined +@VIDEO{10.7:69r, + ENTRYSUBTYPE = {tvepisode}, + AUTHOR = {M. Schur}, + AUTHOR+an:role = {1=writer,director}, + TITLE = {Somewhere Else}, + DATE = {2018} +} + +% (APA 10.8 Example 70) +% HOWPUBLISHED recognises the following localisation strings: +% manunpub - Unpublished Manuscript +% maninprep - Manuscript in preparation +% mansub - Manuscript submitted for publication +@UNPUBLISHED{10.8:70, + AUTHOR = {J. Yoo and Y. Miyamoto and A. Rigotti and C. Ryff}, + TITLE = {Linking Positive Affect to Blood Lipids}, + SUBTITLE = {A Cultural Perspective}, + INSTITUTION = {Department of Psychology, University of Wisconsin-Madison}, + HOWPUBLISHED = {manunpub}, + DATE = {2016} +} + +% (APA 10.8 Example 71) +@UNPUBLISHED{10.8:71, + AUTHOR = {M. O'Shea}, + TITLE = {Understanding Proactive Behaviour in the Workplace as a + Function of Gender}, + INSTITUTION = {Department of Management, University of Kansas}, + HOWPUBLISHED = {maninprep}, + DATE = {2018} +} + +% (APA 10.8 Example 72) +@UNPUBLISHED{10.8:72, + AUTHOR = {T. Lippincott and E. K. Poindexter}, + TITLE = {Emotion Recognition as a Function of Facial Cues}, + SUBTITLE = {Implications for Practice}, + INSTITUTION = {Department of Psychology, University of Washington}, + HOWPUBLISHED = {mansub}, + DATE = {2019} +} + +% (APA 10.8 Example 73) +@ONLINE{10.8:73a, + AUTHOR = {C. Leuker and L. Samartzidis and R. Hertwig and T. J. Pleskac}, + TITLE = {When Money Talks}, + SUBTITLE = {Judging Risk and Coercion in High-Paying Clinical Trials}, + EPRINTTYPE = {PsyArXiv}, + DOI = {10.17605/OSF.IO/9P7CB}, + DATE = {2018} +} + +@ONLINE{10.8:73b, + AUTHOR = {M. A. Stults-Kolehmainen and R. Sinha}, + TITLE = {The Effects of Stress on Physical Activity and Exercise}, + EPRINTTYPE = {PubMed Central}, + URL = {https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3894304}, + DATE = {2015} +} + +% (APA 10.8 Example 74) +@ONLINE{10.8:74, + AUTHOR = {H-K Ho}, + TITLE = {Teacher Preparation for Early Childhood Special + Education in {Taiwan}}, + NUMBER = {ED545393}, + EPRINTTYPE = {ERIC}, + URL = {https://files.eric.ed.gov/fulltext/ED545393.pdf}, + DATE = {2014} +} + +% (APA 10.9 Example 75) +@DATASET{10.9:75a, + ENTRYSUBTYPE = {Data Set}, + AUTHOR = {A. D'Souza and M. Wiseheart}, + TITLE = {Cognitive Effects of Music and Dance Training in Children}, + NUMBER = {ICPSR 37080}, + VERSION = {V1}, + PUBLISHER = {ICPSR}, + DOI = {10.3886/ICPSR37080.1}, + DATE = {2018} +} + +@DATASET{10.9:75b, + ENTRYSUBTYPE = {Data set and code book}, + AUTHOR = {{National Center for Education Statistics}}, + TITLE = {Fast Response Survey System ({FRSS})}, + SUBTITLE = {Teacher's Use of Educational Technology in {U.S.} + Public Schools, 2009}, + NUMBER = {ICPSR 35531}, + VERSION = {V3}, + PUBLISHER = {{National Archive of Data on Arts and Culture}}, + DOI = {10.3886/ICPSR335531.v3}, + DATE = {2016} +} + +@DATASET{10.9:75c, + ENTRYSUBTYPE = {Data set}, + AUTHOR = {{Pew Research Center}}, + TITLE = {American Trends Panel {Wave} 26}, + URL = {https://www.pewsocialtrends.org/dataset/american-trends-panel-wave-26/}, + DATE = {2018} +} + +% (APA 10.9 Example 76) +@DATASET{10.9:76a, + TITLEADDON = {Unpublished raw data on the correlations between the + {Five} {Facet} {Mindfulness} {Questionnaire} + and the {Kentucky} {Inventory} of {Mindfulness} {Skills}}, + INSTITUTION = {University of Kentucky}, + AUTHOR = {R. A. Baer}, + DATE = {2015} +} + +@DATASET{10.9:76b, + ENTRYSUBTYPE = {Unpublished raw data}, + AUTHOR = {{Oregan Youth Authority}}, + TITLE = {Recidivism Outcomes}, + DATE = {2011} +} + +% (APA 10.10 Example 77) +@SOFTWARE{10.10:77, + ENTRYSUBTYPE = {Computer software}, + AUTHOR = {M. Borenstein and L. Hedges and J. Higgins and H. Rothstein}, + TITLE = {Comprehensive Meta-Analysis}, + VERSION = {3.3.070}, + PUBLISHER = {Biostat}, + URL = {https://www.meta-analysis.com/}, + DATE = {2014} +} + +% (APA 10.10 Example 78) +@HARDWARE{10.10:78a, + ENTRYSUBTYPE = {Apparatus and software}, + AUTHOR = {{SR Research}}, + TITLE = {Eyelink 1000 Plus}, + URL = {https://www.sr-research.com/eyelink1000plus.html}, + DATE = {2016} +} + +@HARDWARE{10.10:78b, + ENTRYSUBTYPE = {Apparatus}, + AUTHOR = {{Tactile Labs}}, + TITLE = {Latero Tactile Display}, + URL = {https://www.tactilelabs.com/products/haptics/latero-tactile-display/}, + DATE = {2015} +} + +% (APA 10.10 Example 79) +% The ENTRYSUBTYPE here is not a localisation string as such neologisms +% don't need them usually - it's just inserted as it is +@SOFTWARE{10.10:79, + ENTRYSUBTYPE = {Mobile app}, + AUTHOR = {Epocrates}, + TITLE = {Epocrates Medical References}, + VERSION = {18.12}, + PUBLISHER = {App Store}, + URL = {https://itunes.apple.com/us/app/epocrates/id281935788?mt=8}, + DATE = {2019} +} + +% (APA 10.10 Example 80) +% The \relax is in the AUTHOR field just to make it different to 10.10.79 +% to suppress extrayear for the purposes of matching the APA guide exactly +@SOFTWARE{10.10:80, + ENTRYSUBTYPE = {Mobile app}, + AUTHOR = {Epocrates\relax}, + APPENTRY = {Interaction Check: {Aspirin} + Sertraline}, + TITLE = {Epocrates Medical References}, + VERSION = {18.12}, + PUBLISHER = {Google Play Store}, + URL = {https://play.google.com/store/apps/details?id=com.epocrates&hl=en_US}, + DATE = {2019} +} + +% (APA 10.11 Example 81) +@MANUAL{10.11:81, + AUTHOR = {A. Tellegen and Y. S. Ben-Porath}, + TITLE = {Minnesota {Multiphasic} {Personality} {Inventory}--2 + {Restructured} {Form} ({MMPI-2-RF})}, + SUBTITLE = {Technical Manual}, + PUBLISHER = {Pearson}, + DATE = {2011} +} + +% (APA 10.11 Example 82) +@SOFTWARE{10.11:82, + AUTHOR = {{Project Implicit}}, + TITLE = {Gender-{Science} {IAT}}, + URL = {https://implicit.harvard.edi/implicit/takeatest.html} +} + +% (APA 10.11 Example 83) +@SOFTWARE{10.11:83a, + ENTRYSUBTYPE = {Database record}, + AUTHOR = {J. Alonso-Tapia and C. Nieto and E. Merino-Tejedor and + J. A. Huertas and M. Ruiz}, + TITLE = {Situated {Goals} {Questionnaire} for {University} + {Students} ({SGQ-U}, {CMS-U})}, + PUBLISHER = {PsycTESTS}, + DOI = {10.1037/t66267-000}, + DATE = {2018} +} + +@SOFTWARE{10.11:83b, + ENTRYSUBTYPE = {Database record}, + AUTHOR = {D. Cardoza and J. K. Morris and H. F. Myers and N. Rodriguez}, + TITLE = {Acculturative {Stress} {Inventory} ({ASI})}, + NUMBER = {TC022704}, + PUBLISHER = {ETS TestLink}, + DATE = {2000} +} + +% (APA 10.12 Example 84) +% Annotations for author roles must be called "role". This is an example of +% an annotation which is a localisation string +@VIDEO{10.12:84a, + ENTRYSUBTYPE = {film}, + AUTHOR = {M. Forman}, + AUTHOR+an:role = {1=director}, + TITLE = {One Flew Over the Cuckoo's Nest}, + PUBLISHER = {United Artists}, + DATE = {1975} +} + +% ENTRYSUBTYPE is a localisation string +@VIDEO{10.12:84b, + ENTRYSUBTYPE = {film}, + AUTHOR = {D. Fosha and H. Levenson}, + AUTHOR+an:role = {1=guestexpert;2=host}, + TITLE = {Accelerated Experiental Dynamic Psychotherapy ({AEDP}) Supervision}, + NOTE = {educational DVD}, + PUBLISHER = {American Pychological Association}, + URL = {http://www.apa.org/pubs/videos/4310958.aspx}, + DATE = {2017} +} + +% ENTRYSUBTYPE is a localisation string +@VIDEO{10.12:84c, + ENTRYSUBTYPE = {film}, + AUTHOR = {P. Jackson}, + AUTHOR+an:role = {1=director}, + TITLE = {The Lord of the Rings}, + SUBTITLE = {The Fellowship of the Ring}, + NOTE = {four-disc special extended ed. on DVD}, + PUBLISHER = {WingNut Films and The Saul Zaentz Company}, + DATE = {2001} +} + +% (APA 10.12 Example 85) +% ENTRYSUBTYPE is a localisation string +@VIDEO{10.12:85, + ENTRYSUBTYPE = {film}, + AUTHOR = {L. Malle}, + AUTHOR+an:role = {1=director}, + TITLE = {Goodbye Children}, + ORIGTITLE = {Au revoir les enfants}, + PUBLISHER = {Nouvelles Éditions de Films}, + DATE = {1987} +} + +% (APA 10.12 Example 86) +% ENTRYSUBTYPE is a localisation string +% Note that if there were only one author, the annotation would be +% "1=execproducer" to get the singular form and apply it only to the first +% item in the name list, even though there is only one. List item +% annotations (those of the form "n=" should be the singular form +% whereas whole field annotations (those of the form "=" should usually +% be the plural form. So, when using the singular form, a list item index +% is mandatory. +@VIDEO{10.12:86, + ENTRYSUBTYPE = {tvseries}, + AUTHOR = {D. Simon and R. F. Colesberry and Kostroff Noble, N.}, + AUTHOR+an:role = {=execproducers}, + TITLE = {The Wire}, + PUBLISHER = {Blown Deadline Productions and HBO}, + DATE = {2002/2008} +} + +% (APA 10.12 Example 87) +% ENTRYSUBTYPE is a localisation string +% Dual localisation string data annotation for the first AUTHOR +@VIDEO{10.12:87a, + ENTRYSUBTYPE = {tvepisode}, + AUTHOR = {K. Barris}, + AUTHOR+an:role = {1=director,writer}, + TITLE = {Lemons ({Season}~3, {Episode}~12)}, + MAINTITLE = {Black-ish}, + EXECPRODUCER = {K. Barris and J. Groff and A. Anderson and E. B. + Dobbins and L. Fishburne and H. Sugland}, + PUBLISHER = {Wilmore Films and Artists First and Cinema Gypsy + Productions and ABC Studios}, + DATE = {2017-01-11} +} + +% ENTRYSUBTYPE is a localisation string +% Three data annotations, one for each name in the AUTHOR list +@VIDEO{10.12:87b, + ENTRYSUBTYPE = {tvepisode}, + AUTHOR = {B. Oakley and J. Weinstein and J. Lynch}, + AUTHOR+an:role = {1=writer;2=writer;3=director}, + TITLE = {Who Shot {Mr.} {Burns}? ({Part} {One}) ({Season}~6, + {Episode}~25)}, + MAINTITLE = {The Simpsons}, + EXECPRODUCER = {D. Mirkin and J. L. Brooks and M. Groening and S. Simon}, + PUBLISHER = {Gracie Films and Twentieth Century Fox Film Corporation}, + DATE = {1995-05-21} +} + +% (APA 10.12 Example 88) +% ENTRYSUBTYPE is a localisation string +@VIDEO{10.12:88a, + ENTRYSUBTYPE = {video}, + AUTHOR = {S. Giertz}, + TITLE = {Why You Should Make Useless Things}, + PUBLISHER = {TED Conferences}, + DATE = {2018-04}, + URL = {https://www.ted.com/talks/simone_giertz_why_you_should_make_useless_things} +} + +% ENTRYSUBTYPE is a localisation string +@VIDEO{10.12:88b, + ENTRYSUBTYPE = {video}, + AUTHOR = {TED}, + TITLE = {Brené {Brown}}, + SUBTITLE = {Listening to Shame}, + PUBLISHER = {YouTube}, + DATE = {2012-03-16}, + URL = {https://www.youtube.com/watch?v=psN1DORYYV0} +} + +% (APA 10.12 Example 89) +% Here, the ENTRYSUBTYPE is not a localisation string as there is no +% localisation necessary for such ugly neologisms +@VIDEO{10.12:89, + ENTRYSUBTYPE = {Webinar}, + AUTHOR = {J. F. Goldberg}, + TITLE = {Evaluating Adverse Drug Effects}, + PUBLISHER = {American Psychiatric Association}, + DATE = {2018}, + URL = {https://education.psychiatry.org/Users/ProductDetails.aspx?ActivityID=6172} +} + +% (APA 10.12 Example 90) +% ENTRYSUBTYPE is a localisation string +@VIDEO{10.12:90a, + ENTRYSUBTYPE = {video}, + AUTHOR = {S. Cutts}, + TITLE = {Happiness}, + PUBLISHER = {Vimeo}, + DATE = {2017-11-24}, + URL = {https://vimeo.com/244405542} +} + +% ENTRYSUBTYPE is a localisation string +% A literal data annotation (not a localisation string) for the AUTHOR username +@VIDEO{10.12:90b, + ENTRYSUBTYPE = {video}, + AUTHOR = {M. Fogarty}, + AUTHOR+an:username = {1="Grammar Girl"}, + TITLE = {How to Diagram a Sentence (Absolute Basics)}, + PUBLISHER = {YouTube}, + DATE = {2016-09-30}, + URL = {https://youtube.be/deiEY5Yq1ql} +} + +% ENTRYSUBTYPE is a localisation string +@VIDEO{10.12:90c, + ENTRYSUBTYPE = {video}, + AUTHOR = {{University of Oxford}}, + TITLE = {How Do Geckos Walk on Water?}, + PUBLISHER = {YouTube}, + DATE = {2016-12-06}, + URL = {https://www.youtube.com/watch?v=qm1xGfOZJc8} +} + +% (APA 10.13 Example 91) +% ENTRYSUBTYPE is (obviously) not a localisation string, inserted literally +@AUDIO{10.13:91a, + ENTRYSUBTYPE = {Album recorded by Academy of St~Martin in the Fields}, + AUTHOR = {J. S. Bach}, + TITLE = {The {Brandenburg} Concertos}, + SUBTITLE = {Concertos {BVW} 1043 \& 1060}, + PUBLISHER = {Decca}, + DATE = {2010}, + ORIGDATE = {1721} +} + +@AUDIO{10.13:91b, + ENTRYSUBTYPE = {album}, + AUTHOR = {D. Bowie}, + TITLE = {Blackstar}, + PUBLISHER = {Columbia}, + DATE = {2016} +} + +% (APA 10.13 Example 92) +% Notice that useprefix is disabled as Beethoven generally does not have +% the prefix leading +% ENTRYSUBTYPE is not a localisation string +@AUDIO{10.13:92a, + OPTIONS = {useprefix=false}, + ENTRYSUBTYPE = {Song recorded by Staatskapelle Dresden}, + AUTHOR = {van Beethoven, L.}, + TITLE = {Symphony {No.}~3 in {E-flat} major}, + MAINTITLE = {Beethoven: {Complete} {Symphonies}}, + PUBLISHER = {Brilliant Classics}, + DATE = {2012}, + ORIGDATE = {1804} +} + +% ENTRYSUBTYPE is a localisation string +@AUDIO{10.13:92b, + ENTRYSUBTYPE = {song}, + AUTHOR = {Beyoncé}, + TITLE = {Formation}, + MAINTITLE = {Lemonade}, + PUBLISHER = {Parkwood and Columbia}, + DATE = {2016} +} + +% ENTRYSUBTYPE is a localisation string +@AUDIO{10.13:92c, + ENTRYSUBTYPE = {song}, + AUTHOR = {{Childish Gambino}}, + TITLE = {This is {America}}, + PUBLISHER = {mcDJ and RCA}, + DATE = {2018} +} + +% ENTRYSUBTYPE is a localisation string +@AUDIO{10.13:92d, + ENTRYSUBTYPE = {song}, + AUTHOR = {K. Lamar}, + TITLE = {Humble}, + MAINTITLE = {Damn}, + PUBLISHER = {Aftermath Entertainment and Interscope Records and Top + Dawg Entertainment}, + DATE = {2017} +} + +% (APA 10.13 Example 93) +% ENTRYSUBTYPE is a localisation string as it expands to the localisable "Audio podcast" +% for some reason best known to the APA +@AUDIO{10.13:93, + ENTRYSUBTYPE = {podcast}, + AUTHOR = {S. Vedantam}, + AUTHOR+an:role = {1=host}, + TITLE = {Hidden Brain}, + PUBLISHER = {NPR}, + DATE = {2015/}, + URL = {https://www.npr.org/series/423302056/hidden-brain} +} + +% (APA 10.13 Example 94) +% ENTRYSUBTYPE is a localisation string as it expands to the localisable +% "Audio podcast episode" for some reason best known to the APA +@AUDIO{10.13:94, + ENTRYSUBTYPE = {podcastepisode}, + AUTHOR = {I. Glass}, + AUTHOR+an:role = {1=host}, + TITLE = {Amusement Park}, + MAINTITLE = {This {American} {Life}}, + NUMBER = {443}, + PUBLISHER = {WBEZ Chicago}, + DATE = {2011-08-12}, + URL = {https://www.thisamericanlife.org/radio-archives/episode/443/amusement-park} +} + +% (APA 10.13 Example 95) +% ENTRYSUBTYPE is a localisation string +@AUDIO{10.13:95, + ENTRYSUBTYPE = {interview}, + AUTHOR = {de Beauvoir, S.}, + TITLE = {Simone de {Beauvoir} Discusses the Art of Writing}, + PUBLISHER = {Studs Terkel Radio Archive and The Chicago History Museum}, + DATE = {1960-05-04}, + URL = {https://studsterkel.wfmt.com/programs/simone-de-beauvoir-discusses-art-writing} +} + +% (APA 10.13 Example 96) +% ENTRYSUBTYPE is a localisation string +@AUDIO{10.13:96, + ENTRYSUBTYPE = {speech}, + AUTHOR = {King, Jr., M. L.}, + TITLE = {I Have a Dream}, + PUBLISHER = {American Rhetoric}, + DATE = {1963-08-28}, + URL = {https://www.americanrhetoric.com/speeches/mlkihaveadream.htm} +} + +% (APA 10.14 Example 97) +% ENTRYSUBTYPE is a localisation string +@IMAGE{10.14:97a, + ENTRYSUBTYPE = {lithograph}, + AUTHOR = {E. Delacroix}, + TITLE = {Faust Attempts to Seduce {Marguerite}}, + LOCATION = {The Louvre, Paris, France}, + DATE = {1826/1827} +} + +% ENTRYSUBTYPE is a localisation string +@IMAGE{10.14:97b, + ENTRYSUBTYPE = {painting}, + AUTHOR = {G. Wood}, + TITLE = {American Gothic}, + LOCATION = {Art Institute of Chicago, Chicago, IL, United States}, + DATE = {1930}, + URL = {https://www.artic.edu/aic/collections/artwork/6565} +} + +% (APA 10.14 Example 98) +% No need for a localisation string for such neologisms which are the same +% in all languages +@IMAGE{10.14:98, + ENTRYSUBTYPE = {Clip art}, + AUTHOR = {GDJ}, + TITLE = {Neural Network Deep Learning Prismatic}, + PUBLISHER = {Openclipart}, + DATE = {2018}, + URL = {https://openclipart.org/detail/309343/neural-network-deep-learning-prismatic} +} + +% (APA 10.14 Example 99) +% No need for a localisation string for such neologisms which are the same +% in all languages +@IMAGE{10.14:99, + ENTRYSUBTYPE = {Infographic}, + AUTHOR = {J. Rossman and R. Palmer}, + TITLE = {Sorting Through our Space Junk}, + PUBLISHER = {World Science Festival}, + DATE = {2015}, + URL = {https://www.worldsciencefestival.com/2015/11/space-junk-infographic/} +} + +% (APA 10.14 Example 100) +% ENTRYSUBTYPE is a localisation string +@IMAGE{10.14:100a, + ENTRYSUBTYPE = {map}, + AUTHOR = {D. Cable}, + TITLE = {The Racial Dot Map}, + LOCATION = {University of Virginia}, + PUBLISHER = {Weldon Cooper Center for Public Service}, + DATE = {2013}, + URL = {https://demographics.coopercenter.org/Racial-Dot-Map} +} + +% TITLEADDON is used to unconditionally add what is usually post-title +% information in brackets when there is no title +@IMAGE{10.14:100b, + AUTHOR = {Google}, + TITLEADDON = {Google {Maps} directions for driving from {La} {Paz}, + {Bolivia}, to {Lima}, {Peru}}, + URL = {https://goo.gl/YYE3GR}, + URLDATE = {2020-02-16} +} + +% (APA 10.14 Example 101) +% ENTRYSUBTYPE is a localisation string +@IMAGE{10.14:101a, + ENTRYSUBTYPE = {photograph}, + AUTHOR = {S. McCurry}, + TITLE = {Afghan Girl}, + PUBLISHER = {National Geographic}, + DATE = {1985}, + URL = {https://www.nationalgeographic.com/magazine/national-geographic-magazine-50-years-of-covers/#/ngm-1985-jun-714.jpg} +} + +@IMAGE{10.14:101b, + AUTHOR = {Jessica Rinaldi}, + TITLEADDON = {Photograph series of a boy who finds his footing after + abuse by those he trusted}, + PUBLISHER = {The Pulitzer Prizes}, + DATE = {2016}, + URL = {https://www.pulitzer.org/winners/jessica-rinaldi} +} + +% (APA 10.14 Example 102) +@IMAGE{10.14:102a, + AUTHOR = {E. Canan and J. Vasilev}, + TITLEADDON = {Lecture notes on resource allocation}, + LOCATION = {{Department of Management Control and Information Systems}}, + PUBLISHER = {University of Chile}, + DATE = {2019-05-22}, + URL = {https://uchilefau.academia.edu/ElseZCanan} +} + +% ENTRYSUBTYPE is a localisation string as it expands to "Powerpoint Slides" +@IMAGE{10.14:102b, + ENTRYSUBTYPE = {powerpoint}, + AUTHOR = {Brian Housand}, + TITLE = {Game on! {Integrating} Games and Simulations in the Classroom}, + PUBLISHER = {SlideShare}, + DATE = {2016}, + URL = {https://www.slideshare.net/brianhousand/game-on-iagc-2016/} +} + +% ENTRYSUBTYPE is a localisation string as it expands to "Powerpoint Slides" +@IMAGE{10.14:102c, + ENTRYSUBTYPE = {powerpoint}, + AUTHOR = {R. Mack and G. Spake}, + TITLE = {Citing Open Source Images and Formatting References for + Presentations}, + PUBLISHER = {Canvas@FNU}, + DATE = {2018}, + URL = {https://fnu.onelogin.com/login} +} + +% (APA 10.15 Example 103) +% ENTRYTYPE is not a localisation string for such, unfortunately, universal neologisms +@ONLINE{10.15:103a, + ENTRYSUBTYPE = {Tweet}, + AUTHOR = {{APA Education}}, + AUTHOR+an:username = {1="@APAEducation"}, + TITLE = {College Students are Forming Mental-Health + Clubs--and They're Making a Difference @washingtonpost}, + TITLEADDON = {Thumbnail with link attached}, + EPRINTTYPE = {Twitter}, + DATE = {2018-06-29}, + URL = {https://twitter.com/apaeducation/status/1012810490530140161} +} + +% ENTRYTYPE is not a localisation string for such, unfortunately, universal neologisms +@ONLINE{10.15:103b, + ENTRYSUBTYPE = {Tweet}, + AUTHOR = {{Badlands National Park}}, + AUTHOR+an:username = {1="@BadlandsNPS"}, + TITLE = {Biologists Have Identified More Than 400 + Different Plant Species Growing in + {@BadlandsNPS} \#{DYK} \#biodoversity}, + EPRINTTYPE = {Twitter}, + DATE = {2018-02-26}, + URL = {https://twitter.com/BadlandsNPS/status/968196500412133379} +} + +% ENTRYTYPE is not a localisation string for such, unfortunately, universal neologisms +@ONLINE{10.15:103c, + ENTRYSUBTYPE = {Tweet}, + AUTHOR = {B. White}, + AUTHOR+an:username = {1="@BettyMWhite"}, + TITLE = {I Treasure Every Minute We Spent Together \#koko}, + TITLEADDON = {Image attached}, + EPRINTTYPE = {Twitter}, + DATE = {2018-06-21}, + URL = {https://twitter.com/BettyMWhite/status/1009951892846227456} +} + +% (APA 10.15 Example 104) +% ENTRYTYPE is not a localisation string for such, unfortunately, universal neologisms +@ONLINE{10.15:104, + ENTRYSUBTYPE = {Twitter profile}, + AUTHOR = {{APA Style}}, + AUTHOR+an:username = {1="@APA\_Style"}, + TITLE = {Tweets}, + EPRINTTYPE = {Twitter}, + URL = {https://twitter.com/APA_Style}, + URLDATE = {2019-11-01} +} + +% (APA 10.15 Example 105) +% ENTRYTYPE is not a localisation string for such, unfortunately, universal neologisms +@ONLINE{10.15:105a, + ENTRYSUBTYPE = {Status update}, + AUTHOR = {N. Gaiman}, + TITLE = {100,000+ {Rohingya} Refugees Could be at + Serious Risk during {Bangladesh's} Monsoon + Season. {My} Fellow {UNHCR} {Goodwill} + {Ambassador} {Cate} {Blanchett} is}, + TITLEADDON = {Image attached}, + EPRINTTYPE = {Facebook}, + URL = {http://bit.ly/2JQxPAD}, + DATE = {2018-03-22} +} + +% ENTRYTYPE is not a localisation string for such, unfortunately, universal neologisms +@ONLINE{10.15:105b, + ENTRYSUBTYPE = {Infographic}, + AUTHOR = {{National Institute of Mental Health}}, + TITLE = {Suicide Affects all Ages, Genders, Races, and + Ethnicities. {Check} out These 5 {Action} + {Steps} for {Helping} {Someone} in {Emotional} + {Pain}}, + EPRINTTYPE = {Facebook}, + URL = {http://bit.ly/321Qstq}, + DATE = {2018-11-28} +} + +% Note protecting of automatic sentence-casing in SUBTITLE for url +@ONLINE{10.15:105c, + ENTRYSUBTYPE = {video}, + AUTHOR = {{News From Science}}, + TITLE = {These Frogs Walk Instead of Hop}, + SUBTITLE = {{h}ttps://scimag.2{K}lriw{H}}, + EPRINTTYPE = {Facebook}, + URL = {https://www.facebook.com/ScienceNOW/videos/10155508587605108}, + DATE = {2018-06-26} +} + +% (APA 10.15 Example 106) +% ENTRYTYPE is not a localisation string for such, unfortunately, universal neologisms +@ONLINE{10.15:106, + ENTRYSUBTYPE = {Facebook page}, + AUTHOR = {{Smithsonian's National Zoo and Conservation + Biology Institute}}, + TITLE = {Home}, + EPRINTTYPE = {Facebook}, + URL = {https://www.facebookcom/nationalzoo}, + URLDATE = {2019-07-22} +} + +% (APA 10.15 Example 107) +% ENTRYSUBTYPE is a localisation string +@ONLINE{10.15:107, + ENTRYSUBTYPE = {photographs}, + AUTHOR = {{Zeitz MOCAA}}, + AUTHOR+an:username = {1="@zeitzmocaa"}, + TITLE = {Grade 6 Learners from {Parkfields} {Primary} + {School} in {Hanover} {Park} Visited the + Museum for a Tour and Workshop Hosted by}, + EPRINTTYPE = {Instagram}, + URL = {https://www.instagram.com/p/BqpHpjFBs3b}, + DATE = {2018-11-26} +} + +% (APA 10.15 Example 108) +% ENTRYTYPE is not a localisation string for such, unfortunately, universal neologisms +@ONLINE{10.15:108, + ENTRYSUBTYPE = {Highlight}, + AUTHOR = {{The New York Public Library}}, + AUTHOR+an:username = {1="@nypl"}, + TITLE = {The Raven}, + EPRINTTYPE = {Instagram}, + URL = {https://bitly.com/2FV8bu3}, + URLDATE = {2019-04-16} +} + +% (APA 10.15 Example 109) +% ENTRYTYPE is not a localisation string for such, unfortunately, universal neologisms +@ONLINE{10.15:109, + ENTRYSUBTYPE = {Online forum post}, + AUTHOR = {{National Aeronautics and Space Administration}}, + AUTHOR+an:username = {1="nasa"}, + TITLE = {I'm {NASA} Astronaut {Scott} {Tingle}. {Ask} + me anything about adjusting to being back on + {Earth} after my first spaceflight!}, + EPRINTTYPE = {Reddit}, + URL = {https://www.reddit.com/r/IAmA/comments/9fagqy/im_nasa_astronaut_scott_tingle_ask_me_anything/}, + DATE = {2018-09-12} +} + +% (APA 10.16 Example 110) +@ONLINE{10.16:110a, + AUTHOR = {N. Avramova}, + TITLE = {The Secret to a Long, Happy, Health Life? {Think} Age-Positive}, + EPRINTTYPE = {CNN}, + DATE = {2019-01-03}, + URL = {https://www.cnn.com/2019/01/03/health/respect-towards-elderly-leads-to-long-life-intl/index.html} +} + +@ONLINE{10.16:110b, + AUTHOR = {C. Bologna}, + TITLE = {What Happens to Your Mind and Body When You Feel Homesick?}, + EPRINTTYPE = {HuffPost}, + DATE = {2018-06-27}, + URL = {https://www.huffingtonpost.com/entry/what-happens-mind-body-homesick_us_5b201ebde4b09d7a3d77eee1} +} + +% (APA 10.16 Example 111) +@ONLINE{10.16:111a, + AUTHOR = {{Centers for Disease Control and Prevention}}, + TITLE = {People at High Risk of Developing Flu-Related Complications}, + DATE = {2018-01-23}, + URL = {https://www.cdc.gov/flu/about/disease/high_risk.htm} +} + +@ONLINE{10.16:111b, + AUTHOR = {{World Health Organization}}, + TITLE = {Questions and Answers on Immunization and Vaccine Safety}, + DATE = {2018-03}, + URL = {https://www.who.int/features/qa/84/en/} +} + +% (APA 10.16 Example 112) +@ONLINE{10.16:112, + AUTHOR = {Martin Lillie, C. M.}, + TITLE = {Be Kind To Yourself}, + SUBTITLE = {How Self-Compassion Can Improve Your Resiliency}, + EPRINTTYPE = {Mayo Clinic}, + DATE = {2016-12-29}, + URL = {https://www.mayoclinic.org/healthy-lifestyle/adult-health/in-depth/self-compassion-can-improve-your-resiliency/art-20267193} +} + +% (APA 10.16 Example 113) +@ONLINE{10.16:113a, + AUTHOR = {J. Boddy and T. Neumann and S. Jennings and V. Morrow + and P. Alderson and R. Rees and W. Gibson}, + TITLE = {Ethics Principles}, + EPRINTTYPE = {The Research Ethics Guidebook: A Resource for Social Scientists}, + URL = {http://www.ethicsguidebook.ac.uk/EthicsPrinciples} +} + +@ONLINE{10.16:113b, + AUTHOR = {{National Nurses United}}, + TITLE = {What Employers Should do to Protect Nurses from {Zika}}, + URL = {https://www.nationalnursesunited.org/pages/what-employers-should-do-to-protect-rns-from-zika} +} + +% (APA 10.16 Example 114) +@ONLINE{10.16:114, + AUTHOR = {{U.S. Census Bureau}}, + TITLE = {{U.S.} and World Population Clock}, + ORGANIZATION = {U.S. Department of Commerce}, + URL = {https://www.census.gov/popclock/}, + URLDATE = {2019-07-03} +} + +% (APA 11.4 Example 1) +@JURISDICTION{11.4:1, + TITLE = {Brown v. Board of Education}, + CITATION = {347 U.S. 483}, + URL = {http://www.oyez.org/cases/1940-1955/347us483}, + DATE = {1954} +} + +% (APA 11.4 Example 2) +@JURISDICTION{11.4:2, + TITLE = {Obergefell v. Hodges}, + CITATION = {576 U.S. \_\_\_}, + URL = {https://www.supremecourt.gov/opinions/14pdf/14-556_3204.pdf}, + DATE = {2015} +} + +% (APA 11.4 Example 3) +% court/date which applies to the entire CITATION list can be given in the +% ORGANIZATION and DATE fields +@JURISDICTION{11.4:3, + TITLE = {Daubert v. Merrell Dow Pharmaceuticals, Inc.}, + CITATION = {951 F.2d 1128}, + ORGANIZATION = {9th Cir.}, + URL = {https://openjurist.org/951/f2d/1128/william-dabert-v-merrell-dow-pharmaceuticals}, + DATE = {1991} +} + +% (APA 11.4 Example 4) +@JURISDICTION{11.4:4, + TITLE = {Burriola v. Greater Toledo YMCA}, + CITATION = {133 F.Supp.2d 1034}, + ORGANIZATION = {N.D. Ohio}, + URL = {https://law.justia.com/cases/federal/district-courts/FSupp2/133/1034/2293141/}, + DATE = {2001} +} + +% (APA 11.4 Example 5) +% For courts and years attached to specific elements of the citation list, +% don't use ORGANIZATION/DATE, use literal citeorg/citedate annotations +% use the citeinfo annotation with the special annotation value "appeal" for +% any affirmed/repealed status in the citatation list +% DATE/ORIGDATE are also included to make citations work +@JURISDICTION{11.4:5, + TITLE = {Durflinger v. Artiles}, + CITATION = {563 F.Supp. 332 and aff'd and 727 F.2d 888}, + CITATION+an:citeorg = {1="D. Kan.";3="10th Cir."}, + CITATION+an:citedate = {1="1981";3="1984"}, + CITATION+an:citeinfo = {2=appeal}, + URL = {https://openjurist.org/727/f2d/888/durflinger-v-artiles}, + DATE = {1984}, + ORIGDATE = {1981} +} + +% (APA 11.4 Example 6) +@JURISDICTION{11.4:6, + TITLE = {Tarasoff v. Regents of the University of California}, + CITATION = {17 Cal.3d 425 and 131 Cal. Rptr. 14 and 551 P.2d 334}, + URL = {https://www.casebriefs.com/blog/law/torts/tors-keyed-to-dobbs/the-duty-to-protect-from-third-persons/tarasoff-v-regents-of-university-of-california}, + DATE = {1976} +} + +% (APA 11.4 Example 7) +@JURISDICTION{11.4:7, + TITLE = {Texas v. Morales}, + CITATION = {826 S.W.2d 201}, + CITATION+an:citeorg = {1="Tex. Ct. App."}, + CITATION+an:citedate = {1="1992"}, + URL = {https://www.leagle.com/decision/19921027826sw2d20111010}, + DATE = {1992} +} + +% (APA 11.5 Example 8) +% Notice the use of TITLEADDON here as this shouldn't appear in the +% citation and so can't be in TITLE - the 11.5 APA section is inconsistent here +@LEGISLATION{11.5:8, + TITLE = {American With Disabilities Act}, + TITLEADDON = {of 1990}, + LOCATION = {42 U.S.C § 12101 \emph{et seq.}}, + URL = {https://www.ada.gov/pubs/adastatute08.htm}, + DATE = {1990} +} + +% (APA 11.5 Example 9) +% Notice the use of TITLEADDON here as this shouldn't appear in the +% citation and so can't be in TITLE - the 11.5 APA section is inconsistent here +@LEGISLATION{11.5:9, + TITLE = {Civil Rights Act}, + TITLEADDON = {of 1964}, + LOCATION = {Pub. L. No. 88--352, 78 Stat. 241}, + URL = {https://www.govinfo.gov/content/pkg/STATUE-78/pdf/STATUTE-78-Pg241.pdf}, + DATE = {1964} +} + +% (APA 11.5 Example 10) +@LEGISLATION{11.5:10, + TITLE = {Every Student Succeeds Act}, + LOCATION = {20 U.S.C § 6301}, + URL = {https://www.congress.gov/114/plaws/publ95/PLAW-114publ95.pdf}, + DATE = {2015} +} + +% (APA 11.5 Example 11) +@LEGISLATION{11.5:11, + TITLE = {Lilly Leadbetter Fair Play Act}, + TITLEADDON = {of 2009}, + LOCATION = {Pub. L. No. 111-2, 123 Stat. 5}, + URL = {https://www.govinfo.gov/content/pkg/PLAW-111publ2/pdf/PLAW-111publ2.pdf}, + DATE = {2009} +} + +% (APA 11.5 Example 12) +@LEGISLATION{11.5:12, + TITLE = {Patsy Mink Equal Opportunity in Education Act}, + LOCATION = {20 U.S.C § 1681 \emph{et seq.}}, + URL = {https://www.justice.org/crt/title-ix-education-amendments-1972}, + DATE = {1972} +} + +% (APA 11.5 Example 13) +@LEGISLATION{11.5:13, + TITLE = {Florida Mental Health Act}, + LOCATION = {Fla. Stat. § 394}, + URL = {http://www.leg.state.fl.us/statues/index.cfm?App_mode=Display_Statute&URL=0300-0399/0394/0394.html}, + DATE = {2009}, + ORIGDATE = {1971} +} + +% (APA 11.6 Example 14) +@LEGMATERIAL{11.6:14, + TITLE = {Federal Real Property Reform}, + SUBTITLE = {How cutting red tape and better management count + achieve billions in savings, U.S. Senate + Committee on Homeland Security and Governmental Affairs}, + LOCATION = {114th Cong.}, + NOTE = {testimony of Norman Dong}, + URL = {http://www.gsa.gov/portal/content/233107}, + DATE = {2016} +} + +% (APA 11.6 Example 15) +% Note the use of SHORTTITLE to use a shortened title in citations +@LEGMATERIAL{11.6:15, + TITLE = {Strengthening the Federal Student Loan Program + for Borrowers}, + SUBTITLE = {Hearing before the U.S. Senate Committee on + Health, Education, Labor \& Pensions}, + SHORTTITLE = {Strengthening the Federal Student Loan Program}, + LOCATION = {113th Cong.}, + URL = {https://www.help.senate.gov/hearings/strengthening-the-federal-student-load-program-for-borrowers}, + DATE = {2014} +} + +% (APA 11.6 Example 16) +@LEGISLATION{11.6:16, + TITLE = {Mental Health on Campus Improvement Act}, + LOCATION = {H.R 1100, 113th Cong.}, + URL = {https://www.congress.gov/bill/113th-congress/house-bill/1100}, + DATE = {2013} +} + +% (APA 11.6 Example 17) +@LEGMATERIAL{11.6:17, + SOURCE = {senate}, + TYPE = {resolution}, + NUMBER = {438}, + LOCATION = {114th Cong. and 162 Cong. Rec. 2394}, + NOTE = {enacted}, + URL = {https://www.congress.gov/congressional-record/2016/04/21/senate-section/article/S2394-2}, + DATE = {2016} +} + +% (APA 11.6 Example 18) +@LEGMATERIAL{11.6:18, + SOURCE = {houseofrepresentatives}, + TYPE = {report}, + NUMBER = {114-358}, + URL = {https://www.gpo.gov/fdsys/pkg/CRPT-114rpt358/pdf/CRPT-114hrpt358.pdf}, + DATE = {2015} +} + +% (APA 11.7 Example 19) +@LEGADMINMATERIAL{11.7:19, + TITLE = {Protection of Human Subjects}, + CITATION = {45 C.F.R. § 46}, + URL = {https://www.hhs.gov/ohrp/sites/default/files/ohrp/policy/ohrpregulations.pdf}, + DATE = {2009} +} + +% (APA 11.7 Example 20) +% Note the use of SHORTTITLE to use a shortened title in citations +@LEGADMINMATERIAL{11.7:20, + TITLE = {Defining and Delimiting the Exemptions for + Executive, Administrative, Professional, Outside + Sales and Computer Employees}, + SHORTTITLE = {Defining and Delimiting}, + CITATION = {81 F.R. 32391}, + URL = {https://www.federalregister.gov/articles/2016/05/23/2016-11754/defining-and-delimiting-the-exemptions-for-executive-administrative-professional-outside-sales-and}, + NOTE = {to be codified at 29 C.F.R. § 541}, + KEYWORDS = {proposed}, + DATE = {2016-05-23} +} + +% (APA 11.7 Example 21) +@LEGADMINMATERIAL{11.7:21, + TYPE = {execorder}, + NUMBER = {13,676}, + CITATION = {3 C.F.R. 294}, + URL = {https://www.govinfo.gov/content/pkg/CFR-2015-title3-vol1/pdf/CFR-2015-title3-vol1-eo13676.pdf}, + DATE = {2014} +} + +% (APA 11.8 Example 22) +@PATENT{11.8:22, + AUTHOR = {S. C. Hiremath and S. Kumar and F. Lu and A Salehi}, + TITLE = {Using Metaphors to Present Concepts Across Different + Intellectual Domains}, + TYPE = {U.S. Patent}, + NUMBER = {9,367,592}, + PUBLISHER = {{U.S. Patent and Trademark Office}}, + URL = {http://patft.uspto.gov/netacgi/nph-Parser?patentnumber=9367592}, + DATE = {2016} +} + +% (APA 11.9 Example 23) +@CONSTITUTION{11.9:23, + SOURCE = {us}, + TYPE = {constitution}, + ARTICLE = {I}, + SECTION = {3} +} + +% (APA 11.9 Example 24) +@CONSTITUTION{11.9:24, + SOURCE = {southcarolina}, + TYPE = {constitution}, + ARTICLE = {IX}, + SECTION = {3} +} + +% (APA 11.9 Example 25) +@CONSTITUTION{11.9:25, + SOURCE = {us}, + TYPE = {constitution}, + AMENDMENT = {XIX} +} + +% (APA 11.9 Example 26) +% Use KEYWORD "repealed" (which is a localised string) and EVENTDATE for the date of repeal +@CONSTITUTION{11.9:26, + SOURCE = {us}, + TYPE = {constitution}, + AMENDMENT = {XIX}, + KEYWORDS = {repealed}, + EVENTDATE = {1933} +} + +% (APA 11.9 Example 27) +@CONSTITUTION{11.9:27, + SOURCE = {us}, + TYPE = {constitution}, + AMENDMENT = {I--X} +} + +% (APA 11.9 Example 28) +% Use PART for paragraph +@CONSTITUTION{11.9:28, + SOURCE = {unitednations}, + TYPE = {charter}, + ARTICLE = {1}, + PART = {3} +} + +% (APA 11.10 Example 29) +@LEGAL{11.10:29, + TITLE = {United Nations Convention on the Rights of the Child}, + DATE = {1989-11-20}, + URL = {https://www.ohchr.org/en/professionalinterest/pages/crc.aspx} +} diff --git a/tests/name-initialize-test.lua b/tests/name-initialize-test.lua index f756fc42..710bd62e 100644 --- a/tests/name-initialize-test.lua +++ b/tests/name-initialize-test.lua @@ -150,6 +150,13 @@ describe("Name initializer", function () assert.equal("Ph. M. E.", name:initialize_name("Ph. M.E.", ". ", context)) end) end) + + -- biblatex-apa-test-references.bib 10.5:A3 + -- Alan-Louis. + it("extra dot", function () + assert.equal("A.-Louis.", name:initialize_name("Alan-Louis.", ". ", context)) + end) + end) describe("with 'initialize=\"false\":", function ()