Mirko Briemle wrote:
> Does the biblatex support already work?
No. It might be ready for 1.6.0, but not in the 1.5.x series, because this is
a file format change.
> If so, how can I integrate the package into lyx?
It is possible with some effort. I do it as follows:
1.) Implement the natbib cite commands in biblatex. For this, I've created a
natbib.cbx file (attached), which is saved in ~/texmf/biblatex/cbx/. Load
this with the package option "citestyle=natbib"
2.) Add the following line to your LyX *.layouts file:
# this is biblatex actually
ProvidesNatbib 1
(this allows you to use the "styles" in the citation dialog, without loading
natbib, which would clash with biblatex).
3.) In the document, load biblatex manually (in the preamble), and also add to
the preamble
\bibliography{<my bib-file w/o extension>}
4.) In the document, insert the bibtex inset in a LyX note, such that LyX
finds the citations, but no \bibliography command is output to LaTeX
5.) In the document, enter \printbibliography in ERT where the bibliography
shall occur.
Disclaimer: biblatex is still beta, although it works very well. It might
happen that some commands change one final time for the long-awaited version
0.7, so you're on the bleedings edge.
HTH,
Jürgen
% natbib.cbx, inofficial style file
% Author: Juergen Spitzmueller <j.spitzmueller <at> gmx de>
% Use it at your own risk.
\ProvidesFile{natbib.cbx}[2007/03/20 v0.6 biblatex citation style]
\RequireCitationStyle{authoryear-comp}
\newbibmacro*{textcitenostar}{%
[EMAIL PROTECTED]
{\iffieldundef{shorthand}
[EMAIL PROTECTED]
{\addcomma
\usebibmacro{cite:labelyear}}
{\addcomma\space
\usebibmacro{cite:year+labelyear}%
[EMAIL PROTECTED]
{\addcomma\space
\usebibmacro{cite:shorthand}%
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\ifnameundef{labelname}
{\iffieldundef{shorthand}
{\usebibmacro{cite:label}}
{\usebibmacro{cite:shorthand}}}
{\printnames[-2]{labelname}%
[EMAIL PROTECTED]
\iffieldundef{shorthand}
{\iffieldundef{year}
{\usebibmacro{cite:label}}
{\usebibmacro{cite:year+labelyear}}%
[EMAIL PROTECTED]
{\usebibmacro{cite:shorthand}%
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]@tempswfalse\fi
\multicitedelim}}
\newbibmacro*{citenostar}{%
\iffieldundef{shorthand}
{\ifthenelse{\ifnameundef{labelname}\OR
\iffieldundef{year}}
[EMAIL PROTECTED]
\usebibmacro{cite:label}%
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
{\addcomma
\usebibmacro{cite:labelyear}}
{\addcomma\space
\usebibmacro{cite:year+labelyear}%
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\printnames[-2]{labelname}\nameyeardelim
\usebibmacro{cite:year+labelyear}%
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\usebibmacro{cite:shorthand}%
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\DeclareCiteCommand{\citet}
{\usebibmacro{citeinit}%
\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{textcitenostar}}
{}
{\iffieldundef{postnote}
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\printfield{postnote}%
\bibrightparen}}
\DeclareCiteCommand*{\citet}
{\usebibmacro{citeinit}%
\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{textcite}}
{}
{\iffieldundef{postnote}
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\printfield{postnote}%
\bibrightparen}}
\DeclareCiteCommand{\citep}[\mkbibparens]
{\usebibmacro{citeinit}%
\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{citenostar}}
{}
{\usebibmacro{postnote}}
\DeclareCiteCommand*{\citep}[\mkbibparens]
{\usebibmacro{citeinit}%
\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{cite}}
{}
{\usebibmacro{postnote}}
\DeclareCiteCommand{\citealt}
{\usebibmacro{citeinit}%
\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{citenostar}}
{}
{\usebibmacro{postnote}}
\DeclareCiteCommand*{\citealt}
{\usebibmacro{citeinit}%
\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{cite}}
{}
{\usebibmacro{postnote}}
\DeclareCiteCommand{\citeyearpar}[\mkbibparens]
{\usebibmacro{citeinit}%
\usebibmacro{prenote}}
{\usebibmacro{citeyear}}
{}
{\usebibmacro{postnote}}
\DeclareCiteCommand{\citealp}
{\usebibmacro{citeinit}%
\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{citenostar}}
{}
{\usebibmacro{postnote}}
\DeclareCiteCommand*{\citealp}
{\usebibmacro{citeinit}%
\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{cite}}
{}
{\usebibmacro{postnote}}
\endinput