I have a problem getting two seperate bibliographies from a main .bib file. The other problem is the issue with the \defcitealias described here. I tried to reproduce the example in the link, but it is not working for me.
MWE
% arara: pdflatex
% arara: bibtex
% arara: bibtex: { files: [ sec ] }
% arara: pdflatex
% arara: pdflatex
\documentclass[a4paper]{article}
\usepackage[numbers]{natbib}
\makeatletter
\def@mb@citenamelist{cite,citep,citet,citealp,citealt,citepalias,citetalias}
\makeatother
\usepackage{multibib}
\newcites{sec}{Other bibliographic references}
\defcitealias{manual-full}{International journal of logistics, issue 91}
\begin{document}
\cite{article-full}
\citesec{booklet-full}
Something something something and then \citepaliassec{manual-full}.
\bibliographystyle{plainnat}
\bibliography{xampl}
\let\noopsort\undefined
\let\printfirst\undefined
\let\singleletter\undefined
\let\switchargs\undefined
\bibliographystylesec{plainnat}
\bibliographysec{xampl}
\end{document}
Output
Also, I am wondering what is ment with "To process your document, three runs of LATEX and two runs of BibTEX are required." in the multibib manual p.4?
I compiled my .tex document in TeXStudio with F5 and F8, was this the way to do it?
Edit
I added the lines
% arara: pdflatex
% arara: bibtex
% arara: bibtex: { files: [ sec ] }
% arara: pdflatex
% arara: pdflatex
for the compiling issue, but the problem/output stays the same.
Edit2
I followed the instructions recommended here and installed arara.
Then, I implemented arara in TeXstudio
Then, I tried to compile the data using arara but I got the error message:
Prozess gestartet: "C:/Users/.../AppData/Local/Programs/MiKTeX/miktex/bin/x64/arara.exe" -v -l "natbib+multibib"
Entschuldigung, aber arara.exe ist aus dem folgenden Grund fehlgeschlagen: MiKTeX could not find the script engine 'java.exe' which is required to execute 'arara'. Abhilfe: Make sure 'java.exe' is installed on your system. Die Log-Datei enthält hoffentlich alle Informationen, um MiKTeX wieder in Gang zu bringen. C:\Users\...\AppData\Local\MiKTeX\miktex\log\arara.log Für weitere Information, besuchen Sie: https://miktex.org/kb/fix-script-engine-not-found
I think the Java issue is stated wrong, since I can run arara and it is already installed.
Does anyone know the cause of the error?





parallel bibtex -- ?*.auxwhich evidently runs bibtex on all aux files. I also successfully compiled in the terminal usingpdflatex mwe && bibtex mwe && bibtex sec && pdflatex mwe && pdflatex mwe. – jessexknight Apr 03 '21 at 12:25bibtex8.exe %(default) to your suggestionparallel bibtex -- ?*.auxand now all references were not linkes i.e. labeled with?. Is there sommething else I have to change in TeXstudio? – Excelsior Apr 03 '21 at 16:37parallel bibtex8.exe -- ?*.aux. – jessexknight Apr 03 '21 at 16:42bibtex.exe %. I am using windows, you are right. Then the change would beparallel bibtex.exe -- ?*.aux? The error message I recieved withparallel bibtex -- ?*was that theycould not run the command parallel bibtex -- sec.aux– Excelsior Apr 03 '21 at 16:52parallel, so justbibtex.exe -- ?*.auxThe?*.auxshould be platform independent. – jessexknight Apr 03 '21 at 16:56parallelI get two bibliographies. I have to move the four\let...commands between the twobibliographycommands and now it works perfect. Thanks a lot. – Excelsior Apr 03 '21 at 17:01