LoginSignup
2
2

More than 5 years have passed since last update.

メールなどにZoteroを用いて論文を引用するときに便利なCSL引用スタイル定義

Posted at

メールなどの文書にちょこっと文献を引用する時に便利な引用スタイルとは、おそらく著者名やタイトル、巻号と頁の他に、doi リンクまたはURLが加わったものではないでしょうか。たとえば以下のような感じです。

Deiters VS, Guillery RW (2013) Otto Friedrich Karl Deiters (1834-1863). J Comp Neurol 521:1929–1953, http://doi.org/10.1002/cne.23316

Guillery R (2008) Ray Guillery. Current Biology 18:R360–R361, http://doi.org/10.1016/j.cub.2008.02.038

Guillery R (2015) The start of the European Journal of Neuroscience. European Journal of Neuroscience 41:1–2, http://doi.org/10.1111/ejn.12814

Sherman SM (2005) Thalamic relays and cortical functioning. Prog Brain Res 149:107–126, http://doi.org/10.1016/S0079-6123(05)49009-3

The Journal of NeuroscienceのCSLファイルをビジュアルCSLエディタで編集して、doiもしくはURLを付け加えるように改造し、the-journal-of-neuroscience-doi.cslと名付けました。

このテキストファイルをダブルクリックしてZoteroへインストールするか、それが無理ならば手動でZoteroのデータ・ディレクトリの中の styleフォルダの中に保存し、Zoteroを再起動します。引用スタイルとして The Journal of Neuroscience-DOIを選んでください。

<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="never" page-range-format="expanded" default-locale="en-US">
  <!-- This style was edited with the Visual CSL Editor (http://editor.citationstyles.org/visualEditor/) -->
  <info>
    <title>The Journal of Neuroscience-DOI</title>
    <id>http://www.zotero.org/styles/the-journal-of-neuroscience-doi</id>
    <link href="http://www.zotero.org/styles/the-journal-of-neuroscience-doi" rel="self"/>
    <link href="http://www.zotero.org/styles/harvard-cite-them-right" rel="template"/>
    <link href="http://www.jneurosci.org/site/misc/ifa_organization.xhtml#References" rel="documentation"/>
    <author>
      <name>Ullrich Bartsch</name>
      <email>ubartsch@gmail.com</email>
    </author>
    <contributor>
      <name>Omar Mian</name>
      <email>o.mian@ucl.ac.uk</email>
    </contributor>
    <contributor>
      <name>Kouichi C. Nakamura</name>
      <email>kouichi.c.nakamura@gmail.com</email>
    </contributor>
    <category citation-format="author-date"/>
    <category field="medicine"/>
    <issn>0270-6474</issn>
    <eissn>1529-2401</eissn>
    <summary>The Journal of Neuroscience style with doi</summary>
    <updated>2017-10-02T15:32:19+00:00</updated>
    <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
  </info>
  <macro name="editor">
    <names variable="editor">
      <name name-as-sort-order="all" sort-separator=" " initialize-with="" delimiter=", " delimiter-precedes-last="always"/>
      <label form="short" prefix=", " strip-periods="true"/>
    </names>
  </macro>
  <macro name="anon">
    <text term="anonymous" form="short" text-case="capitalize-first" strip-periods="true"/>
  </macro>
  <macro name="author-bib">
    <names variable="author">
      <name name-as-sort-order="all" sort-separator=" " initialize-with="" delimiter=", " delimiter-precedes-last="always"/>
      <label form="short" prefix=" "/>
      <substitute>
        <names variable="editor"/>
        <text macro="anon"/>
      </substitute>
    </names>
  </macro>
  <macro name="author-cit">
    <names variable="author">
      <name form="short" and="text" delimiter=" " initialize-with=""/>
      <substitute>
        <names variable="editor"/>
        <names variable="translator"/>
        <text macro="anon"/>
      </substitute>
    </names>
  </macro>
  <macro name="access">
    <choose>
      <if variable="DOI">
        <text value="http://doi.org/" prefix=", "/>
        <text variable="DOI"/>
      </if>
      <else-if match="any" variable="PMID">
        <text value="http://www.ncbi.nlm.nih.gov/pubmed/" prefix=", "/>
        <text variable="PMID"/>
      </else-if>
      <else-if match="any" variable="URL">
        <text variable="URL" prefix=", "/>
      </else-if>
    </choose>
  </macro>
  <macro name="title">
    <choose>
      <if type="bill book graphic legal_case legislation motion_picture report song" match="any">
        <text variable="title"/>
      </if>
      <else>
        <text variable="title"/>
      </else>
    </choose>
  </macro>
  <macro name="publisher">
    <group delimiter=": ">
      <text variable="publisher-place"/>
      <text variable="publisher"/>
    </group>
  </macro>
  <macro name="year-date">
    <choose>
      <if variable="issued">
        <date variable="issued">
          <date-part name="year"/>
        </date>
      </if>
      <else>
        <text term="no date" form="short"/>
      </else>
    </choose>
  </macro>
  <macro name="edition">
    <choose>
      <if is-numeric="edition">
        <group delimiter=" ">
          <number variable="edition" form="ordinal"/>
          <text term="edition" form="short"/>
        </group>
      </if>
      <else>
        <text variable="edition" suffix="."/>
      </else>
    </choose>
  </macro>
  <citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" collapse="year">
    <sort>
      <key macro="year-date"/>
      <key macro="author-cit"/>
    </sort>
    <layout prefix="(" suffix=")" delimiter="; ">
      <group delimiter=" ">
        <group delimiter=", ">
          <text macro="author-cit"/>
          <text macro="year-date"/>
        </group>
        <text variable="locator" prefix="p."/>
      </group>
    </layout>
  </citation>
  <bibliography hanging-indent="true" et-al-min="20" et-al-use-first="1">
    <sort>
      <key macro="author-bib"/>
      <key macro="year-date"/>
    </sort>
    <layout>
      <group delimiter=" ">
        <text macro="author-bib"/>
        <text macro="year-date" prefix="(" suffix=")"/>
      </group>
      <choose>
        <if type="bill book graphic legal_case legislation motion_picture report song" match="any">
          <group prefix=" " suffix=".">
            <text macro="title"/>
            <text macro="editor" prefix=" (" suffix=")."/>
            <text macro="edition" prefix=", "/>
          </group>
          <text prefix=" " suffix="." macro="publisher"/>
        </if>
        <else-if type="chapter paper-conference" match="any">
          <text macro="title" prefix=" " suffix="."/>
          <group prefix=" ">
            <text term="in" text-case="capitalize-first"/>
            <text variable="container-title" font-style="normal" prefix=": "/>
            <text macro="edition" prefix=", "/>
            <text macro="editor" prefix=" (" suffix=")"/>
            <text variable="page" prefix=", pp "/>
            <text variable="collection-title" prefix=" " suffix="."/>
            <group prefix=". " suffix=".">
              <text macro="publisher" prefix=" "/>
            </group>
          </group>
        </else-if>
        <else>
          <group suffix="." delimiter=" " prefix=" ">
            <text macro="title"/>
            <text macro="editor"/>
          </group>
          <group prefix=" ">
            <text variable="container-title" font-style="normal" form="short" strip-periods="true"/>
            <text variable="volume" prefix=" "/>
            <group prefix=":">
              <text variable="page"/>
            </group>
          </group>
        </else>
      </choose>
      <text macro="access"/>
    </layout>
  </bibliography>
</style>

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2