BibTeX, biblatex and biberWhat is wrong with this bibtex entry?????

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
jamin
Posts: 1
Joined: Thu Jul 24, 2014 9:47 pm

What is wrong with this bibtex entry?????

Post by jamin »

Hello all,
================================================================================
TL;DR: IN SHORT WHAT IS BAD/WRONG WITH THIS CITATION / BiBTex Entry??!?!?!?! Explanation below

@article{ALee:Voltage,
author = "Lee, Adrian T. and Richards, Paul L. and Nam, Sae Woo and Cabrera, Blas and Irwin, K. D.",
title = "A superconducting bolometer with strong electrothermal feedback",
journal = "Applied Physics Letters",
year = "1996",
volume = "69",
number = "12",
eid = ,
pages = "1801-1803",
url = "http://scitation.aip.org/content/aip/jo ... 3/1.117491",
doi = "10.1063/1.117491"
}

================================================================================

I am writing my thesis and things have been going well. Until I added an entry which I copy pasted from the web (http://scitation.aip.org/content/aip/jo ... 3/1.117491, export BibTex citation from side bar), but then simply changed the name of the reference from :/content/aip/journal/apl/69/12/10.1063/1.117491 to ALee:Voltage

For whatever reason this BibTex entry causes the all of the citations to stop working. My thesis has about 38 citations so far so I've reduced it to this M(not)WE and an MWE to help illustrate the problem.


================================================================================
FAILED ATTEMPT

Minimum Example of my MWE.tex file:

Code: Select all

\documentclass{book}

\usepackage[
    backend=biber,
    bibstyle=numeric,
    citestyle=numeric,
    url=true,
    doi=true,
]{biblatex}  

\addbibresource{/home/westbrook/Dropbox/Thesis/ThesisV1.6/Chapters/MWE/references.bib}

\begin{document}

Citation \#1:\cite{ALee:Voltage}

Citation \#2:\cite{Halverson:Bullet}

\end{document}
shell script used to compile tex document and bibliography:

Code: Select all

#Define paths used by compiler
os_type=`uname`
dir=`pwd`
fullpathtex=`echo $dir/MWE.tex`
fullpathbbl=`echo $dir/MWE.bbl`
fullpathaux=`echo $dir/MWE.aux`
fullpathpdf=`echo $dir/MWE.pdf`
fullpath=`echo $dir/MWE`
#Remove cross-platform/os incompatible files (which will be regenerated)
rm $fullpathaux
rm $fullpathbbl
rm -rf `biber --cache`
#complie document and bibliography and document againg
pdflatex $fullpathtex
biber $fullpath
pdflatex $fullpathtex
pdflatex $fullpathtex
#Determine OS and open compiled pdf
if [ $os_type = 'Darwin' ]; then
open $fullpathpdf
elif [ $os_type = 'Linux' ]; then
okular $fullpathpdf
fi
references.bib file (bibtex entries pulled directly from web (copy/pasted)

Code: Select all

@article{ALee:Voltage,
author = "Lee, Adrian T. and Richards, Paul L. and Nam, Sae Woo and Cabrera, Blas and Irwin, K. D.",
title = "A superconducting bolometer with strong electrothermal feedback",
journal = "Applied Physics Letters",
year = "1996",
volume = "69",
number = "12", 
eid = ,
pages = "1801-1803",
url = "http://scitation.aip.org/content/aip/journal/apl/69/12/10.1063/1.117491",
doi = "10.1063/1.117491" 
}

@article{Halverson:Bullet,
author         = "Halverson, N.W. and Lanting, T. and Ade, P.A.R. and Basu, K. and Bender, A.N. and others",
title          = "{Sunyaev-Zel'dovich Effect Observations of the Bullet Cluster (1E 0657-56) with APEX-SZ}",
journal        = "Astrophys.J.",
volume         = "701",
pages          = "42-51",
doi            = "10.1088/0004-637X/701/1/42",
year           = "2009",
eprint         = "0807.4208",
archivePrefix  = "arXiv",
SLACcitation   = "CITATION = ARXIV:0807.4208;",
primaryClass   = "astro-ph",
}

OUTPUT

Code: Select all

Citation #1:[ALee:Voltage]

Citation #2:[Halverson:Bullet]
================================================================================

However, if I remove the first citation by commenting it out with a % in the reference.bib

references.bib file (bibtex entries pulled directly from web (copy/pasted)

Code: Select all

%@article{ALee:Voltage,
author = "Lee, Adrian T. and Richards, Paul L. and Nam, Sae Woo and Cabrera, Blas and Irwin, K. D.",
title = "A superconducting bolometer with strong electrothermal feedback",
journal = "Applied Physics Letters",
year = "1996",
volume = "69",
number = "12", 
eid = ,
pages = "1801-1803",
url = "http://scitation.aip.org/content/aip/journal/apl/69/12/10.1063/1.117491",
doi = "10.1063/1.117491" 
}

@article{Halverson:Bullet,
author         = "Halverson, N.W. and Lanting, T. and Ade, P.A.R. and Basu, K. and Bender, A.N. and others",
title          = "{Sunyaev-Zel'dovich Effect Observations of the Bullet Cluster (1E 0657-56) with APEX-SZ}",
journal        = "Astrophys.J.",
volume         = "701",
pages          = "42-51",
doi            = "10.1088/0004-637X/701/1/42",
year           = "2009",
eprint         = "0807.4208",
archivePrefix  = "arXiv",
SLACcitation   = "CITATION = ARXIV:0807.4208;",
primaryClass   = "astro-ph",
}

and I rerun the SAME shell script I get the following output

Code: Select all

Citation #1:[ALee:Voltage]

Citation #2:[1]
================================================================================

IN SHORT WHAT IS BAD/WRONG WITH THIS CITATIONS??!?!?!?!

@article{ALee:Voltage,
author = "Lee, Adrian T. and Richards, Paul L. and Nam, Sae Woo and Cabrera, Blas and Irwin, K. D.",
title = "A superconducting bolometer with strong electrothermal feedback",
journal = "Applied Physics Letters",
year = "1996",
volume = "69",
number = "12",
eid = ,
pages = "1801-1803",
url = "http://scitation.aip.org/content/aip/jo ... 3/1.117491",
doi = "10.1063/1.117491"
}

Thank you soooo much if you can help!

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

What is wrong with this bibtex entry?????

Post by Johannes_B »

It is the empty field eid. remove the line, comment it out or use an empty string.

Code: Select all

\RequirePackage{filecontents}
\begin{filecontents}{\jobname.bib}
    @article{ALee:Voltage,
    author = "Lee, Adrian T. and Richards, Paul L. and Nam, Sae Woo and Cabrera, Blas and Irwin, K. D.",
    title = "A superconducting bolometer with strong electrothermal feedback",
    journal = "Applied Physics Letters",
    year = "1996",
    volume = "69",
    number = "12",
%    eid = "",% <- set to empty string and commented out
    pages = "1801-1803",
    url = "http://scitation.aip.org/content/aip/journal/apl/69/12/10.1063/1.117491",
    doi = "10.1063/1.117491"
    }

    @article{Halverson:Bullet,
    author         = "Halverson, N.W. and Lanting, T. and Ade, P.A.R. and Basu, K. and Bender, A.N. and others",
    title          = "{Sunyaev-Zel'dovich Effect Observations of the Bullet Cluster (1E 0657-56) with APEX-SZ}",
    journal        = "Astrophys.J.",
    volume         = "701",
    pages          = "42-51",
    doi            = "10.1088/0004-637X/701/1/42",
    year           = "2009",
    eprint         = "0807.4208",
    archivePrefix  = "arXiv",
    SLACcitation   = "CITATION = ARXIV:0807.4208;",
    primaryClass   = "astro-ph",
    }
\end{filecontents}
\documentclass{article}
\usepackage[
	backend=biber,
	style=numeric,
%        bibstyle=numeric,
%        citestyle=numeric,
	url=true,
	doi=true,
]{biblatex}  

\addbibresource{\jobname.bib}
\begin{document}
Citation \#1:\cite{ALee:Voltage}
Citation \#2:\cite{Halverson:Bullet}
\printbibliography
\end{document}
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