[Vim-latex-devel] bibtex problem
Brought to you by:
srinathava,
tmaas
From: Marino <mar...@ya...> - 2004-11-30 14:08:57
|
Hi all, I am having a problem with running bibtex. First of all, I am fairly new to latex-suite, so I may have overlooked some simple settings in order to make bibtex work in my case. System: ------- Win2K gvim 6.3 grep (GNU grep) 2.5.1 latexSuite-1.5 (from latexSuite-1.5.tar.gz) latest MiKTeX (30-Nov-2004, MiKTeX update wizard) Problem: -------- Whenever I try to run bibtex with the standard settings of latexSuite I get a command windows which tries to run bibtex, but simply halts and does nothing. I first set the compiler target to be bibtex: :TCTarget bib Then when I start the compiler I get a command window which shows: C:\WIN2K\system32\cmd.exe /c bibtex main.tex FILENAME 2>&1 where FILENAME is some temporarily file (VIe3E.tmp in my personal Win2K TEMP directory), and then does nothing. When I try to do the same as latex-suite does I get the following error from bibtex: C:\somedir> C:\WIN2K\system32\cmd.exe /c bibtex main.tex I couldn't open file name `main.tex.aux' Please type input file name (no extension)-- So it seems that bibtex expects the filename without any extension. My solution was to alter the value of the variable 'g:Tex_CompileRule_bib' in my texrc file: let g:Tex_CompileRule_bib = 'bibtex %:p:t:r $*' I am still left with the desire to have bibtex automatically use the main file name for generating the bibliography when I have an empty file 'main.tex.latexmain' in my directory, as I normally have my '\bibliography{references}' and '\bibliographystyle{amsplain}' in my 'main.tex' file. Anyone? Thanks in advance. ___________________________________________________________ Win a castle for NYE with your mates and Yahoo! Messenger http://uk.messenger.yahoo.com |