Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

EDIT: On a suggestion I added:

\usepackage[utf8]{inputenc}

and changed

\bibliography{citations.bib}

into

\addbibresrouce{citations.bib}

This solved this specific problem, even though I now have an inputenc problem that is however probably not directly related to this exact issue.

I've encountered a problem I can't seem to understand, nor do I seem to find anything when googling the issue either. I dunno, maybe I'm just googling the wrong words..

I am using Os X with TexShop and have defined the BibTeX engine to run using biber.

I have (extracts):

\usepackage[backend=biber]{biblatex}
\bibliography{citations.bib}

\begin{document}
\section{Some section}
Some text ... \cite{someBook}

\section{References}
\printbibliography
\end{document}

First I ran LaTeX compile, and then ran BibTeX. (biber is confirmed running. Log confirms this along with a couple of warnings:

/var/folders/f6/9vk9f7jn0zx_7cngdjxv1rdr0000gn/T/10ttGvYx8U/citations.bib_9023.utf8, line 46, syntax error: found "of", expected "="
/var/folders/f6/9vk9f7jn0zx_7cngdjxv1rdr0000gn/T/10ttGvYx8U/citations.bib_9023.utf8, line 50, warning: 13 characters of junk seen at toplevel
"\x{fffd}" does not map to ascii at Biber/Output/BBL.pm line 430.
"\x{fffd}" does not map to ascii at Biber/Output/BBL.pm line 430.
INFO - This is biber 0.9.3
INFO - Logfile is 'report, main.blg'
INFO - Reading report, main.bcf
INFO - Found 7 citekeys in bib section 0
INFO - Processing bib section 0
INFO - Looking for bibtex format file 'citations.bib' for section 0
INFO - Found bibtex data file 'citations.bib'
WARN - Entry relevance-basedlanguagemod does not parse correctly: skipping
INFO - Sorting list 'MAIN' keys
INFO - No sort tailoring available for locale 'en_US.UTF-8'
INFO - Sorting list 'SHORTHANDS' keys
INFO - No sort tailoring available for locale 'en_US.UTF-8'
INFO - Writing 'report, main.bbl' with encoding 'ascii'
INFO - Output to report, main.bbl

Then when running LaTeX-compile again I get the following:

This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)
 \write18 enabled.
entering extended mode
(./report, main.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman-x-2009-06-19, ngerman-x-2009-06-19, afrikaans, ancientgreek, ibycus, arabi
c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis
h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, finnis
h, french, galician, german, ngerman, swissgerman, monogreek, greek, hungarian,
 icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi, or
iya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji,
 lao, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, pol
ish, portuguese, romanian, russian, sanskrit, serbian, serbianc, slovak, sloven
ian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded
.
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/size12.clo))
(/usr/local/texlive/2011/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
(/usr/local/texlive/2011/texmf-dist/tex/generic/ifxetex/ifxetex.sty))
(/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/graphics.cfg)
(/usr/local/texlive/2011/texmf-dist/tex/latex/pdftex-def/pdftex.def
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))))
(/usr/local/texlive/2011/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(/usr/local/texlive/2011/texmf-dist/tex/latex/oberdiek/epstopdf.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/oberdiek/grfext.sty
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty))
(/usr/local/texlive/2011/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/etexcmds.sty
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/ifluatex.sty))))
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg)))
(/usr/local/texlive/2011/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/local/texlive/2011/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/local/texlive/2011/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/local/texlive/2011/texmf-dist/tex/latex/url/url.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/biblatex/biblatex.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/etoolbox/etoolbox.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/etex-pkg/etex.sty))
(/usr/local/texlive/2011/texmf-dist/tex/latex/logreq/logreq.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/logreq/logreq.def))
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/ifthen.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/biblatex/blx-compat.def)
(/usr/local/texlive/2011/texmf-dist/tex/latex/biblatex/biblatex.def)
(/usr/local/texlive/2011/texmf-dist/tex/latex/biblatex/bbx/numeric.bbx
(/usr/local/texlive/2011/texmf-dist/tex/latex/biblatex/bbx/standard.bbx))
(/usr/local/texlive/2011/texmf-dist/tex/latex/biblatex/cbx/numeric.cbx)
(/usr/local/texlive/2011/texmf-dist/tex/latex/biblatex/biblatex.cfg))
(/usr/local/texlive/2011/texmf-dist/tex/latex/biblatex/lbx/english.lbx)
(./report, main.aux)
*geometry* driver: auto-detecting
*geometry* detected driver: pdftex
(/usr/local/texlive/2011/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (./report, main.bbl)
(/usr/local/texlive/2011/texmf-dist/tex/latex/amsfonts/umsa.fd)
(/usr/local/texlive/2011/texmf-dist/tex/latex/amsfonts/umsb.fd)
(./report, main.toc) [1{/usr/local/texlive/2011/texmf-var/fonts/map/pdftex/updm
ap/pdftex.map}] [2] [3]
Overfull \hbox (14.92099pt too wide) in paragraph at lines 42--43
\OT1/cmr/m/n/12 page al-lows a wide range of data col-lec-tions, all of which a
re fetched from Wikipedia[    3],
[4] [5] [6] [7] [8]
./report, main.tex:119: Undefined control sequence.
<argument> Sch\x 
                 {fffd}tze
l.119 

?

The line at ./report, main.tx:119 contains the \printbibliography command. I cannot seem to understand why I get this error.

My citations.bib file looks like this:

@ARTICLE{learningsimilaritymetrics,
   author = {Hila Becker and Mor Naaman and Luis Gravano},
   title = {Learning Similarity Metrics for Event Identification in Social Media},
   institution = {Columbia and Rutgers University},
   year = {2010}
}

@ONLINE{dbpedia,
   title = {DBPedia},
   author = {Christopher Sahnwaldt},
   url = {http://www.DBpedia.org},
   year = {2013}
}

@ONLINE{mirflickr,
   title = {MIRFlickr},
   author = {Mark Huiskes and Bart Thomee and Michael Lew},
   url = {http://press.liacs.nl/mirflickr/},
   year = {2013}
}

@ONLINE{flickr,
   title = {Flickr},
   author = {The Flickr Team},
   url = {http://www.flickr.com},
   year = {2013}
}

@ONLINE{wiki,
   author = {The Wikimedia Foundation},
   title = {Wikipedia},
   url = {http://www.wikipedia.org},
   year = {2013}
}

@ARTICLE{approachtoautoqexp,
   author = {Claudio Carpineto and Renato De Mori and Giovanni Romano and Brigitte Bigi},
   title = {An Information-Theoretic Approach to Automatic Query Expansion},
   institution = {Fondazione Ugo Bordini and University of Avignon},
   year = {2001}
}

@ARTICLE{relevance-basedlanguagemod,
   author = {Victor Lavrenko and W. Bruce Croft},
   title = {Relevance-Based Language Models},
   institution = {Center for Intelligent Information Retrieval, Dept. of Computer Science}, University of Massachusetts},
   year = {2001}
}

@ARTICLE{comparingandcombiningmethodsautoqexp,
   author = {José R. Pérez-Agüera and Lourdes Araujo},
   title = {Comparing and Combining Methods for Automatic Query Expansion},
   institution = {Dpto. de Ingeniería del Software e Inteligencia Artificial, UCM and Dpto. Lenguajes y Sistemas Informáticos, UNED},
   year = {2008}
}

@BOOK{introtoinforetrieval,
   author = {Christopher D. Manning and Prabhakar Raghavan and Hinrich Schütze},
   title = {Introduction to Information Retrieval},
   publisher = {Cambridge University},
   year = {2008}
}

@BOOK{moderninforetrieval,
   author = {Ricardo Baeza-Yates and Berthier Ribeiro-Neto},
   title = {Modern Information Retrieval: The concepts and technology behind search},
   edition = {2nd},
   publisher = {Pearson Education Limited},
   year = {2011}
}

If I press enter to ignore this error the report still compiles and produces a PDF that seems to be correct, but its still really annoying to get this error all the time.

share|improve this question
    
Firstly you should use \addbibresource not \bibliography to specify your bib file. Secondly your bib file contains non ascii characters and these are need to be correctly recognised. If you files are stored as utf8 then you main file should include a \usepackage[utf8]{inputenc}. –  Andrew Swann Dec 4 '13 at 11:45
    
@AndrewSwann This seemed to resolve the problem! Thanks! Now however I get a new error: ./report, main.tex:120: Package inputenc Error: Unicode char \u8:ÔøΩ not set up for use with LaTeX. –  Geir K.H. Dec 4 '13 at 11:56
    
I do not see these characters in your posted code. The error says it occurs in line 120 of main.tex which you have not posted. Check that line for something strange. Also make sure both your tex file and your bib file have been saved in utf8. I the problem persists, you can add further information by editing your question. –  Andrew Swann Dec 4 '13 at 12:24
    
I have updated my post now, @AndrewSwann. Line 120 is still the \printbibliography line. It's just a line lower down now due to me adding the \usepackage[utf8]{inputenc} line. I think the error message shows a grouping of chars rather then the specific problem char. (No idea why). I think it's the ü in "Hinrich Schütze". When viewing the generated PDF the name is written out as "Hinrich Schtze". –  Geir K.H. Dec 4 '13 at 12:35
    
Yes, it must be that that is throwing the error. Try removing all auxillary files and recompiling from scratch. –  Andrew Swann Dec 4 '13 at 12:54

1 Answer 1

up vote 0 down vote accepted

Thanks to Andrew Swann for suggesting the following fix:

Added (important note: This was not necessarily directly related to my original problem, but was a part of the changes made before my setup worked without errors):

\usepackage[utf8]{inputenc}

and changed:

\bibliography{citations.bib}

into:

\addbibresrouce{citations.bib}

This solved my problems.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.