IEEE の原稿の References に URL が入らないようにする

IEEE の論文を LaTeX で書くときに,bibtex のスタイルファイルとして IEEEtran.bst を使う.このスタイルファイルを使うと,bibtex のソースに url = {www.xxx.com/xxx.pdf} のような項目を書いている場合(ウェブに掲載されているURL),論文の References に [Online]. Available: www.xxx.com/xxx.pdf などと書かれてしまう.文章量が増えるし,著作権的にアレなURLを参照しているとモラルに欠けるし,消したい.その方法を紹介(IEEEtran.bst のソース読めばすぐわかるが).

IEEEtran.bst の 1886 行目付近,%% URL となっているところを編集する:
before:

%% URL

FUNCTION {format.url}
{ url empty$
    { "" }
    { this.to.prev.status
      this.status.std
      cap.yes 'status.cap :=
      bbl.urlprefix " " *
      "\url{" * url * "}" *
      punct.no 'this.status.punct :=
      punct.period 'prev.status.punct :=
      space.normal 'this.status.space :=
      space.normal 'prev.status.space :=
      quote.no 'this.status.quote :=
    }
  if$
}

after:

%% URL

FUNCTION {format.url}
{ url empty$
    { "" }
    { "" }
%     { this.to.prev.status
%       this.status.std
%       cap.yes 'status.cap :=
%       bbl.urlprefix " " *
%       "\url{" * url * "}" *
%       punct.no 'this.status.punct :=
%       punct.period 'prev.status.punct :=
%       space.normal 'this.status.space :=
%       space.normal 'prev.status.space :=
%       quote.no 'this.status.quote :=
%     }
  if$
}

以上.個別に表示したり消したりは,bibtex の方をいじらないとだめだと思われる.

この方法を用いたことによって発生したいかなるトラブルに関しても,私は責任を取りません.