参考文献から (Tech.Rep.) を削除する

参考文献から (Tech.Rep.) を削除する

これと似たようなケースがあります:

SIAM bibtex スタイルから「Tech. Rep.」出力を削除する

ただし、apacite を使用します。上記のトピックでアドバイスされたとおりに実行すると、結果は () になりましたが、その中に単語がありませんでした (つまり、「.....(Tech.Rep.)...」から「...()...」)。括弧を削除し、エントリごとではなく参考文献全体にこれをグローバルに適用する方法はありますか?

\documentclass[12pt,twoside,a4paper]{book}
\usepackage[english]{babel}
\usepackage{apacite}

\begin{document}
\cite{iso3}
\bibliographystyle{apacite}
\bibliography{alternative}
\end{document}


@techreport{iso3,
Author = {ISO/IEC },
Date-Added = {2013-04-10 19:39:43 +0000},
Date-Modified = {2013-04-14 05:05:06 +0000},
Institution = { International Organization for Standardization, Geneva, Switzerland.},
Title = {{ISO}/{IEC} 9126-1:2001, {S}oftware engineering - {P}roduct quality, {P}art 1:{Q}uality model},
Year = {2001}}

答え1

次の再定義を使用できます。

\documentclass[12pt,twoside,a4paper]{book}
\usepackage[english]{babel}
\usepackage{apacite}
\makeatletter
\renewcommand{\APACbVolEdTR}[2]{%
  \ifx\@empty#1\@empty
    \ifx\@empty#2\@empty
    \else%
      \unskip\hbox{}%            (Technical Report No.\ <no>)
    \fi%
  \else%
    ({#1}%               (2nd ed., Vol.~1
    \ifx\@empty#2\@empty%
    \else%
      \unskip; {#2}%     ; Technical Report No.\ <no>
    \fi%
    )%                   Final parenthesis.
  \fi%
}
\makeatother
\usepackage{filecontents}
\begin{filecontents}{alternative.bib}
@techreport{iso3,
Author = {ISO/IEC },
Date-Added = {2013-04-10 19:39:43 +0000},
Date-Modified = {2013-04-14 05:05:06 +0000},
Institution = { International Organization for Standardization, Geneva, Switzerland.},
Title = {{ISO}/{IEC} 9126-1:2001, {S}oftware engineering - {P}roduct quality, {P}art 1:{Q}uality model},
Year = {2001}}
\end{filecontents}
\begin{document}
\cite{iso3}

\bibliographystyle{apacite}
\bibliography{alternative}
\end{document}

ここに画像の説明を入力してください

関連情報