[Tex/LaTex] BibTeX: change field labels

biblatexbibtexnaming

I currently have a BibTeX entry for a book, of which I want to cite a section, like this:

@inbook{..., chapter = {1}, ...}

During the output of the bibliography, this will be printed as

..., chapter 1, ...

Can I somehow change the prefix of the chapter, so that it reads "section 1" or any text I want? More generally, is there a command to adapt any of the keyword labels to your likings?

Best Answer

Charles Stewart is right - don't do this.

That said, here's a solution using biblatex. Note that biblatex treats the @inbook type in a different way than traditional BibTeX, and for "Chapter X" entries you should use the type @book. If you want to change the term "Chapter" for certain entries, add the execute field and the tailor-made code of my example.

\documentclass{article}

\usepackage[abbreviate=false]{biblatex}

\newbool{specialchap}
\newcommand*{\specialchapname}{(Special chapter name)}
\DeclareFieldFormat{chapter}{%
  \ifbool{specialchap}{%
    \specialchapname~#1%
  }{%
    \bibstring{chapter}~#1%
  }%
}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@book{A01,
  author = {Author, A.},
  year = {2001},
  title = {Alpha},
  chapter = {11},
}
@book{B02,
  author = {Buthor, B.},
  year = {2002},
  title = {Bravo},
  chapter = {12},
  execute = {\booltrue{specialchap}\renewcommand*{\specialchapname}{Section}},
}
\end{filecontents}

\addbibresource{\jobname.bib}

\nocite{*}

\begin{document}

\printbibliography

\end{document}

enter image description here