Documentation contents
Exporting via BibTeX
Setting up Bibwiki to export bibliographic records via BibTeX can be quite cumbersome. Some hints:
- I have only experience with BibTeX that is part of MiKTeX 2.4. The way the user settings are stored has changed in MiKTeX 2.5 and this makes it more difficult to get the export function working. So I recommend that you use MiKTeX 2.4. I've extracted BibTeX from MiKTeX 2.4.
- You have to place the bibliographies (*.bib-files) and the BibTeX styles (*.bst) in a folder where BibTeX can find them. This has to be somewhere within the TeX directory structure and the TeX directory cache must be up-to-date.
- Let's give an example: You have installed MiKTeX to
C:\MiKTeX. BibTeX is atC:\MiKTeX\texmf\miktex\bin\bibtex.exe. So BibTeX looks for bibliographies inC:\MiKTeX\texmf\bibtex\biband for style files inC:\MiKTeX\texmf\bibtex\bst. - In MiKTeX you can also define a local TeX directory structure, let's say at
C:\Users\Wolfgang\My Files\TeX. Then BibTeX looks for bibliographies atC:\Users\Wolfgang\My Files\TeX\bibtex\bibfirst, and atC:\MikTeX\bibtex\bibsecond. It's the same for style files, just change the last part of the paths to\bst. - You have to store your bibliographies (and style files resp.) either in the
\bibfolder of your local TeX directory structure or in the global folder. In the first case a bibliographydefault.bibwill be at
C:\Users\Wolfgang\My Files\TeX\bibtex\bib\default.bib
- The settings in
BibwikiSettings.phpwill then look like this:
$wgDefaultBib = 'default.bib';
$wgBibPath = 'C:\Users\Wolfgang\My Files\TeX\bibtex\bib';
$wgEnableExport = true;
$wgBibTeXExecutable = 'C:\MiKTeX\miktex\bin\bibtex.exe';
- After you have created a new bibliography you have to update the TeX directory cache. In MiKTeX this is done by executing
miktex\bin\texhash.exe.