TransWikia.com

How to create a processing tool for multibbl in TeXworks?

TeX - LaTeX Asked by iago on March 8, 2021

As explained here (or also here), package multibbl allows building multiple bibliographies by means of

usepackage{multibbl}

newbibliography{oneb}
newbibliography{twob}
...

and to get it works one has to run first latex with the main file and later bibtex oneb and bibtex twob before to run again latex with the main file.
In TexWorks processing tools BibteX argument is $basename so it applies to the main tex file and not to the newbibliography names. Further, it is thus as it is integrated in the pdfLaTeX+MakeIndex+BibTeX tool. Therefore, one has to run bibtex commands by hand.

Is there some way to add a new processing tool specifying to it that bibtex has to apply to the newbibliography names?

I copy a MWE (as asked for in comments) from the first link above. Let the main TeX file be test.tex:

documentclass{article}

usepackage{multibbl}

newbibliography{oneb}
newbibliography{twob}

begin{document}
Text


nocite{oneb}{*}
nocite{twob}{*}
bibliographystyle{oneb}{plain}
bibliography{oneb}{one}{First bib}
bibliographystyle{twob}{alpha}
bibliography{twob}{two}{Second bib}


end{document}

And let the bib files be one.bib:

@Article{oneart,
  author =   {Author, O.},
  title =    {Title One},
  journal =  {One J.},
  year =     2010
}

and two.bib

@Book{twobook,
  author =   {Author, Two},
  title =    {Book Two},
  publisher =    {Multi-publish},
  year =     2005
}

All in the same folder, and tentatively, also with other TeX and .bib files.

Thank you!

One Answer

It looks like multibbl works fine with latexmk. I don't use TeXWorks but others should be able to let you know how to set latexmk processing up under TeXWorks. An alternative is to set up arara processing up and tell arara what you need to do (as special comments in your file.

Answered by Herb Schulz on March 8, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP