testers_SecondAutoGeneratedZoteroPluginTest.json 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "abbreviations": false,
  3. "bibentries": false,
  4. "bibsection": false,
  5. "citation_items": false,
  6. "citations": false,
  7. "csl": "<style \n xmlns=\"http://purl.org/net/xbiblio/csl\"\n class=\"note\"\n version=\"1.0\"><info>\n <title>Chicago Manual of Style (Full Note with Bibliography)</title>\n <id>http://www.zotero.org/styles/chicago-fullnote-bibliography</id>\n <link rel=\"self\" href=\"http://www.zotero.org/styles/chicago-fullnote-bibliography\" />\n <link href=\"http://www.chicagomanualofstyle.org/tools_citationguide.html\" rel=\"documentation\" />\n <author>\n <name>Julian Onions</name>\n <email>julian.onions@gmail.com</email>\n </author>\n <contributor>\n <name>Simon Kornblith</name>\n <email>simon@simonster.com</email>\n </contributor>\n <contributor>\n <name>Elena Razlogova</name>\n <email>elena.razlogova@gmail.com</email>\n </contributor>\n <summary>Chicago format with full notes and bibliography</summary>\n <category field=\"generic-base\" />\n <category citation-format=\"numeric\" />\n <updated>2009-08-10T04:49:00+09:00</updated></info><macro name=\"editor-translator\">\n <group delimiter=\", \">\n <choose>\n <if variable=\"author\">\n <names delimiter=\", \" variable=\"editor\">\n <label form=\"verb-short\" suffix=\". \" text-case=\"lowercase\" />\n <name and=\"text\" delimiter=\", \" />\n </names>\n </if>\n </choose>\n <choose>\n <if match=\"any\" variable=\"author editor\">\n <names delimiter=\", \" variable=\"translator\">\n <label form=\"verb-short\" suffix=\". \" text-case=\"lowercase\" />\n <name and=\"text\" delimiter=\", \" />\n </names>\n </if>\n </choose>\n </group></macro><macro name=\"secondary-contributors-note\">\n <choose>\n <if match=\"none\" type=\"chapter\">\n <text macro=\"editor-translator\" />\n </if>\n </choose></macro><macro name=\"container-contributors-note\">\n <choose>\n <if type=\"chapter\">\n <text macro=\"editor-translator\" />\n </if>\n </choose></macro><macro name=\"secondary-contributors\">\n <choose>\n <if match=\"none\" type=\"chapter\">\n <group delimiter=\". \">\n <choose>\n <if variable=\"author\">\n <names delimiter=\". \" variable=\"editor\">\n <label form=\"verb\" prefix=\" \" suffix=\" \" text-case=\"capitalize-first\" />\n <name and=\"text\" delimiter=\", \" />\n </names>\n </if>\n </choose>\n <choose>\n <if match=\"any\" variable=\"author editor\">\n <names delimiter=\". \" variable=\"translator\">\n <label form=\"verb\" prefix=\" \" suffix=\" \" text-case=\"capitalize-first\" />\n <name and=\"text\" delimiter=\", \" />\n </names>\n </if>\n </choose>\n </group>\n </if>\n </choose></macro><macro name=\"container-contributors\">\n <choose>\n <if type=\"chapter\">\n <group delimiter=\", \">\n <choose>\n <if variable=\"author\">\n <names delimiter=\", \" variable=\"editor\">\n <label form=\"verb\" suffix=\" \" text-case=\"lowercase\" />\n <name and=\"text\" delimiter=\", \" />\n </names>\n </if>\n </choose>\n <choose>\n <if match=\"any\" variable=\"author editor\">\n <names delimiter=\", \" variable=\"translator\">\n <label form=\"verb\" suffix=\" \" text-case=\"lowercase\" />\n <name and=\"text\" delimiter=\", \" />\n </names>\n </if>\n </choose>\n </group>\n </if>\n </choose></macro><macro name=\"editor-note\">\n <names variable=\"editor\">\n <name and=\"text\" delimiter=\", \" sort-separator=\", \" />\n <label form=\"short\" prefix=\", \" suffix=\".\" />\n </names></macro><macro name=\"translator-note\">\n <names variable=\"translator\">\n <name and=\"text\" delimiter=\", \" sort-separator=\", \" />\n <label form=\"verb-short\" prefix=\", \" suffix=\".\" />\n </names></macro><macro name=\"recipient-note\">\n <names delimiter=\", \" variable=\"recipient\">\n <label form=\"verb\" prefix=\" \" suffix=\" \" text-case=\"lowercase\" />\n <name and=\"text\" delimiter=\", \" />\n </names></macro><macro name=\"contributors-note\">\n <names variable=\"author\">\n <name and=\"text\" delimiter=\", \" sort-separator=\", \" />\n <substitute>\n <text macro=\"editor-note\" />\n <text macro=\"translator-note\" />\n </substitute>\n </names>\n <text macro=\"recipient-note\" /></macro><macro name=\"editor\">\n <names variable=\"editor\">\n <name and=\"text\" delimiter=\", \" delimiter-precedes-last=\"always\" name-as-sort-order=\"first\" sort-separator=\", \" />\n <label form=\"short\" prefix=\", \" suffix=\".\" />\n </names></macro><macro name=\"translator\">\n <names variable=\"translator\">\n <name and=\"text\" delimiter=\", \" delimiter-precedes-last=\"always\" name-as-sort-order=\"first\" sort-separator=\", \" />\n <label form=\"verb-short\" prefix=\", \" suffix=\".\" />\n </names></macro><macro name=\"recipient\">\n <choose>\n <if type=\"personal_communication\">\n <choose>\n <if variable=\"genre\">\n <text text-case=\"capitalize-first\" variable=\"genre\" />\n </if>\n <else>\n <text term=\"letter\" text-case=\"capitalize-first\" />\n </else>\n </choose>\n </if>\n </choose>\n <text macro=\"recipient-note\" prefix=\" \" /></macro><macro name=\"contributors\">\n <names variable=\"author\">\n <name and=\"text\" delimiter=\", \" delimiter-precedes-last=\"always\" name-as-sort-order=\"first\" sort-separator=\", \" />\n <substitute>\n <text macro=\"editor\" />\n <text macro=\"translator\" />\n </substitute>\n </names>\n <text macro=\"recipient\" prefix=\". \" /></macro><macro name=\"recipient-short\">\n <names variable=\"recipient\">\n <label form=\"verb\" prefix=\" \" suffix=\" \" text-case=\"lowercase\" />\n <name and=\"text\" delimiter=\", \" form=\"short\" />\n </names></macro><macro name=\"contributors-short\">\n <names variable=\"author\">\n <name and=\"text\" delimiter=\", \" form=\"short\" />\n <substitute>\n <names variable=\"editor\" />\n <names variable=\"translator\" />\n </substitute>\n </names>\n <text macro=\"recipient-short\" /></macro><macro name=\"contributors-sort\">\n <names variable=\"author\">\n <name and=\"text\" delimiter=\", \" delimiter-precedes-last=\"always\" name-as-sort-order=\"all\" sort-separator=\", \" />\n <label form=\"verb-short\" prefix=\", \" suffix=\".\" />\n <substitute>\n <names variable=\"editor\" />\n <names variable=\"translator\" />\n </substitute>\n </names></macro><macro name=\"interviewer-note\">\n <names delimiter=\", \" variable=\"interviewer\">\n <label form=\"verb\" prefix=\" \" suffix=\" \" text-case=\"lowercase\" />\n <name and=\"text\" delimiter=\", \" />\n </names></macro><macro name=\"interviewer\">\n <names delimiter=\", \" variable=\"interviewer\">\n <label form=\"verb\" prefix=\" \" suffix=\" \" text-case=\"capitalize-first\" />\n <name and=\"text\" delimiter=\", \" />\n </names></macro><macro name=\"title-note\">\n <choose>\n <if match=\"none\" variable=\"title\">\n <text variable=\"genre\" />\n </if>\n <else-if type=\"book\">\n <text font-style=\"italic\" variable=\"title\" />\n </else-if>\n <else>\n <text quotes=\"true\" variable=\"title\" />\n </else>\n </choose></macro><macro name=\"title\">\n <choose>\n <if match=\"none\" variable=\"title\">\n <choose>\n <if match=\"none\" type=\"personal_communication\">\n <text text-case=\"capitalize-first\" variable=\"genre\" />\n </if>\n </choose>\n </if>\n <else-if type=\"book\">\n <text font-style=\"italic\" variable=\"title\" />\n </else-if>\n <else>\n <text quotes=\"true\" variable=\"title\" />\n </else>\n </choose></macro><macro name=\"title-short\">\n <choose>\n <if match=\"none\" variable=\"title\">\n <choose>\n <if type=\"interview\">\n <text term=\"interview\" text-case=\"lowercase\" />\n </if>\n <else-if match=\"any\" type=\"manuscript speech\">\n <text form=\"short\" variable=\"genre\" />\n </else-if>\n <else-if type=\"personal_communication\">\n <text macro=\"issued\" />\n </else-if>\n </choose>\n </if>\n <else-if type=\"book\">\n <text font-style=\"italic\" form=\"short\" variable=\"title\" />\n </else-if>\n <else>\n <text form=\"short\" quotes=\"true\" variable=\"title\" />\n </else>\n </choose></macro><macro name=\"description-note\">\n <group delimiter=\", \">\n <text macro=\"interviewer-note\" />\n <text variable=\"medium\" />\n <choose>\n <if match=\"none\" variable=\"title\"/>\n <else-if match=\"any\" type=\"thesis speech\"/>\n <else>\n <text variable=\"genre\" />\n </else>\n </choose>\n </group></macro><macro name=\"description\">\n <group delimiter=\", \">\n <group delimiter=\". \">\n <text macro=\"interviewer\" />\n <text text-case=\"capitalize-first\" variable=\"medium\" />\n </group>\n <choose>\n <if match=\"none\" variable=\"title\"/>\n <else-if match=\"any\" type=\"thesis speech\"/>\n <else>\n <text text-case=\"capitalize-first\" variable=\"genre\" />\n </else>\n </choose>\n </group></macro><macro name=\"container-title-note\">\n <choose>\n <if type=\"chapter\">\n <text suffix=\" \" term=\"in\" text-case=\"lowercase\" />\n </if>\n </choose>\n <text font-style=\"italic\" variable=\"container-title\" /></macro><macro name=\"container-title\">\n <choose>\n <if type=\"chapter\">\n <text suffix=\" \" term=\"in\" text-case=\"capitalize-first\" />\n </if>\n </choose>\n <text font-style=\"italic\" variable=\"container-title\" /></macro><macro name=\"collection-title\">\n <text variable=\"collection-title\" />\n <text prefix=\" \" variable=\"collection-number\" /></macro><macro name=\"edition-note\">\n <choose>\n <if match=\"any\" type=\"book chapter\">\n <choose>\n <if is-numeric=\"edition\">\n <group delimiter=\" \">\n <number form=\"ordinal\" variable=\"edition\" />\n <text form=\"short\" suffix=\".\" term=\"edition\" />\n </group>\n </if>\n <else>\n <text suffix=\".\" variable=\"edition\" />\n </else>\n </choose>\n </if>\n </choose></macro><macro name=\"edition\">\n <choose>\n <if match=\"any\" type=\"book chapter\">\n <choose>\n <if is-numeric=\"edition\">\n <group delimiter=\" \">\n <number form=\"ordinal\" variable=\"edition\" />\n <text form=\"short\" suffix=\".\" term=\"edition\" />\n </group>\n </if>\n <else>\n <text suffix=\".\" text-case=\"capitalize-first\" variable=\"edition\" />\n </else>\n </choose>\n </if>\n </choose></macro><macro name=\"locators-note\">\n <choose>\n <if type=\"article-journal\">\n <text prefix=\" \" variable=\"volume\" />\n <text prefix=\", no. \" variable=\"issue\" />\n </if>\n <else-if match=\"any\" type=\"book chapter\">\n <group delimiter=\", \" prefix=\", \">\n <group>\n <text form=\"short\" suffix=\". \" term=\"volume\" />\n <number form=\"numeric\" variable=\"volume\" />\n </group>\n <choose>\n <if match=\"none\" variable=\"locator\">\n <group>\n <number form=\"numeric\" variable=\"number-of-volumes\" />\n <text form=\"short\" plural=\"true\" prefix=\" \" suffix=\".\" term=\"volume\" />\n </group>\n </if>\n </choose>\n <text macro=\"edition-note\" />\n </group>\n </else-if>\n </choose></macro><macro name=\"locators\">\n <choose>\n <if type=\"article-journal\">\n <text prefix=\" \" variable=\"volume\" />\n <text prefix=\", no. \" variable=\"issue\" />\n </if>\n <else-if match=\"any\" type=\"book\">\n <group delimiter=\". \" prefix=\". \">\n <group>\n <text form=\"short\" suffix=\". \" term=\"volume\" text-case=\"capitalize-first\" />\n <number form=\"numeric\" variable=\"volume\" />\n </group>\n <group>\n <number form=\"numeric\" variable=\"number-of-volumes\" />\n <text form=\"short\" plural=\"true\" prefix=\" \" suffix=\".\" term=\"volume\" />\n </group>\n <text macro=\"edition\" />\n </group>\n </else-if>\n </choose></macro><macro name=\"locators-newspaper\">\n <choose>\n <if type=\"article-newspaper\">\n <group delimiter=\", \">\n <group>\n <text suffix=\" \" variable=\"edition\" />\n <text prefix=\" \" term=\"edition\" />\n </group>\n <group>\n <text form=\"short\" suffix=\". \" term=\"section\" />\n <text variable=\"section\" />\n </group>\n </group>\n </if>\n </choose></macro><macro name=\"event\">\n <group>\n <text suffix=\" \" term=\"presented at\" />\n <text variable=\"event\" />\n </group></macro><macro name=\"publisher\">\n <group delimiter=\": \">\n <text variable=\"publisher-place\" />\n <text variable=\"publisher\" />\n </group></macro><macro name=\"issued\">\n <choose>\n <if match=\"any\" type=\"graphic report\">\n <date variable=\"issued\">\n <date-part name=\"month\" suffix=\" \" />\n <date-part name=\"day\" suffix=\", \" />\n <date-part name=\"year\" />\n </date>\n </if>\n <else-if match=\"any\" type=\"book chapter thesis\">\n <date variable=\"issued\">\n <date-part name=\"year\" />\n </date>\n </else-if>\n <else>\n <date variable=\"issued\">\n <date-part name=\"month\" suffix=\" \" />\n <date-part name=\"day\" suffix=\", \" />\n <date-part name=\"year\" />\n </date>\n </else>\n </choose></macro><macro name=\"point-locators-subsequent\">\n <group>\n <choose>\n <if locator=\"page\" match=\"none\">\n <label form=\"short\" suffix=\" \" variable=\"locator\" />\n </if>\n </choose>\n <text variable=\"locator\" />\n </group></macro><macro name=\"point-locators\">\n <choose>\n <if match=\"none\" variable=\"locator\">\n <text macro=\"pages\" />\n </if>\n <else-if type=\"article-journal\">\n <text prefix=\": \" variable=\"locator\" />\n </else-if>\n <else>\n <text macro=\"point-locators-subsequent\" prefix=\", \" />\n </else>\n </choose></macro><macro name=\"pages\">\n <choose>\n <if type=\"article-journal\">\n <text prefix=\": \" variable=\"page\" />\n </if>\n <else-if type=\"chapter\">\n <text prefix=\", \" variable=\"page\" />\n </else-if>\n </choose></macro><macro name=\"locators-chapter\">\n <choose>\n <if type=\"chapter\">\n <text suffix=\":\" variable=\"volume\" />\n <text variable=\"page\" />\n </if>\n </choose></macro><macro name=\"locators-journal\">\n <choose>\n <if type=\"article-journal\">\n <text prefix=\": \" variable=\"page\" />\n </if>\n </choose></macro><macro name=\"archive-note\">\n <group delimiter=\", \">\n <text variable=\"archive_location\" />\n <text variable=\"archive\" />\n <text variable=\"archive-place\" />\n </group></macro><macro name=\"archive\">\n <group delimiter=\". \">\n <text text-case=\"capitalize-first\" variable=\"archive_location\" />\n <text variable=\"archive\" />\n <text variable=\"archive-place\" />\n </group></macro><macro name=\"issue-note\">\n <choose>\n <if type=\"article-journal\">\n <text macro=\"issued\" prefix=\" (\" suffix=\")\" />\n </if>\n <else-if match=\"any\" variable=\"publisher-place publisher\">\n <group delimiter=\", \" prefix=\" (\" suffix=\")\">\n <group delimiter=\" \">\n <choose>\n <if match=\"none\" variable=\"title\"/>\n <else-if match=\"any\" type=\"thesis speech\">\n <text variable=\"genre\" />\n </else-if>\n </choose>\n <text macro=\"event\" />\n </group>\n <text macro=\"publisher\" />\n <text macro=\"issued\" />\n </group>\n </else-if>\n <else>\n <text macro=\"issued\" prefix=\", \" />\n </else>\n </choose></macro><macro name=\"issue\">\n <choose>\n <if type=\"article-journal\">\n <text macro=\"issued\" prefix=\" (\" suffix=\")\" />\n </if>\n <else-if type=\"speech\">\n <choose>\n <if match=\"none\" variable=\"title\"> </if>\n <else>\n <text prefix=\". \" text-case=\"capitalize-first\" variable=\"genre\" />\n </else>\n </choose>\n <text macro=\"event\" prefix=\" \" />\n <text prefix=\", \" variable=\"event-place\" />\n <text macro=\"issued\" prefix=\", \" />\n </else-if>\n <else-if match=\"any\" variable=\"publisher-place publisher\">\n <group delimiter=\", \" prefix=\". \">\n <choose>\n <if type=\"thesis\">\n <text text-case=\"capitalize-first\" variable=\"genre\" />\n </if>\n </choose>\n <text macro=\"publisher\" />\n <text macro=\"issued\" />\n </group>\n </else-if>\n <else>\n <text macro=\"issued\" prefix=\", \" />\n </else>\n </choose></macro><macro name=\"access-note\">\n <group delimiter=\", \">\n <choose>\n <if match=\"any\" type=\"graphic report\">\n <text macro=\"archive-note\" />\n </if>\n <else-if match=\"none\" type=\"book thesis chapter article-journal article-newspaper article-magazine\">\n <text macro=\"archive-note\" />\n </else-if>\n </choose>\n <text prefix=\"doi:\" variable=\"DOI\" />\n <text variable=\"URL\" />\n </group></macro><macro name=\"access\">\n <group delimiter=\". \">\n <choose>\n <if match=\"any\" type=\"graphic report\">\n <text macro=\"archive\" />\n </if>\n <else-if match=\"none\" type=\"book thesis chapter article-journal article-newspaper article-magazine\">\n <text macro=\"archive\" />\n </else-if>\n </choose>\n <text variable=\"URL\" />\n </group></macro><macro name=\"sort-key\">\n <text macro=\"contributors-sort\" suffix=\" \" />\n <text suffix=\" \" variable=\"title\" />\n <text variable=\"genre\" /></macro><macro name=\"legal-case-first\">\n <group delimiter=\", \">\n <text variable=\"title\"/>\n <group delimiter=\" \">\n <text variable=\"volume\"/>\n <text variable=\"container-title\"/>\n <text variable=\"page\"/>\n <group prefix=\"(\" suffix=\")\" delimiter=\" \">\n <text variable=\"authority\" form=\"short\"/>\n <date variable=\"issued\">\n <date-part name=\"year\"/>\n\t </date>\n \t </group>\n\t </group>\n\t</group></macro><citation \n disambiguate-add-names=\"true\"\n et-al-min=\"4\"\n et-al-subsequent-min=\"4\"\n et-al-subsequent-use-first=\"1\"\n et-al-use-first=\"1\">\n <layout delimiter=\"; \" prefix=\"\" suffix=\".\">\n <choose>\n <if type=\"legal_case\">\n <text macro=\"legal-case-first\"/>\n\t\t</if>\n <else-if position=\"ibid-with-locator\">\n <group delimiter=\", \">\n <text suffix=\".\" term=\"ibid\"/>\n <text macro=\"point-locators-subsequent\" />\n </group>\n </else-if>\n <else-if position=\"ibid\">\n <text suffix=\".\" term=\"ibid\"/>\n </else-if>\n <else-if position=\"subsequent\">\n <group delimiter=\", \">\n <text macro=\"contributors-short\" />\n <text macro=\"title-short\" />\n <text macro=\"point-locators-subsequent\" />\n </group>\n </else-if>\n <else>\n <group delimiter=\", \">\n <text macro=\"contributors-note\" />\n <text macro=\"title-note\" />\n <text macro=\"description-note\" />\n <text macro=\"secondary-contributors-note\" />\n <text macro=\"container-title-note\" />\n <text macro=\"container-contributors-note\" />\n </group>\n <text macro=\"locators-note\" />\n <text macro=\"collection-title\" prefix=\", \" />\n <text macro=\"issue-note\" />\n <text macro=\"locators-newspaper\" prefix=\", \" />\n <text macro=\"point-locators\"/>\n <text macro=\"access-note\" prefix=\", \" />\n </else>\n </choose>\n </layout></citation><bibliography \n entry-spacing=\"0\"\n et-al-min=\"11\"\n et-al-use-first=\"7\"\n hanging-indent=\"true\"\n subsequent-author-substitute=\"---\">\n <sort>\n <key macro=\"sort-key\" />\n <key variable=\"issued\" />\n </sort>\n <layout suffix=\".\">\n\t <choose>\n\t <if type=\"legal_case\">\n\t\t<text macro=\"legal-case-first\"/>\n\t </if>\n <else>\n <group delimiter=\". \">\n <text macro=\"contributors\" />\n <text macro=\"title\" />\n <text macro=\"description\" />\n <text macro=\"secondary-contributors\" />\n <group delimiter=\", \">\n <text macro=\"container-title\" />\n <text macro=\"container-contributors\" />\n <text macro=\"locators-chapter\" />\n </group>\n </group>\n <text macro=\"locators\" />\n <text macro=\"collection-title\" prefix=\". \" />\n <text macro=\"issue\" />\n <text macro=\"locators-newspaper\" prefix=\", \" />\n <text macro=\"locators-journal\" />\n <text macro=\"access\" prefix=\". \" />\n\t </else>\n\t </choose>\n </layout></bibliography></style>\n",
  8. "input": [
  9. {
  10. "URL": "http://zotero.org/support/quick_start_guide",
  11. "author": [
  12. {
  13. "family": "Center <sup>for</sup> History <sub>and</sub> New Media",
  14. "given": "",
  15. "isInstitution": 1
  16. }
  17. ],
  18. "id": 1,
  19. "multi": {
  20. "_keys": {}
  21. },
  22. "title": "<b>Zotero</b> … \"Quick Start\" & <sc>Guide</sc> 日本語",
  23. "type": "webpage"
  24. },
  25. {
  26. "author": [
  27. {
  28. "family": "Smith",
  29. "given": "John",
  30. "isInstitution": ""
  31. }
  32. ],
  33. "id": 5,
  34. "issued": {
  35. "date-parts": [
  36. [
  37. 2000
  38. ]
  39. ]
  40. },
  41. "multi": {
  42. "_keys": {}
  43. },
  44. "title": "Book A",
  45. "type": "book"
  46. },
  47. {
  48. "author": [
  49. {
  50. "family": "Smith",
  51. "given": "Steven",
  52. "isInstitution": ""
  53. }
  54. ],
  55. "id": 9,
  56. "issued": {
  57. "date-parts": [
  58. [
  59. 2000
  60. ]
  61. ]
  62. },
  63. "multi": {
  64. "_keys": {}
  65. },
  66. "title": "Book A",
  67. "type": "book"
  68. }
  69. ],
  70. "mode": "bibliography",
  71. "result": "<div class=\"csl-bib-body\"><div class=\"csl-entry\">Center <sup>for</sup> History <sub>and</sub> New Media. “<b>Zotero</b> … ‘Quick Start’ &#38; <span style=\"font-variant:small-caps;\">Guide</span> 日本語.” http://zotero.org/support/quick_start_guide.</div><div class=\"csl-entry\">Smith, John. <i>Book A</i>, 2000.</div><div class=\"csl-entry\">Smith, Steven. <i>Book A</i>, 2000.</div></div>"
  72. }