TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

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

There should be a simple solution to the following problem, but I have failed to find one.

I have a fresh installation of WinEdt 6.0 and MiKTeX 2.9. I usually use SumatraPDF for preview, using PDFTeXify (ctrl+shift+P in WinEdt).

I would like to invoke biblatex and biber while pdftexifying by pressing something similar to ctrl+shift+P in WinEdt. How do configure WinEdt to do this?

More specifically: I would like WinEdt to run pdflatex, then biber, then pdflatex again, etc. I cannot find a way to instruct WinEdt to run biber. I have biber.exe in MiKTeX's bin directory (put it there myself) and I have tried following instructions found on the web. My LaTeX document is fine and has the biblatex package included (it compiles if I run everything manually from the command prompt).

share|improve this question

This was discussed end of october 2010 on the mailing list of miktex and winedt. In short: you must set the enviroment variable "BIBTEX" and you should add some dummy commands to the aux-file to trigger the biber run. I just made again some tests and it looks as if it is also a good idea to delete the aux-file before the texify run. The heuristic of texify can still fail sometimes. Before making the final document it is a good idea to delete all auxiliary files (or at least the bbl) to get a correct result.

I added this to my local MainMenu.ini in winedt:

  CAPTION="&My commands"
    ITEM="pdfTeXify + biber"
    CAPTION="pdfTeXify + biber"
    MACRO="DeleteFile('%N.aux');SetEnvVar('BIBTEX', 'biber.exe'); Exe('%b\Exec\TeX\PDFTeXify.edt');"

And this is the document I compiled:







I didn't make tests with include. (I actually never use texify so I don't care much about it.)

share|improve this answer
Thanks for the answer. I recall having seen a similar solution in a mailing list. However, this solution together with the latex example made me finally run biber successfully. Thanks. – Markus Jalsenius Jun 27 '11 at 16:23

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.