Hello,

I am fairly new to LaTeX and LyX, having begun to read about it a few months ago
and trying to use it since about a week for a test chapter for my diploma
thesis. Like any beginner I am encountering loads of problems, so I hope you
will be lenient towards me if I did make some very silly mistake or if I have
difficulties understanding something.

My problem is very similar to one which has repeatedly discussed in this mailing
list: when using biblatex, LyX compiles the document and creates a PDF, but this
PDF shows neither the bibliography nor proper cites. Instead of cites it only
shows the BibTeX-keys of the cited literature printed in bold. The solution
proposed in earlier threads was to use absolute paths instead of relative ones;
the reason for this being that LyX's PDF-export strategy creates a .tex-file in
a temporary file and runs pdflatex on it, thus not finding the .bib-files
specified in the relative path. Unfortunately this solution doesn't work for me,
even when I use absolute paths only the BibTeX-keys are shown. My setup is:

1. I'm using Windows XP Service Pack 3, MikTeX 2.8 and Lyx 2.0.

2. As a backend to biblatex I use biber.

I have tried to use a simple .bib file with one entry located at C:\Test\. I
have followed the instructions for using biblatex in the LyX wiki
(http://wiki.lyx.org/BibTeX/Biblatex#toc2). I have
tried out several things to make it work, but they all failed. Among them are:

1. Switching between \bibliography and \addbibresource, writing in or leaving
out the ".bib" suffix respectively.
2. Using "/" slashes and using "\" slashes. When using "/" slashes, the PDF
output only shows the keys as explained above, when using "\" slashes LaTeX
seems to interpret them as commands and shows an error message. Putting the path
in quotes or in \string" doesn't change that.
3. Following the reccomendation in the wiki I tried to setup a texmf order in
C:\texmf to put my .bib-file, but MikTeX won't accept it as a rootfile, showing
an error message: 
   "MiKTeX Problem Report
   Message: Not a TDS-compliant root directory.
   Data: C:\texmf
   Source: Programs\MiKTeX\MO\MFC\PropPageRoots.cpp
   Line: 365
   MiKTeX: 2.8
   OS: Microsoft Windows XP Home Edition Service Pack 3 (build 2600)
   SystemAdmin: yes
   PowerUser: no
   Root0: C:\Dokumente und Einstellungen\Thomas\Anwendungsdaten\MiKTeX\2.8
   Root1: C:\Dokumente und Einstellungen\Thomas\Lokale   
   Einstellungen\Anwendungsdaten\MiKTeX\2.8
   Root2: C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\MiKTeX\2.8
   Root3: C:\Programme\MiKTeX 2.8
   UserInstall: C:\Dokumente und Einstellungen\Thomas\Anwendungsdaten\MiKTeX\2.8
   UserConfig: C:\Dokumente und Einstellungen\Thomas\Anwendungsdaten\MiKTeX\2.8
   UserData: C:\Dokumente und Einstellungen\Thomas\Lokale   
   Einstellungen\Anwendungsdaten\MiKTeX\2.8
   CommonInstall: C:\Programme\MiKTeX 2.8
   CommonConfig: C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\MiKTeX
   \2.8
   CommonData: C:\Dokumente und Einstellungen\All Users\Anwendungsdaten   
   \MiKTeX\2.8

Thank you very much!

Kind regards

Thomas

PS. Below is the example I'm using:

%% LyX 2.0.0 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}

\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
% biblatex verwenden
\usepackage[style=verbose,backend=biber]{biblatex}
% Bibliographie einbinden
\addbibresource{C:/Test/rechtswissenschaften.bib}

\makeatother

\usepackage{babel}
\usepackage{xunicode}
\begin{document}

\printbibliography

abc\cite{Deixler-Huebner2009}
\end{document}

PPS. The .bib-file rechtswissenschaften.bib looks like that:

% This file was created with JabRef 2.7.
% Encoding: UTF8

@BOOK{Deixler-Huebner2009,
  author = {Deixler-Hübner, Astrid},
  title = {Scheidung, Ehe und Lebensgemeinschaft},
  year = {2009},
  edition = {10},
  owner = {Thomas},
  timestamp = {2011.10.01}
}

@comment{jabref-meta: selector_review:}

@comment{jabref-meta: selector_publisher:}

@comment{jabref-meta: selector_author:}

@comment{jabref-meta: selector_journal:}

@comment{jabref-meta: selector_keywords:}


Reply via email to