Monday, December 17, 2012

How to use LateX bibunits package with TeXnicCenter

I got a LateX document template that was using the bibunits package to create the references list. Out of the box, TeXnicCenter was not creating the references list in the document, there were still "unknown references".
How i fixed it:
I found the right hints here: http://latex-community.org/forum/viewtopic.php?f=50&t=9168&p=74542
There are two steps to make it working:
1. In your project folder create a batch-file with the following Content (in case it's not already part of the template files):

@echo off
echo Processing auxiliary files with BibTeX
For %%i in (*.aux) Do bibtex %%i

save it e.g as 'compilebib.bat'.
2. Then click 'define output profiles' (Alt+F7), select the postprocessor tab, and add new. Put 'compilebib.bat' under executable.

No comments:

Post a Comment