I'm using texmaker on Windows, and bibunits to create multiple bibliographies. Now, the package creates a bux.aux
file for each inserted bibunit
environment, and of course bibtex has to process every .aux
in a single run. So, the package's documentation provides a CShell script to automate this process which is as follows:
#!/bin/csh
foreach auxfile (bu*.aux)
echo bibtex ‘basename $auxfile .aux‘
bibtex ‘basename $auxfile .aux‘
end
I want to know how can I use this command inside texmaker, that is how to integrate the script file .csh
in the "User" option of "Quick Build" command when configuring texmaker. Currently I have bibtex bu1.aux|bibtex bu2.aux %
as to run only two of them.