3

I'm completely new to LaTeX. I'm using MiKTeX 2.9 (r.c29723a). When I launch TeXworks and try to compile https://github.com/AndreyAkinshin/Russian-Phd-LaTeX-Dissertation-Template/blob/master/Dissertation/dissertation.tex, I receive the following error:

...
(C:\Tools\MiKTeX\tex\latex\biblatex\lbx\russian.lbx
! Package keyval Error: langjapanese undefined.

By clicking on the error message I jump to the closing brace of "\DeclareBibliographyStrings{%" in "russian.lbx", but this "key-value table" does have a "langjapanese" entry in it:

langjapanese   = {{японский}{яп\adddot}},

Am I missing something obvious here?

3
  • As you don't know latex it is really not a good idea to use such a large template. Do you really think many people want to wade through all this files to find out what the template is doing every time you have a problem with it? Nov 8, 2015 at 16:19
  • Can you bring the template down to a minimal code that produces the error?
    – egreg
    Nov 8, 2015 at 16:25
  • That is exactly the error: langjapanese= is there but it has not been defined. Nov 8, 2015 at 16:31

1 Answer 1

6

This problem has been resolved in biblatex 3.2.


This is a tiny bug (more of a buglet, really) in the current release of biblatex. As far as I can tell it only occurs with russian.lbx because two new strings were added, but it was neglected to declare said strings beforehand. The bug has been fixed in 9ff117c and cc2c322, the update, however, has not yet made it to CTAN I believe. A pre-release version with the fix is already available on sourceforge.

Until the fixed version is uploaded

\NewBibliographyString{langjapanese}
\NewBibliographyString{fromjapanese}

should suffice as work-around.

The following MWE

\documentclass[russian]{article}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage{biblatex}
\addbibresource{biblatex-examples.bib}

\NewBibliographyString{langjapanese}
\NewBibliographyString{fromjapanese}
\begin{document}
\cite[9]{sigfridsson}
\printbibliography
\end{document}

runs just fine

1
  • 2
    It is fixed in biblatex 3.2 which is in the development folder on Sourceforge. This requires biber 2.3 which is also on Sourceforge now.
    – PLK
    Nov 9, 2015 at 14:51

You must log in to answer this question.

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