2

I'm trying to customize my bts to match the requirements of my institute. My problem is followingoutput when citing articles that have a number but no volume:

Amable, Bruno (2010): Morals and politics in the ideology of neo-liberalism. In: Socio Economic Review, , 9, S. 3-30.

I'm using the natbib package plus my own bst. created by custombib.

The code in the .bts looks thus:

FUNCTION {format.vol.num.pages}
{ volume field.or.null
  duplicate$ empty$ 'skip$
    {
      "volume" bibinfo.check
    }
  if$
  number "number" bibinfo.check duplicate$ empty$ 'skip$
    {
      swap$ duplicate$ empty$
        { "there's a number but no volume in " cite$ * warning$ }
        'skip$
      if$
      swap$
      ", " swap$ *
    }
  if$ *
}

I'd like bibtex simply to omit the field for the missing volume and directly continue with the number like this:

Amable, Bruno (2010): Morals and politics in the ideology of neo-liberalism. In: Socio Economic Review, 9, S. 3-30.

At the same time, I need the style to continue to print the other entries that have a volume like this:

Amable, Bruno (2010): Morals and politics in the ideology of neo-liberalism. In: Socio Economic Review, 52, 9, S. 3{30.

4
  • what bibstyle do you use?
    – user2478
    Commented Jun 21, 2012 at 21:01
  • I called it ioa.bts . It is a author-year style created by makebst.tex. Shall I quote the whole code?
    – Sarah
    Commented Jun 21, 2012 at 21:02
  • can place the file anywhere for download ?
    – user2478
    Commented Jun 21, 2012 at 21:04
  • speedshare.org/download.php?id=AEC336461
    – Sarah
    Commented Jun 21, 2012 at 21:18

1 Answer 1

3

use this one:

FUNCTION {format.vol.num.pages}
{ volume field.or.null
  volume empty$
    'skip$
    { ", " *  }
  if$
  number empty$
    'skip$
    {  number * }
  if$
}
2
  • Thanks for the fast answer. Now the references without volume are fine, but in the others it doubles the volume combining it with the number making it: ...53, 536, S.... instead of ...53, 6, S....
    – Sarah
    Commented Jun 21, 2012 at 21:27
  • yes, my fault. See edited answer
    – user2478
    Commented Jun 21, 2012 at 21:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .