2012年10月27日土曜日

MendeleyでJournal名を省略形にしたcitation styleを作成する方法

Mendeleyで論文を作成する場合に投稿するJournalのCitation Styleがないことがあります。新しくCitation Styleを作るのはそれほど難しくはないのですが、Journalの証略形を使用するよう求められることがあります。

まさしく今回投稿したJournalから下記のような連絡が…


We would like to add the comments from Editors as follows:

In References, journal titles should be abbreviated according to “ Index Medicus”.
For example, American heart journal in Reference 5 should be abbreviated Am Heart J.

Please check whether journal title are correctly abbreviated when you submit the revised manuscript.

これは調べてみますとMendeleyの有名な弱点のようです。googleでsearchするともっともよい解説は

http://support.mendeley.com/customer/portal/questions/179297-how-to-enable-journal-abbreviations-

にありました。

1. Mendeleyのuser data folderにjournalAbbreviationsというフォルダを作成する。
2. default.txtを作成する。
3. ジャーナルの正式な名前をいれてタブで区切り証略形を入力する。
4. cslファイルのcontainer titleがshortになるようにする。

というステップを踏めばMendeleyを用いてjournalの証略形を使用することができます。

問題はdefault.txtの作成ということになるのですが http://pastebin.com/raw.php?i=tVrUas82 などからダウンロードすることもできます。ファイルで注意するのはcase-sensitive、大文字、小文字を正確に入力する必要があるということです。

Journalの証略形についてはIndex Medicusで調べるともできます。

追記:
http://support.mendeley.com/customer/portal/questions/179297-how-to-enable-journal-abbreviations-?new=179297
にあるmauricio arenasの書込みからhttps://skydrive.live.com/?cid=46047e8752dc6af3&sc=documents&uc=1&id=46047E8752DC6AF3!105#で一括してjournalの省略形のリストをダウンロードすることもできます。



下記はHeart and VesselsのCitationファイルになります。テキストファイルにcopy & pasteで作成、ファイル名を付けて保存して使用してください。これに上にあげたdefault.txtを使用するとMendeleyで省略形のJournal titleを使用できるようになります。

追記2:
引用文献がアルファベット順に並ぶため


    <sort>
      <key macro="author-short"/>
      <key macro="year"/>
    </sort>


を一部修正、削除しております。



<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" default-locale="en-US" version="1.0" demote-non-dropping-particle="sort-only">
  <!-- This style was edited with the Visual CSL Editor (http://steveridout.com/csl/visualEditor/) -->
  <info>
    <title>Heart and Vessels</title>
    <author>
      <name>Naritatsu Saito</name>
    </author>
    <category citation-format="numeric"/>
    <category field="medicine"/>
    <issn>0001-6268</issn>
    <eissn>0942-0940</eissn>
    <summary>Springer Vancouver style - alphabetical</summary>
    <updated>2012-09-28T02:06:38+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>
  <locale xml:lang="en">
    <terms>
      <term name="et-al">et al</term>
    </terms>
  </locale>
  <macro name="author-short">
    <names variable="author">
      <name form="short" and="text"/>
      <substitute>
        <names variable="editor"/>
        <names variable="translator"/>
      </substitute>
    </names>
  </macro>
  <macro name="author">
    <names variable="author">
      <name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
      <label form="short" strip-periods="true" prefix=" (" suffix=")"/>
      <substitute>
        <names variable="editor"/>
        <names variable="translator"/>
      </substitute>
    </names>
  </macro>
  <macro name="editor">
    <text term="in" text-case="capitalize-first" suffix=": "/>
    <names variable="editor">
      <name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
      <label form="short" strip-periods="true" prefix=" (" suffix=")"/>
    </names>
  </macro>
  <macro name="edition">
    <choose>
      <if is-numeric="edition">
        <group delimiter=" ">
          <number variable="edition" form="ordinal"/>
          <text term="edition" form="short" strip-periods="true"/>
        </group>
      </if>
      <else>
        <text variable="edition"/>
      </else>
    </choose>
  </macro>
  <macro name="year">
    <date variable="issued">
      <date-part name="year"/>
    </date>
  </macro>
  <macro name="title">
    <choose>
      <if type="book">
        <group delimiter=", " suffix=". ">
          <text variable="title"/>
          <text macro="edition"/>
        </group>
      </if>
      <else>
        <text variable="title" suffix=". "/>
      </else>
    </choose>
  </macro>
  <macro name="year-parenth">
    <date prefix="(" suffix=")" variable="issued">
      <date-part name="year"/>
    </date>
  </macro>
  <citation collapse="citation-number">
    <layout prefix="[" suffix="]" delimiter=", ">
      <text variable="citation-number"/>
    </layout>
  </citation>
  <bibliography et-al-min="11" et-al-use-first="3" second-field-align="flush">
    <layout>
      <text variable="citation-number" suffix=". "/>
      <group delimiter=" ">
        <text macro="author"/>
        <text macro="year-parenth"/>
        <text macro="title"/>
      </group>
      <choose>
        <if variable="page">
          <choose>
            <if type="chapter paper-conference" match="any">
              <text macro="editor"/>
              <group prefix=" " delimiter=", " suffix=". ">
                <text variable="container-title" form="short"/>
                <text macro="edition"/>
              </group>
              <text variable="publisher" suffix=", "/>
              <text variable="publisher-place" suffix=", "/>
              <group delimiter=" ">
                <label variable="page" form="short" strip-periods="true"/>
                <text variable="page"/>
              </group>
            </if>
            <else>
              <group>
                <text variable="container-title" suffix=" " form="short" strip-periods="true"/>
                <group suffix=":">
                  <text variable="volume"/>
                </group>
                <text variable="page"/>
              </group>
            </else>
          </choose>
        </if>
        <else-if variable="DOI">
          <group delimiter=". ">
            <text variable="container-title" form="short" strip-periods="true"/>
            <text prefix="doi: " variable="DOI"/>
          </group>
        </else-if>
        <else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
          <group delimiter=", ">
            <text variable="publisher"/>
            <text variable="publisher-place"/>
          </group>
        </else-if>
        <else-if type="webpage">
          <group delimiter="">
            <text prefix="In: " variable="container-title" suffix=". " form="short"/>
            <text variable="URL" suffix=". "/>
            <date variable="accessed">
              <date-part prefix="Accessed " name="day" suffix=" "/>
              <date-part name="month" form="short" suffix=" " strip-periods="true"/>
              <date-part name="year"/>
            </date>
          </group>
        </else-if>
        <else-if type="thesis">
          <group delimiter=", ">
            <text variable="genre"/>
            <text variable="publisher"/>
          </group>
        </else-if>
        <else>
          <group delimiter="">
            <text variable="container-title" form="short" suffix=" "/>
            <text variable="volume" suffix=":"/>
            <text variable="page" suffix="."/>
          </group>
        </else>
      </choose>
    </layout>
  </bibliography>
</style>

0 件のコメント:

コメントを投稿

ラベル