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).
> 
> 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. 
> 

rgheck wrote:
> 
> 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 does not work so well. It does change the pages to a range but it
messes up other fields.
I am attaching the original aip.bst, the Lyx file I am using to test
http://n2.nabble.com/file/n2803827/DEpaper2.lyx DEpaper2.lyx ,
 and a ps file of the output.
http://n2.nabble.com/file/n2803827/DEpaper2.ps DEpaper2.ps 

http://n2.nabble.com/file/n2791032/aip.bst aip.bst 
-- 
View this message in context: 
http://n2.nabble.com/Modifying-a-bst-file-for-full-page-range-tp2801705p2803827.html
Sent from the LyX - Users mailing list archive at Nabble.com.

Reply via email to