BibTeX, biblatex and biberRun BibTeX from Notepad++

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
zach
Posts: 10
Joined: Sun Jun 21, 2009 9:43 pm

Run BibTeX from Notepad++

Post by zach »

This is my third question posted to the board, and I must say I've been impressed with the quickness and accuracy of the responses. Thank you all very much.

My question this time: Does anyone know how to configure a script or run command to run BibTeX from within Notepad++? Currently, I have a run command to execute PDFLaTeX on the current file. But, that does not compile my bibliography. So, I have to switch to WinEDT to do that. However, I'd prefer to do all of my editing and compiling in Notepad++. Does anyone know how to do this?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

zach
Posts: 10
Joined: Sun Jun 21, 2009 9:43 pm

Run BibTeX from Notepad++

Post by zach »

This problem has been solved, with the help of Jelmer Ypma. His page contains a script he wrote to integrate Notepad++ with LaTeX and BibTeX:

http://www.ucl.ac.uk/~uctpjyy/downloads.html

His code didn't work for me right out of the box. I had to modify the script to the code pasted below. I incorporated the PDFLaTex, BibTeX, PDFLaTeX, PDFLaTeX strategy that many people use for compiling documents. This script was simply saved and then called with a hotkey created in Notepad++.

I hope others will find this useful. If anyone needs a more detailed explanation, please let me know.

Code: Select all

cd "$(FULL_CURRENT_PATH)"
C:\...\pdflatex.exe -interaction=nonstopmode "$(FULL_CURRENT_PATH)"
C:\...\bibtex.exe "$(CURRENT_DIRECTORY)\$(NAME_PART)"
C:\...\pdflatex.exe -interaction=nonstopmode "$(FULL_CURRENT_PATH)"
C:\...\pdflatex.exe -interaction=nonstopmode "$(FULL_CURRENT_PATH)"
"C:\...\Adobe.exe" "$(CURRENT_DIRECTORY)\$(NAME_PART).pdf"
Post Reply