On Thu, May 29, 2008 at 8:45 PM, vu <[EMAIL PROTECTED]> wrote:
>
>
>
> rgheck wrote:
>>
>>
>> Export the document to LaTeX and try compiling it manually. Report the
>> error messages. It sounds to me as if either LyX or LaTeX isn't finding
>> the .bib file, and there are various reasons this can happen.
>>
>>
>
> I did this, and the output in the terminal was as follows:
>
> [EMAIL PROTECTED]:~$ bibtex CONS6017-Essay
> This is BibTeX, Version 0.99c (Web2C 7.5.6)
> The top-level auxiliary file: CONS6017-Essay.aux
> I couldn't open style file authordate1.bst
> ---line 3 of file CONS6017-Essay.aux
>  : \bibstyle{authordate1
>  :                      }
> I'm skipping whatever remains of this command
> I found no style file---while reading file CONS6017-Essay.aux
> (There were 2 error messages)
>
>
> I was using the .bst file authordate1, but I have tried using other .bst
> files (naturemag, authordate2) with the same result.
>
> Because the message said it was missing a style file, I tried using a
> different style file, one that was not part of the default Lyx installation
> (the same .bst files, authordate1, harvard, agsm). DOING THIS SOLVED THE
> PROBLEM.
>
> I explored the /usr/share/texmf-texlive/bibtex/bst folder, which is where I
> assume the .bst files are located upon installation. I noticed many were
> missing (the ones I had a problem with initially).
>
> However, I'm perplexed as to why the .bst files included in the Lyx
> installation have disappeared. How to I return it back to its "original"
> state? Can I put the bst files I've downloaded from CTAN and elsewhere into
> the usr/.../bst folder, and if so, under which subdirectory (ams, babelbib,
> base, index, natbib)? Why have the Lyx bst files disappeared?
> --
> View this message in context: 
> http://www.nabble.com/Lyx-1.5.3-not-showing-references-from-Jabref-2.3.1-tp17510841p17550564.html
> Sent from the LyX - Users mailing list archive at Nabble.com.
>
>


LyX doesn't install .bst or .cls or anything TeX related. It is solely
a frontend for TeX. In your case it is texlive that is installing
these files.

When you upgraded Ubuntu it more than likely overwrote your /usr/share
folder deleting all the files and putting the more 'up-to-date' files,
back into:

/usr/share/texmf-texlive/bibtex/bst

I'm pretty sure this is a system folder, hence it will be "upgraded"
when the system packages are "upgraded". You should not be putting
your personal .bst files in a 'system' folder. They should be put in a
'local' folder such as /usr/local/ or wherever Ubuntu stores the local
texmf folder. There should also be a ~/.texmf-var folder, which is
where I put my custom  .bst and .cls files. I know my home folder will
not be touched during upgrades or reinstalls, etc. Especially since I
have /home on a separate partition :-}.

Cheers,
/Bob

Reply via email to