BibTeX, biblatex and biberCitation Error for splitted Document

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
sdaza
Posts: 8
Joined: Thu Nov 11, 2010 12:15 am

Citation Error for splitted Document

Post by sdaza »

Hi everyone,

I have a problem with my bibliography when I use \input command. This is my template:

Code: Select all

\documentclass[12pt]{article}
\begin{document}

\input{paper04} 

\newpage
\bibliographystyle{asr}
\bibliography{ref}
\end{document}
I get this citation error:
Citation `maldonado-molina2007patterns' on page 1 undefined on input line 22. Citation `maldonado-molina2007patterns' on page 1 undefined
But when I copy the paper04 code in this template I get the citation and reference section without any problem, so I think it is an issue related to the \input command. What could I do? Any ideas?


Thank you in advance,
Sebastian
Last edited by sdaza on Sun Nov 27, 2011 7:50 pm, edited 2 times 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.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Citation Error for splitted Document

Post by localghost »

Use the \include command instead.


Thorsten
sdaza
Posts: 8
Joined: Thu Nov 11, 2010 12:15 am

Re: Citation Error for splitted Document

Post by sdaza »

I did it, but I got the same error. An additional problem with \include command is this puts the "included" document in a new page.

Any ideas about how to solve my problem?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Citation Error for splitted Document

Post by localghost »

I don't have the »asr« bibliography style file on my system. But it works for me in principal if I choose another bibliography style like »unsrt«. Bye the way, you should take a look at the log files (*log, *.blg) for possible explanations.
sdaza
Posts: 8
Joined: Thu Nov 11, 2010 12:15 am

Re: Citation Error for splitted Document

Post by sdaza »

The asr style works fine if I copy the syntax of my input .tex file into the template.tex file. So, I think it is not a problem related to the bib style.

I have tried with different templates, but it doesn't work.
I don't know how to fix it.

Thank you anyway.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Citation Error for splitted Document

Post by localghost »

Finally I managed to get me the »asr« bibliography style file. Your example only works for me if I add the natbib package to the preamble. Somewhere in your code there have to be irregularities that prevent a flawless compilation.
Post Reply