BibTeX, biblatex and biberRemoving period after year

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
fr33sh1
Posts: 5
Joined: Tue Jul 21, 2009 5:35 pm

Removing period after year

Post by fr33sh1 »

I have a problem with custom bibliography style.
I need to remove "." that occurs after year (it would be great If it could be replaced with a comma):
Melnikov, I. The arctic sea ice ecosystem. Gordon and Breach Science Publishers, 1997. 204 ss.
This is the Function that defines the periods used after blocks (red colour is what I added):

Code: Select all

FUNCTION {output.nonnull}
{ 's :=
  output.state mid.sentence =
    { add.period$ " " * write$ }
    { output.state after.block =
        { add.period$ write$
          newline$
          "\newblock " write$
        }
        { output.state before.all =
            'write$
            { add.period$ " " * write$ }
          if$
        }
      if$
      mid.sentence 'output.state :=
    }
  if$
  s
}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply