Workaround for TexShop and multibib

It looks there is a problem with TexShop and `multibib` package. `multibib` package expects that you do `bibtex xxx` where `xxx` is your own `newcites`. However, when using TexShop it looks like it only does it for the main document. Therefore, the only way I have to make it work is to do it from command line (notice the `bibtex xxx`):

`````` pdflatex main
bibtex main
bibtex xxx
pdflatex main
pdflatex main
``````

Do you know a workaround I can do so that I can latex without problem in any IDE?

Thanks!

-
you could write an apple-script which applies `bibtex` to the desired files or simply use `biblatex` –  bloodworks Jun 29 '12 at 13:04
@bloodworks yes, I could do that. In fact, I already did a .sh that does that for me. Problem is I have several people working in the same project so I wanted to know if there was a way to solve the problem for all of us using whatever IDE/tool. –  Mariano Martinez Peck Jun 29 '12 at 20:22

The `latexmk` engine handles multibib, I think. If you don't have the `latexmk` Engine installed, go to `~/Library/TeXShop/Engines/` and move the `.engine` files from the `Inactive/Latexmk` folder to the `Engines` folder.
``````% !TEX TS-program = pdflatexmk