Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

BibLatex error when adding new string to english.lbx: ! Package xkeyval Error: `unpublished' undefined in families `blx@lbx'.

165 views
Skip to first unread message

stefano

unread,
Aug 31, 2010, 5:39:35 PM8/31/10
to
Hi all,

I need to add a new bibliography string to biblatex, in order to have
unpublished references type print the string "unpublished" at the end
of the bib reference (with correct capitalization, punctuation, etc.)

I thought I would just add a a line to \DeclareBibliographyStrings
command in the the english.lbx file:


unpublished = {{unpublished}{unpubl\adddot}},

and change the bbx file by adding a new macro:

\newbibmacro*{unpublished-label}{%
\bibstring{unpublished}
\setunit{\dot}}

and tweaking the unpublished driver by adding a couple of lines at the
end:

\DeclareBibliographyDriver{unpublished}{%
.....
.....
\usebibmacro{pageref}%
\newunit\newblock % added line
\usebibmacro{unpublished-label} % added line
\usebibmacro{finentry}}


However, on compilation I get the following error:

! Package xkeyval Error: `unpublished' undefined in families
`blx@lbx'.

Can anyone tell me if I skipped a step somewhere? Googling and
searching the group proved unhelpful.

Thanks,

Stefano

stefano

unread,
Aug 31, 2010, 8:26:38 PM8/31/10
to

For future reference: I did skip something, as it turns out. Namely,
the command:

\NewBibliographyString{unpublished}

which I should have added to the lbx file.

Problem solved.

Stefano

0 new messages