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.
Best Answer
For example, I have stored central master bib file in the path:
c:\Users\jafa\Documents\Wiking\localtexmf\bibtex\bib\local\MasterBiblioLib.bib
Subdirectories \localtexmf\bibtex\bib\local are required. Then, in the MikTeX options on card Roots add your path. It works also on Windows 10.