BibTeX, biblatex and biberImplementing a Bibliography

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
Naka
Posts: 1
Joined: Sat Sep 08, 2012 2:52 pm

Implementing a Bibliography

Post by Naka »

Hello everyone!

Sorry in advance if this particular issue has been resolved previously, I used the search function but couldn't find anything that solved my particular problem.

So, my problem essentially is that I am having a frustrating amount of trouble implementing my BibTeX bibliography. First off: I use MiKTeX 2.9 on a Windows 7 machine and Texmaker 2.1; I initially created my bibliography with JabRef 2.8.1.

What I tried to do was to keep things easy and follow the usual steps advised for implementing bibliographies. My .bib file is located in the same directory as the .tex file, so I wanted to use the \bibliography{name.bib} command to implement it and have the \cite[pagenumber]{tag} commands reference.

However, as soon as I do this, the document doesn't compile any more. My preamble with a perfectly functional document thus far looks like this:

Code: Select all

\documentclass[12pt,a4paper,titlepage]{scrartcl}
\usepackage[latin1,utf8x]{inputenc}
\usepackage[ngerman,russian]{babel}
\usepackage{graphicx}
\usepackage{subfigure}
\usepackage{booktabs}
\usepackage[left=2.5cm, right=2.5cm]{geometry}
\usepackage{layout,layouts}
\usepackage{fancyhdr}
\usepackage{setspace}
\usepackage[german]{varioref}

\usepackage[babel,german=guillemets]{csquotes}

\pagestyle{fancy}

\begin{document}
Now, my only guess is that something is afoul with the encoding here. Maybe the .bib and the .tex files are not properly encoded to fit together. I tried tinkering with that, but with poor results. Particularly when removing the utf8x option from inputenc I run into trouble, since my document is in German, so if at all possible, I'd like to keep that.

An added bonus would be getting natbib to work accordingly.

So, if any of you can point out what I'm doing wrong (which is probably something really basic that I just can't figure out) and point me in the right direction, I would be immensely grateful. Thank you!
Last edited by localghost on Sat Sep 08, 2012 3:56 pm, edited 3 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

Implementing a Bibliography

Post by localghost »

Naka wrote:[…] Particularly when removing the utf8x option from inputenc I run into trouble, since my document is in German, so if at all possible, I'd like to keep that. […]
But the chosen language by babel is Russian because always the last option is the active language. So if the russian language option is not needed, drop it. And perhaps you should replace inputenc with a semi-automatic input selection by selinput.

Code: Select all

\usepackage{selinput}
\SelectInputMappings{
  adieresis={ä},
  germandbls={ß},
  Euro={€}
}
If that doesn't help, prepare a proper minimal example instead of a loosely code snippet to avoid guesswork.

And by the way, the subfigure package is obsolete and should be replaced. It's direct successor is subfig.


Best regards and welcome to the board
Thorsten
Post Reply