4

I already modified apalike.bst to some of my needs, but I can't find this one -- which part do I have to change to have it include a colon after "author (year)" instead of a period .?

(I am using bibtex but not biblatex.)

1
  • I am using "author, year and colon followed by page number" like this( e.g. Brown,2001:38) what do you suggest for this?
    – user22265
    Nov 18, 2012 at 7:08

1 Answer 1

4

apalike.bst adds a period before outputting \newblock. So a way can be changing the function output.year.check into

FUNCTION {output.year.check}
{ year empty$
    { "empty year in " cite$ * warning$ }
    { write$
      " (" year * extra.label * ")\addcolonandeatperiod" *
      mid.sentence 'output.state :=
    }
  if$
}

along with

\makeatletter
\newcommand{\addcolonandeatperiod}{\@ifnextchar.{:\@gobble}\relax}
\makeatother

in your document preamble. There may be more efficient ways.

0

You must log in to answer this question.

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