2

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?

3

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

3

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).

  • latexmk is already installed in TeXWorks – user2478 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 – user2478 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 – user2478 Sep 26 '12 at 14:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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