On Monday 05 Jan 2004 22:32, Paul A. Rubin wrote:
> Surf to http://authors.elsevier.com/getting_published.html?dc=QG3, where
> Elsevier posts their instructions on how to submit using LaTeX.  Check
> the section "BibTeX style files" and fetch whichever one suits your
> fancy.  This must be installed in your LaTeX distribution's file tree,
> someplace where LaTeX will find it.  I park mine in .../texmf-
> local/bibtex/bst/elsevier.  After obtaining the file(s), you need to
> rebuild your LaTeX file databases so that it knows the files are there.  
> How you do this is somewhat distribution-specific, but it could mean
> running texhash or mktexlsr.  (In MiKTeX, you run the MiKTeX Options
> utility and use the Refresh button.)  Then go into LyX and do Edit->
> Reconfigure, and you should be in business.

Thanks, I did that and at least things started to work but now I have the 
following issue.

I have put the file you pointed me to (Harvard style) named elsevier.bst in            
 
        /usr/share/texmf/bibtex/natbib/
along with the other files already there.

I have selected elsevier as my style file, and the test.bib bibtex file which 
came with the latex distribution as the bibtex file. I have added
         \usepackage[round,authoryear]{natbib}
to the preamble using Layout->Preamble.

For some reason unknown to me, references show up in the output as:
        Author (year)           e.g. BSI (1973)
rather than:
        (Author, year)          e.g. (BSI, 1973)

I have been playing around with the preamble line:
        \bibpunct[,]{(}{)}{;}{a}{,}{,}
but although I can change the parentheses I do not seem to be able to move 
them or get the supposed comma between author and year to show up at all.

Has anyone met this before? Or is it just me? I expect though that I'm just 
getting something totally wrong as usual.

Thanks again,

Adrian.
********


Reply via email to