Hi,
While trying out the biblatex 0.9a authoryear bibliography style
authoryear.bbx, I had the strange result that the year was omitted from
the entries, i.e., instead of
Author [1999a] ...
I got
Author [a] ...
When digging in the definitions, I solved it (for myself) by modifying
\newbibmacro*{date+extrayear}{%
\iffieldundef{year}
{}
{\printtext[parens]{\printdateextra}}}
to
\renewbibmacro*{date+extrayear}{%
\iffieldundef{year}
{}
{\printtext[brackets]{\printfield{year}\printdateextra}}}
Please note that this was in a big project. I didn't try it on a minimal
example, so I do not exclude the possibility that something else went
wrong.
Erik
|
|
0
|
|
|
|
Reply
|
Erik
|
5/21/2010 8:34:33 PM |
|
On Fri, 21 May 2010, Erik Quaeghebeur wrote:
>
> While trying out the biblatex 0.9a authoryear bibliography style
> authoryear.bbx, I had the strange result that the year was omitted from the
> entries, i.e., instead of
>
> Author [1999a] ...
>
> I got
>
> Author [a] ...
>
> [... some workaround ...]
>
> Please note that this was in a big project. I didn't try it on a minimal
> example, so I do not exclude the possibility that something else went wrong.
It turned out indeed that it was due to me having introduced my own
american.lbx file in the project. This caused the problem, as it did not
inherit the date-formatting code from english.lbx.
Sorry for the noise,
Erik
|
|
0
|
|
|
|
Reply
|
Erik
|
5/21/2010 9:31:27 PM
|
|