GeneralEmpty citations when using biblatex in Miktex: Strange

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
arstaer
Posts: 12
Joined: Sun Jun 17, 2012 5:56 am

Empty citations when using biblatex in Miktex: Strange

Post by arstaer »

Dear all,
First of all, thanks for the awesome site and people. I don't know what i would have done without you, guys.

Thsi time, suddenly found an unsettling feature/bug in biblatex with miktex and hyperref with any citation. When citing the same author-year again, biblatex most of the time just inserts (). Sometimes it does work for the 2nd mention of the same citation but always produces () for 3rd and so on.
What i get from MWE below compiled with pdflatex is this:
It’s fine to use however at the beginning, or in the middle of, a sentence,
you just need to know when to use a comma (Barberis, Shleifer, and Wurgler
2005). Youll remember ()that a semicolon is used to connect two sentences.
However, more often we glue two sentences together with a comma and
conjunction (such as and or but). In fact, if you examine a document you
have written recently, you are likely to find many such sentences;() theyre
so common that you dont even realize you are writing them. When you
do put two sentences together with a conjunction, you must also include a
comma. That is, the conjunction and comma are equivalent to a semicolon
when youre connecting sentences. Here are three examples: .
Log shows this:

Code: Select all

pdfTeX warning (dest): name{cite.0@barberis_comovement_2005} has been referenced but does not exist, replaced by a fixed one
Here is my MWE for just one citation but the same happens for any number of different consecutive citations. I can't find the way to avoid including my bib file and include entries directly in the .tex, hence this will not compile immediately. I apologize for the inconvenience.

Code: Select all

%`preamble' precedes the main text
\documentclass[11pt]{article}



\usepackage[authordate, doi=false, url=false]{biblatex-chicago}
% \usepackage[longnamesfirst]{natbib}
%\usepackage[natbib=true, bibstyle=authoryear, citestyle=authoryear-comp]{biblatex}
\addbibresource{T:/MYDOCS~1/MYBIBT~1/Zotero2012.bib}
\usepackage{hyperref}


\begin{document}
It's fine to use however at the beginning, or in the middle of, a sentence, you just need to know when to use a comma \parencite{barberis_comovement_2005}.  You’ll remember \parencite{barberis_comovement_2005}that a semicolon is used to connect two sentences. However, more often we glue two sentences together with a comma and conjunction (such as and or but). In fact, if you examine a document you have written recently, you are likely to find many such sentences;\parencite{barberis_comovement_2005} they’re so common that you don’t even realize you are writing them. When you do put two sentences together with a conjunction, you must also include a comma. That is, the conjunction and comma are equivalent to a semicolon when you’re connecting sentences. Here are three examples: .


\end{document}
Here is the entry for bibtex

Code: Select all

@ARTICLE{barberis_comovement_2005,
  author = {Barberis, Nicholas and Shleifer, Andrei and Wurgler, Jeffrey},
  title = {Comovement},
  year = {2005},
  volume = {75},
  number = {2},
  month = feb,
  pages = {283--317},
  issn = {0304-{405X}},
  doi = {10.1016/j.jfineco.2004.04.003},
  url = {http://www.sciencedirect.com/science/article/B6VBX-4DD9DB5-1/2/59c1f39354444e6e25fec0590c9fb463},
  abstract = {Building on Vijh {(Rev.} Financial Stud. 7 (1994)), we use additions
	to the {S\&P} 500 to distinguish two views of return comovement:
	the traditional view, which attributes it to comovement in news about
	fundamental value, and an alternative view, in which frictions or
	sentiment delink it from fundamentals. After inclusion, a stock's
	beta with the {S\&P} goes up. In bivariate regressions which control
	for the return of non-{S\&P} stocks, the increase in {S\&P} beta
	is even larger. These results are generally stronger in more recent
	data. Our findings cannot easily be explained by the fundamentals-based
	view and provide new evidence in support of the alternative friction-
	or sentiment-based view.},
  annote = {Good method of simulating standard errors for kinda {SUR} ret on
	index regressions for each stock but with correlation across stocks
	at event dates  },
  file = {},
  journal = {Journal of Financial Economics},
  keywords = {Beta, Comovement, Index inclusion, simulation, Standard errors}
}
I googled but i couldn't find the way to include MWE bibtex entries inside the main MWE above, so I posted it separately.

Hope somebody can shed light on this!

Thank you,

Arsenio
Last edited by cgnieder on Wed Aug 29, 2012 10:14 am, edited 1 time in total.

Recommended reading 2024:

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

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

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Empty citations when using biblatex in Miktex: Strange

Post by cgnieder »

This looks like a bug to me. I think you should contact the author of biblatex-chicago and provide him with a stripped down version of your Infominimal working example and the version of the package (Package: biblatex-chicago 2012/07/26 v 2.0 biblatex style in my case):

Code: Select all

\documentclass{article}

\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@ARTICLE{A01,
  author = {Author},
  title = {Alpha},
  year = {2012}
}
\end{filecontents}

\usepackage[authordate]{biblatex-chicago}
\addbibresource{\jobname.bib}

\begin{document}
\parencite{A01}

\parencite{A01}

\parencite{A01}

\end{document}
Regards
site moderator & package author
Post Reply