I am trying to use bibtex for the first time. I am on windows 7, using TeXstudio. I am trying to follow the steps of this webpage (in French).

I have created a .bib file, put it in the right directory and written the code in my .tex file. However, I do not know how to compile bibtex with TeXstudio (I looked around in the menus but didn't find it).

Most tutorials I found don't explain how to do it, or say to run a command, which I'm not sure how to do.

Any help much appreciated!

  • Tools Menu, Bibliography, or press F11. – Sigur Jan 27 '14 at 14:54
  • actually it's F11, but anyway, thank you very much ! it's the little things like that that end up taking a lot of your time... – Glouglou Jan 27 '14 at 14:56
  • 1
    It's weird that sometimes I got automatically compiled with biblatex (my example). While in some occasions I have to manually compile so. – SHY.John Sep 17 '16 at 7:21
  • I am using TeX Studio by the way – SHY.John Sep 17 '16 at 7:22
up vote 22 down vote accepted

See here, Tools Menu

enter image description here

You can change the shortcut using the Options/Configure TeXstudio...

I'm using F10 but the default is F11.

enter image description here

  • 1
    May be if possible you could reload screenshots with default shortcuts F11 because you say F11 in comments and screenshot shows F10 (I know you have changed for your convenience), may be confusing for others. – texenthusiast Jan 27 '14 at 15:04
  • (it's very clear for me at least, thanks) – Glouglou Jan 27 '14 at 15:06
  • 1
    Seems the default has been changed to F8. – Davor Josipovic Feb 24 '17 at 10:11

Coming from TeXworks, I found this frustrating because I was used to being able to compile LaTeX and BibTeX all in one go. You can do this in TeXstudio, as well. If you select Options> Configure TeXstudio..., and select Build from the lefthand menu, you'll see a screen (below) that explains the default commands that are run for the various menu buttons and/or keyboard shortcuts. If you modify the Default Compiler option (by clicking the wand button to the right of the text box), you'll be able to enter a series of commands to run when you compile. The screenshot below, for example, shows how to set this up to run pdflatex, bibtex, pdflatex, pdflatex in order to resolve all cross-references.

enter image description here

For those who doesn't have the GUI "wand" edit option to edit the text-boxes, you can write:

txs:///pdflatex | txs:///bibtex | txs:///pdflatex | txs:///pdflatex | txs:///view-pdf

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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