Thanks, that really clears things up! I was wondering why I was able to do
relative paths until I started using biblatex. Fuller integration of
biblatex and lyx will be very welcome when it happens.

Best,
Aleksey


On Sun, Jun 2, 2013 at 11:17 AM, stefano franchi
<stefano.fran...@gmail.com>wrote:

>
>
>
> On Tue, May 28, 2013 at 7:53 PM, Aleksey Orekhov <cruse...@gmail.com>wrote:
>
>>
>> Changing my preamble to  give the full path to the bib file
>>  solved the problem:
>>
>> before
>> %biblatex
>> \usepackage[style=ieee,natbib=true,backend=biber]{biblatex}
>> \addbibresource{Research.bib}
>>
>> after:
>> %biblatex
>> \usepackage[style=ieee,natbib=true,backend=biber]{biblatex}
>> \addbibresource{/Users/Aleksey/Desktop/Report/Research.bib}
>>
>> Lyx has trouble when relative paths are given here. Is this a bug?
>>
>>
>>
> This is a known issue with biblatex/lyx. Since you are giving the path to
> the bib files in the preamble and lyx copies everything over to a temp dir
> before compilation, there is no way it can unpack relative locations for
> bib files.
>
> Notice that the same problem would happen with regular bibtex if you were
> to enter a relative path to the  bib file (i.e. in the LaTeX \bibliography
> command) as ERT. If you rely on Lyx, instead (i.e. using the
> Insert>>List/TOC/bibtex Bibliography lyx command),  Lyx always converts the
> path to the bib file to an absolute one in the latex output (you can take a
> look at View>Source to verify this).
>
> The solution will come with a fuller integration of biblatex into lyx,
> which is hopefully not very far off.
>
> Cheers,
>
> 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
>
> stef...@tamu.edu
> http://stefano.cleinias.org
>

Reply via email to