# latex .aux file

I use TexShop. I read this: Two Bibliographies: one for main text and one for appendix

I have the same problem. But I don't understand how i can to do. How compile the sequence?

• PDFLaTeX
• BibTeX
• PDFLaTeX
• PDFLaTeX

or

• pdflatex
• bibtex .aux
• bibtex latex.aux
• pdflatex

But the my problem is how compile the file .aux. You can see the pictures posted below. I can't compile .aux because I can't to do click. (disabled typeset button) How run file.aux?

Thank you very much! I read too: Multibib compiling multiple .aux files

• At the top of you file place the line % !TEX TS–program = pdflatexmk and then typeset your file using Typeset->Typeset (Cmd-T). Then all the steps necessary will be run automatically. Aug 12 '17 at 16:31
• Added line at the first line, cmd+T, and after which steps? Aug 12 '17 at 16:38
• after, I tried: cmd+shift+B, cmd+T, cmd+T. But I not obtained the result, because I think I left out the command of file .aux, that I didn't understand too. Help me to understand. Thank you. What I forgot? Aug 12 '17 at 17:02
• Doing that in TeXShop runs the pdflatexmk engine which will automatically run pdflatex, bibtex, pdflatex and pdflatex on the correct files. Aug 12 '17 at 19:42
• Sorry! The result should come out, but I get only one bibliography instead of two. I don't understand. Aug 12 '17 at 20:05

With the lit.bib file containing

@Article{aa,
author = {Author, A.},
title = {Title},
journal = {Journal},
year = 2000 }
@Article{bb,
author = {Brother, B.},
title = {Titling},
journal = {Ann. J.},
year = 2002 }


and test.tex containing

% !TEX TS-program = pdflatexmk
\documentclass{scrartcl}
\usepackage[resetlabels,labeled]{multibib}
\newcites{A}{References2}
\begin{document}
Reference without prefix \cite{bb} and a reference with prefix \citeA{aa}.
\bibliographystyle{plain}
\bibliography{lit}
\bibliographystyleA{plain}
\bibliographyA{lit}
\end{document}


both in the same directory I run Typeset->Typeset (Cmd-T) and I get a complete document with all citations and and bibliographies present. The Console shows the runs of pdflatex, bibtex, etc.

How old is your TeX distribution and what is your version of TeXShop?

• Comments are not for extended discussion; this conversation has been moved to chat. Aug 31 '17 at 20:08