BibTeX, biblatex and biber.bib library file in a different directory. How to do it?

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
swaaron
Posts: 1
Joined: Sat Aug 27, 2016 1:37 am

.bib library file in a different directory. How to do it?

Post by swaaron »

Hello Everyone.
I have the possibility of a general, updated .bib file using Mendeley Desktop. This file will stay updated with all the changes I make using my Mendeley citation software.

I want to access this centralized .bib file via biblatex from any .tex scripts from any possible directory. I am using TextMaker with Mitek.

For explaining purposes this is the desire path
C:\Tex\Bib\lib.bib
I Have my project in this directory
C:\Tex
When I compile the bib file this message are showed:
"Process started

This is BibTeX, Version 0.99d (MiKTeX 2.9) The top-level auxiliary file: results.aux The style file: plain.bst White space in argument---line 9 of file results.aux : \bibdata{C:/Tex/Bib/lib.bib} I'm skipping whatever remains of this command I found no database files---while reading file results.aux Warning--I didn't find a database entry for "Cheong2011" Warning--I didn't find a database entry for "Hansen2015" (There were 2 error messages)

Process exited with error(s)"

If I compile the .tex file a warning shows up "Citation 'Cheong2011' on page 1 undefined" and '?' symbols is placed in the reference location on the main text.

This is the line included in the .tex file to loading the bibliography.
\bibliography{C:/Tex/Bib/lib.bib}

I had tried to modify directly how bibtex run, by including in the TextMaker configuration for the bibtext the following line:
bibtex %
was replaced to
bibtex --include-directory="C:\Tex\Bib"%

But did not work. Message from compiling the .bib file
"
Process started

Need exactly one file argument

Process exited normally
"
I hope you can help me.
Thanks.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

.bib library file in a different directory. How to do it?

Post by Johannes_B »

Welcome,
all i can say without seeing your code is White space in argument---line 9 of file results.aux : \bibdata{C:/Tex/Bib/lib.bib}. Have a look for that white space or provide a minimal working example so we can see your relevant code to help you.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply