GeneralBibtex file parsed not only for projects

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

Bibtex file parsed not only for projects

Post by tramir »

Hi,

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"?

Thanks,
Mircea

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
kmogli
Posts: 3
Joined: Wed Jan 24, 2007 10:34 pm

Re: Bibtex file parsed not only for projects

Post by kmogli »

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

Latex=>DVI(Simple)

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
kmogli@yahoo.com
tramir
Posts: 12
Joined: Fri Jan 26, 2007 12:58 am

Bibtex file parsed not only for projects

Post by tramir »

Yeah, I guess it wasn't clear :? 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.
Post Reply