I'm trying to implement the database of problems at http://www.math.canterbury.ac.nz/~m.hickman/LaTeX/LaTeX.shtml
On my Mac, I can get the following to compile with the default file problems.sty, question.bst, and SampleDatabase.bib by using pdflatex, bibtex, pdflatex, pdflatex.
\documentclass{article}
\usepackage{problems}
\Database{SampleDatabase}
\begin{document}
\tutorial{S3}
\end{document}
On my Windows computer, pdflatex compiles just fine, but when I run bibtex I see
Warning--entry type for "S3" isn't style-file defined
--line 149 of file SampleDatabase.bib
After running pdflatex twice more, I get a pdf that only says "Tutorial 1." and doesn't have a problem statement.
Backtracking, this appears to be because the Windows bibtex says
The style file: biblatex.bst
whereas my Mac says
The style file: question.bst
And this appears to be because the Windows aux file has
\bibstyle{biblatex}
whereas my Mac has
\bibstyle{question}
I'm not entirely sure why this is happening. problems.sty has
\def\blx@auxinit@bibtex#1{%
\blx@auxwrite\blx@auxout@bibtex
{\def\do##1{,\blx@stripbib{##1}}}
{\ifx\blx@auxout@bibtex\@mainaux
\else
\blx@msg@aux
\fi
\string\bibstyle{question}\blx@nl
\string\bibdata{%
\blx@ctrlfile@bibtex\blxauxsuffix
\ifx#1\@empty
\else
\dolistloop#1%
\fi}\blx@nl
\string\citation{biblatex-control}}}
which seems like it should be doing the correct thing, but apparently isn't.
I've also found that \listfiles
shows that my nonworking Windows' files are more up to date than my working Mac's files. But I'm not sure which file is responsible for breaking what used to work. What would have changed in the meantime to break a formerly working package?