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 at   C:\MiKTeX\texmf\miktex\bin\bibtex.exe.   So BibTeX looks for bibliographies in   C:\MiKTeX\texmf\bibtex\bib   and for style files in   C:\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 at   C:\Users\Wolfgang\My Files\TeX\bibtex\bib   first, and at   C:\MikTeX\bibtex\bib   second. 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   \bib   folder of your local TeX directory structure or in the global folder. In the first case a bibliography   default.bib   will be at
    C:\Users\Wolfgang\My Files\TeX\bibtex\bib\default.bib
  • The settings in   BibwikiSettings.php   will 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.

PmWiki can't process your request

Cannot acquire lockfile

We are sorry for any inconvenience.