BibTeX, biblatex and biberoption [subsectionbib] not recognized for package bibunits

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
ivitagata
Posts: 2
Joined: Mon May 11, 2009 5:00 pm

option [subsectionbib] not recognized for package bibunits

Post by ivitagata »

Hi everyone,

I'm trying to write a course syllabus with a reading list broken down by section. Using the default options (

Code: Select all

\begin{bibunit}[plain]...\putbib[bibfile]\end{bibunit}
I am able to get it to work. However, I have it set up by section representing weeks of the course. As soon as I try the option

Code: Select all

 \usepackage [subsectionbib]{bibunits}
or

Code: Select all

 \usepackage [sectionbib]{bibunits}
, I get the error message:

Code: Select all

LaTeX Error: Unknown option `subsectionbib' for package `bibunits'.
Here is a complete minimal example, which I pretty much copied out of the help pdf for bibunits:

Code: Select all

\documentclass{article} 
\usepackage[subsectionbib]{bibunits} 
\begin{document} 
\bibliographyunit[\section] 
\defaultbibliography{bibfile} 
\defaultbibliographystyle{plain} 
\section{First section} 
Read these articles \nocite{Adams1991} 
\putbib 
\section{second section}
You should read this article too \nocite{Adams1991}. 
\putbib 
 
\end{document} 
I've been staring at this, reading help files and internet searching this for a while. I am relatively new to LaTeX, perhaps I am not looking in the right places. It seems like I must be making an obvious mistake but I can't identify it. I'd be grateful for any help.

Thanks, and a good day to all.

Radu

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Re: option [subsectionbib] not recognized for package bibunits

Post by Stefan Kottwitz »

Hi Radu,

welcome to the board!
This code example works for me without that error message. Perhaps your version of bibunits is too old, check it and update if necessary.

Stefan
LaTeX.org admin
ivitagata
Posts: 2
Joined: Mon May 11, 2009 5:00 pm

Re: option [subsectionbib] not recognized for package bibunits

Post by ivitagata »

Thank you Stefan, for the quick reply. I was using MacTeX2007, so I updated the whole thing to 2008, with TeX Live 2008, and reinstalled bibunits using TeX Live. I get the same error message (both from TeXShop and from Terminal command). Is there another way to check the version and install it?

Thank you,

Radu
Post Reply