LaTeX forum ⇒ LEdbibtex builds on individual .tex files

Information and discussion about LEd, an integrated LaTeX environment for Windows
Posts: 19
Joined: Thu Mar 04, 2010 5:49 pm

bibtex builds on individual .tex files

Postby buster » Thu Mar 04, 2010 5:57 pm


Don't really know much about LaTeX so please excuse my question if it's poorly worded. I've been trying to arrange my bibliography to appear at the end of each chapter, citing only the references used in that chapter.

I've been able to do this in TeXnicCentre as you can build each file (ie chapter) with BibTex very simply, but I have not been able to do this in LEd project, and can't see how to build chapters with BibTex. When it runs the build i get e.g.
chap01.bbl not found

Does anyone know if and how BibTex can be used in a similar way for LEd project?

(I've read about changing the build files run so that this occurs but didn't really understand what any of them were describing/how to implement their apparent solutions)


User avatar
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Postby gmedina » Thu Mar 04, 2010 6:32 pm


that's not really an editor-based problem. Your problem can be solved (independently of your editor) using, for example, either the chapterbib or the bibunits package.

Posts: 19
Joined: Thu Mar 04, 2010 5:49 pm

Postby buster » Thu Mar 04, 2010 8:16 pm


I tried using chapterbib which was when i was having the problems described above.

I'm trying to go through the template to make MWE but it's taking me a bit of time so was hoping in the meantime that someone would know of a way to do it using the shortcuts in the toolbar, as in TeXnicCentre.

Posts: 649
Joined: Tue Mar 25, 2008 5:02 pm

Postby kaiserkarl13 » Thu Mar 04, 2010 11:04 pm

I'm not sure exactly how you're generating your output file(s), so this is going to be a guess. To generate chapter1.bbl, you run bibtex on chapter1.aux. If you're using chapterbib, you run the following:

[pdf]latex maindocument
bibtex chapter1.aux
bibtex chapter2.aux
[pdf]latex maindocument
[pdf]latex maindocument

If you're missing the steps I've done with a for statement, you won't get a bibliography at the ends of the chapters.

You should read the comments that are part of chapterbib.sty; they tell you everything you need to know when working with it. Under certain circumstances, you'll want to run LaTeX, run BibTeX on the main document, change a line, then run LaTeX again, run BibTeX on each included file, then finish.

There is a newer package called biblatex that might help you here. I've never used it, but it's supposed to be a replacement for writing .bst files and I recall hearing it also has functionality similar to chapterbib or bibunits.

Posts: 19
Joined: Thu Mar 04, 2010 5:49 pm

Postby buster » Fri Mar 05, 2010 12:25 am

thanks, that's what i what need to do
seriously simple do i find the comments that are part of chapterbib.sty?

i should just add that the
bibtex on each chapter individually is what i can't seem to do with LEd

Return to “LEd”

Who is online

Users browsing this forum: No registered users and 3 guests