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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have some documents that require extensive use of BibTeX files, and on the windows version of TeXworks there is the possibility of running pdflateX+MakeIndex+BibTeX, which is not present in the linux version (I am using ubuntu). I have to separately run BibTeX and the LaTeX compilers so that I can update my citations, which is a bit of a hassle. Is there any way to manually add the pdflateX+MakeIndex+BibTeX mode to TeXworks under linux?

share|improve this question

create a little bash script for the three commands, put it into ~/bin/ and then create a new menu option inside TeXworks (Edit->Preferences).

share|improve this answer

MiKTeX on Windows includes a program called texify which does the combined pdfLaTeX, MakeIndex and BibTeX run. There is not an identical program on Linux, but there are several scripting systems for LaTeX. As Herbert has said, you could write a simple script to do the job, but if you are not a scripting person might want to look at for example latexmk (which just 'does stuff') or arara (which is more user-controlled).

share|improve this answer
latexmk is already installed in TeXWorks – Herbert Sep 26 '12 at 8:08
@Herbert Depends on how you get TeXworks: the 'vanilla' one does not include it. – Joseph Wright Sep 26 '12 at 8:12
Ah ok, didn't know that – Herbert Sep 26 '12 at 8:13
then just adding latexmk to the typesetting tools in teXworks should be enough for it to work? – joaocandre Sep 26 '12 at 14:11
@joaocandre: for TeXLive yes, it is already installed. You can test it with which latexmk – Herbert Sep 26 '12 at 14:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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