BibTeX, biblatex and biberCitation issue

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
David 007
Posts: 26
Joined: Sun Nov 10, 2019 12:23 pm

Citation issue

Post by David 007 »

Morning Johannes, I am going to switch to biblatex. Do I need to add a special command for the language, like \DeclareLanguageMapping{spanish} or biblatex will detect that I already have in my settings \usepackage[utf8]{inputenc}
\usepackage[spanish]{babel}.

Recommended reading 2024:

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

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

David 007
Posts: 26
Joined: Sun Nov 10, 2019 12:23 pm

Citation issue

Post by David 007 »

Have look to what I am going to do and let me know please if it looks fine Johannes:

preamble:
\usepackage[backend=biber,style=apa,autocite=inline]{biblatex}% style=apa, I guess is the equivalent to apalike
\addbibresource{davidtesis.bib}%this should be the new file that I am going to create for my bibliography
begin document:
\printbibliography

and I will set up my texmaker to rum biber

Thanks for your help Johannes!
David 007
Posts: 26
Joined: Sun Nov 10, 2019 12:23 pm

Citation issue

Post by David 007 »

does it look better (after some research I found this commands):
\usepackage[spanish]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[style=apa,natbib=true,backend=biber]{biblatex}
\DeclareLanguageMapping{spanish}{spanish-apa}
\DefineBibliographyExtras{spanish}
{\setcounter{smartand}{1} %to make sure the conjunction AND is Y like in Spanish
\let\lbx@finalnamedelim=\lbx@es@smartand
\let\lbx@finallistdelim=\lbx@es@smartand}

\addbibresource{bibliografia.bib}
begin{document}
\printbibliography
David 007
Posts: 26
Joined: Sun Nov 10, 2019 12:23 pm

Citation issue

Post by David 007 »

Hello again Johannes,
I have tried to install the above packages and it doesn't do it, it keeps saying in red log error file
When I installed the natbib package I had actually the same problem, I did have to try various times before It was installed. Should I do the same now?

Thanks in advance!
David 007
Posts: 26
Joined: Sun Nov 10, 2019 12:23 pm

Citation issue

Post by David 007 »

Hello again, I am really desperate. I managed to install biblatex but now I get the following warning:
INFO - This is Biber 2.12 INFO - Logfile is 'thesis ordenes.blg' INFO - Reading 'thesis ordenes.bcf' ERROR - Error: Found biblatex control file version 3.6, expected version 3.5. This means that your biber (2.12) and biblatex (3.13a) versions are incompatible. See compat matrix in biblatex or biber PDF documentation. INFO - ERRORS: 1

Process exited with error(s)
I would very much appreciate some help please. Many thankssssss.
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Citation issue

Post by Johannes_B »

You are rushing things. I know you are worrying about your thesis and want things done and are in a hurry. I am here in my spare time, i have a paid job.

There shouldn't be any need to install anything. Or play around with code snippets found on the internet. Do the things step by step.

You now have a version of biblatex that does not match with the biber version installed on your computer.

You have not yet given a real original error message, you just read the summaries your editor shows you. And you never posted a minimal working example so far.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
David 007
Posts: 26
Joined: Sun Nov 10, 2019 12:23 pm

Citation issue

Post by David 007 »

Really sorry Johannes.Please, accept my apologies. I know now that I have made a mistake. What can I do now? I guess that the best thing to do is to cancel all packages and codes installed today and start again tomorrow.
Really hope you can help me tomorrow.
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Citation issue

Post by Johannes_B »

I don't know how you installed the package.
Depending on how far you are into your thesis, you could just update your whole tex distribution using the package manager, but it might lead to other incompatibilities.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
David 007
Posts: 26
Joined: Sun Nov 10, 2019 12:23 pm

Citation issue

Post by David 007 »

Good night Johannes,
Right now, with biblatex installed I compile the following
@book{sanmartiysantacana2005,
title={Els ibers del nord},
author={Sanmartí,­ Joan y Santacana, Joan},
publisher={Editorial Dalmau},
year={2005}
}

and the bibliography does not appear, and in the text the reference appears as (sanmartiysantacana2005). It seems that it is only reading the entry label.

However, if I cancel the package and codes installed today and I configure tex maker again with texbib and I use again natbib everything is fine again, except that I still have the problem with the conjunction AND in the bibliography.

What can I do? I really hope that my mistake is not going to affect the whole thesis and, that using the percentage symbol, I can come back to the point in which I was before installing biblatex.
Many thanks for your kind help and advice
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Citation issue

Post by Johannes_B »

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