[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] TeXLive2011 Biber environment problem

From: Ivan Andrus
Subject: Re: [AUCTeX] TeXLive2011 Biber environment problem
Date: Wed, 17 Aug 2011 15:00:58 +0200

If it works from the command line, but not from AUCTeX the difference might be 
the environment variables (especially if you started Emacs from a desktop 
shortcut instead of the command line or after updating .bashrc).  You can set 
them with `setenv':

(setenv "BIBINPUTS" (concat "/home/haines/jabref:" (getenv "BIBINPUTS")))

If it doesn't work from the command line, then it's almost certainly not 
related to AUCTeX and this wouldn't be a good place to ask.


On Aug 17, 2011, at 1:13 PM, Haines Brown wrote:

> I installed TeXLive2011 and AUCTeX on Debian Squeeze. LaTeX itself 
> works well, but when I try to issue the bibtex command, it seems my 
> environment is not set up properly.
> I have a test file, ~/testFiles/test.tex.
>  \begin{document}
>  \nocite{Veer1998}
>  Test two citations (\cite{Goody1976} and \cite{Topolski2011}).
>  \bibliography{historiography,soc-sci}
>  \bibliographystyle{chicago}
>  \end{document}
> The Goody citation is in ~/jabref/soc-sci.bib and Topolski is in
> ~/jabref/historiography.bib.
> The .aux file has:
>  \relax
>  \citation{Veer1998}
>  \citation{Goody1976}
>  \citation{Topolski2011}
>  \bibdata{soc-sci}
>  \bibstyle{chicago}
> However, when I run the bibtex command, debug says that bibtex could
> not open the two database files or chicago.bst. It seems that the
> paths to the .bib and .bst files are not found. However, in ~/.bashrc
> I have these lines:
>  TEXINPUTS=/usr/local/texlive/2011/texmf//$TEXINPUTS; export TEXINPUTS
>  BIBINPUTS=/home/haines/jabref:$BIBINPUTS; export BIBINPUTS
>  BSTINPUTS=/usr/local/texlive/2011/texmf-dist/bibtex/bst:$BSTINPUTS;
>      export BSTINPUTS
> And I get these returns:
>  $ echo $TEXINPUTS
>  /usr/local/texlive/2011/texmf//
>  $ echo $BIBINPUTS
>  /home/haines/jabref:
>  $ echo $BSTINPUTS
>  /usr/local/texlive/2011/texmf-dist/bibtex/bst:
> Am I using the proper method for telling bibtex where the bib and
> style files are located?
> Haines Brown
> _______________________________________________
> auctex mailing list
> address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]