I am very new at LaTeX, so please bear with me if I am re-posting something. I have found a lot of info online, but nothing simple enough for me to duplicate it.
I am trying to set-up my document to use a bib file in a local directory, so that multiple documents can share the same bib file. I will need the tex files to be able to link to this bib file, regardless of the tex file location on my machine.
I have the following code to start my document,
\documentclass[aip]{revtex4-1}
\begin{document}
\title{Connecting a detection system net for Interplanetary counterparts of Coronal Mass Events to warning signals aimed in a spherical pattern to activate automated emergencies procedures aboard interplanetary space craft}
\author{\firstname{Sara-jeanne} Vogler}
\date{\today}
\maketitle
\section{Premises}
hello\cite{Vog13a}
\section{Technique}
\subsection{Timeline}
\section{Evaluation}
\bibliography{C:/LocalTexFiles/bibtex/bib/sarabibs}
\end{document}
My bib file is in C:\LocalTexFiles\bibtex\bib\misc and C:\LocalTexFiles has been added as a Root Directory in MikTex Maintenance Options.
The messages during compile says
I couldn't open database file C:/LocalTexFiles/bibtex/bib/sarabibs.bib and the pdf shows a ? instead of a numerical citation within the text.
.bib
file in that path. Just to be tidy and have everything in the same directory. Just place the.bib
file in that folder and ensures that your.tex
documents will use that.bib
file are on the same directory or in a subdirectory and problem solved. You don't need to specify paths.