LaTeX forum ⇒ GeneralBibtex file parsed not only for projects

General information and discussion about TeXnicCenter
Posts: 12
Joined: Fri Jan 26, 2007 12:58 am

Bibtex file parsed not only for projects

Postby tramir » Fri Jan 26, 2007 1:29 am


I've been using TeXnicCenter for a while, but I rarely needed the "project" feature. Most of the times, I just create Latex files on their own and use them as such. I also use JabRef and added it to the Tools menu. Recently, I realized how I could modify the command line in Tools so that JabRef starts with the bib-file used in the project. And here's my question: is it possible to get the bib-file used in a simple Latex file, not a project? And if not, would you think it's worth considering it for a "new feature"?


User avatar
Posts: 3
Joined: Wed Jan 24, 2007 10:34 pm

Postby kmogli » Fri Jan 26, 2007 5:13 pm

Couldn't you just define a suitable build profile

Build->Define out profiles...->Add

To get what you want? E.g. I defined new profiles like


which do NOT call BibTex or MakeIndex because I did not want to see all the error messages triggered when these utilities all called on a file which does not use them.

The definition of a profile allows you to specify
1. What latex processor to call (regular latex, pdflatex, etc)
2. What postprocess or run after latex
3. What viewer you prefer to see the output in.

It seems to me that the way a file is processed depends on the profile in use, not whether it is part of a project or not.

Apologies if I'm not understanding what you need.
John W. Williams

Posts: 12
Joined: Fri Jan 26, 2007 12:58 am

Postby tramir » Fri Jan 26, 2007 7:04 pm

Yeah, I guess it wasn't clear Confused What I meant is that, with a project open, you can run JabRef with the command line argument $qrBPF, but if the open file is not a project but a simple Latex file, $qrBPF means nothing. My question is: is it possible to make $qrBPF expand to the bib-filename used in a Latex file if it's not a project?

Hope I could make myself clearer this time. And thanks for the fast reply.

Return to “General”

Who is online

Users browsing this forum: No registered users and 1 guest