shiblon / latex-makefile

A Makefile for LaTeX - drop it in, type make, and magic happens.
Other
186 stars 30 forks source link

bibunits (and probably other packages) create bu.aux but not bu.tex #95

Open shiblon opened 8 years ago

shiblon commented 8 years ago

Originally reported on Google Code with ID 82

Leading to the script bombing out on 

make: *** No rule to make target `bu.tex', needed by `driver.d'.  Stop.

Reported by lathos on 2010-05-06 09:22:01

shiblon commented 8 years ago
Can you attach relevant files for this here?  I'd like to see a minimal example that
fails in this way so that I can 
debug it.

Reported by shiblon on 2010-05-14 14:37:05

shiblon commented 8 years ago
I see this with multibib, here is a minimal example:

\documentclass{article}
\usepackage{multibib}
\newcites{own}{{Own publications}}
\begin{document}
They: \cite{Freeman61}, me: \citeown{Schmitt2008RAI}
\bibliographystyle{plain}
\bibliography{diss}
\bibliographystyleown{alpha}
\bibliographyown{diss}
\end{document}

Reported by frank.schmitt on 2010-07-28 09:15:56

shiblon commented 8 years ago
Could you attach the relevant parts of your diss.bib file, as well?

Reported by shiblon on 2010-07-28 14:14:00

shiblon commented 8 years ago
For what it's worth, I've been able to workaround this issue with package bibunits by
creating empty bu#.tex files for each bu#.aux file that needs to be processed by bibtex.

Seems to work... but I'm new to latex-makefile and haven't dug in to the details. 
What I think is happening is that latex-makefile is tricked into thinking bu#.aux was
generated from each bu#.tex.  Next, latex-makefile proceeds to generate bu#.bbl from
bu#.aux and happily uses bu#.bbl where ever they are needed in the bibunits-calling
latex document.  

Hope it can help someone else -- sample files attached.

$ touch bu1.tex
$ make

Reported by jeffrey.wildman on 2013-04-10 14:40:42