On Thu, Feb 20, 2014 at 6:40 PM, Jason F. Siegel <[email protected]> wrote:
> Hello all,
>
> I'm hoping this is as simple a problem as my other recent query. I would
> like to use biblatex to generate a bibliography, but I'm running into
> trouble. On my Ubuntu 13.04 machine running LyX 2.0.7, I have tried to
> follow the instructions on the wiki ( http://wiki.lyx.org/BibTeX/Biblatex)
> to little success. I have copied the text of the biblatex.module file (
> http://wiki.lyx.org/uploads/BibTeX/biblatex.module) and saved it to
> /home/myusername/.lyx/layouts (which was otherwise empty-- I'm not sure if
> that's normal). I then reconfigured LyX and restarted. When I tried to load
> the module Biblatex-citation-styles, I got an error message: Error reading
> module biblatex. I appreciate any insights!
>
Adding to what Richard just said (and which is most likely the right diagnosis):
T
he biblatex module linked to in the wiki is slightly different from
what I have on my installation (2.07 on Linux as well). Here is what
it looks like:
#\DeclareLyXModule{Biblatex-citation-styles}
#DescriptionBegin
#A prerequisite for using the biblatex package. This module simply
#enables the author/year citation styles without actually loading natbib.
#Biblatex itself needs to be loaded manually. Cf.
#http://wiki.lyx.org/BibTeX/Biblatex
#DescriptionEnd
Format 11
# this is biblatex actually
Provides natbib 1
# this line simply tricks lyx into tracking the .bcf file provided by biblatex
# and forces it to fire biber.
AddToPreamble
\typeout{File: \jobname.bcf}
EndPreamble
Notice the last segment that forces biber to run (which you will most
likely need with biblatex).
Stefano
--
__________________________________________________
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies Ph: +1 (979) 845-2125
Texas A&M University Fax: +1 (979) 845-6421
College Station, Texas, USA
[email protected]
http://stefano.cleinias.org