Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

This question already has an answer here:

I am a user of biblatex-mla and I wish to run the whole bibliography generation workflow with a single click of "Typeset" in TeXShop.

pdflatex filename.tex
bibtex filename
pdflatex filename.tex

How can I run these commands in a single click of "Typeset"?

share|improve this question

marked as duplicate by doncherry, Kurt, lockstep, Werner, percusse Feb 12 '13 at 21:16

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

have you looked at arara? –  cmhughes Feb 12 '13 at 19:13
You can always define your own engine, but I'm pretty sure there is a default one which does just what you expect: you should try the pdflatexmk Engine. –  Corentin Feb 12 '13 at 19:14
@cmhughes Can you give a portal that compatible with MacTex? –  Ben Lu Feb 12 '13 at 19:18
@BenLu I believe that arara should ship with the latest update How do I update my TeX distribution? –  cmhughes Feb 12 '13 at 19:20
There are instructions for how to use arara in TeXshop in the manual. –  Torbjørn T. Feb 12 '13 at 19:24

1 Answer 1

up vote 4 down vote accepted

Install arara, in Preference pane of TeXShop, set Misc -> Personal Script to arara, add

%arara: pdflatex
%arara: bibtex
%arara: pdflatex

before the document in .tex file.

"Typeset" -> DONE!

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.