BcBob wrote:
I am trying to format a bibliography for a paper to a physics journal using
the aip.bst style (see the attached file).
Thanks to Paul Rubin's help, I am now able to get Lyx to utilize this to
format the bibliography.
Now the problem is that it looks this style only gives the first page of an
article, not the full page range as required by the journal. BTW, I checked
by bibtex database and all my entries include a full page range and other
styles like unsrt create entries with the page range.
The aip.bst does almost everything I want. So my question is how to modify
it so it uses the full range. Please make answers as explicit as possible
(e.g. suggesting line numbers in the file) as I am a total beginner at
latex, bibtex, etc.
Replace this function:
FUNCTION {format.vol.num.pages}
{ volume field.or.null embolden
" " swap$ * *
pages empty$
'skip$
{ duplicate$ empty$
{ pop$ format.pages.a }
{ ", " * pages first.page * }
if$
}
if$
}
with:
FUNCTION {format.vol.num.pages}
{ volume field.or.null embolden
" " swap$ * *
pages empty$
'skip$
{ duplicate$ empty$
{ pop$ format.pages }
{ ", " * format.pages }
if$
}
if$
}
That'll get us close. If it still isn't quite right, we'll try again.
rh