3

Is it possible to force print isbn field in misc entry type? I've set biblatex to

\usepackage[authordate,backend=bibtex]{biblatex-chicago}

I've tried to do it with

\AtEveryBibitem{\ifentrytype{misc}{\csappto{blx@bbx@\thefield{url}}{\printfield{isbn}}}}

It will compile, but isbn is not added. Maybe it needs biber backend, but I need bibtex solution. It works without blx@bbx@, but adds isbn before entry.

Edit:

Ok now it looks I'm fine with biber. Set is \usepackage[backend=biber,style=authoryear]{biblatex}, but still with same problem.

5

You may patch the misc bibliography driver so that it prints the isbn field if the corresponding option is set to true. (For convenience, I use the xpatch package to apply the necessary changes.) Here's a solution for biblatex-chicago:

\documentclass{article}

\usepackage[american]{babel}
\usepackage[babel]{csquotes}
\usepackage[authordate]{biblatex-chicago}

\usepackage{xpatch}

\xpatchbibdriver{misc}{%
  \usebibmacro{bib+doi+url}%
}{%
  \iftoggle{cms@isbn}%
  {\printfield{isbn}}%
  {}%
  \setunit*{\addcomma\addspace}\newblock%
  \usebibmacro{bib+doi+url}%
}{}{}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@misc{A01,
  author = {Author, A.},
  year = {2001},
  title = {Alpha},
  isbn ={0815-4711},
}
\end{filecontents}

\addbibresource{\jobname.bib}

\nocite{*}

\begin{document}

\printbibliography

\end{document}

enter image description here

If you use one of the core styles shipped with biblatex, add the following to your preamble:

\usepackage{xpatch}

\xpatchbibdriver{misc}{%
  \usebibmacro{doi+eprint+url}%
}{%
  \iftoggle{bbx:isbn}
    {\printfield{isbn}}
    {}%
  \newunit\newblock
  \usebibmacro{doi+eprint+url}%
}{}{}
  • Why this works for misc and does not for online? – user620297 Mar 26 '13 at 18:44
  • 1
    @user620297 Because the online type uses different bibmacros. Try to replace the two instances of \usebibmacro{doi+eprint+url} with \iftoggle{bbx:eprint} in the above code snippet. – lockstep Mar 26 '13 at 18:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.