我刚刚更新了 TeX Live 发行版(从2015.37233
到),现在每当加载包2015.38831
时都会遇到错误,前提是默认语言是俄语。以下是最小的非工作示例(LuaLaTeX 构建):biblatex
\documentclass[final,a4paper]{article}
\usepackage{fontspec}
\usepackage{polyglossia}
\usepackage{libertine}
\setdefaultlanguage[babelshorthands=true]{russian}
\usepackage{biblatex} % compiles if commented out
\begin{document}
Проверка.
\end{document}
这给了我以下错误:
russian.lbx: line 506: Package xkeyval Error: `fromjapanese' undefined in families `blx@lbx'. }
以下是相关位置russian.lbx
:
...
505 annotation = {{аннотация}{аннот\adddot}},
506 }
507
508 \protected\gdef\lbx@ru@mkbibdatemonth#1{%
...
这应该被认为是一个错误吗?
答案1
列表中缺少fromjapanese
和键。请添加它们,我认为该问题很快就会得到解决。langjapanese
biblatex2.sty
\documentclass[final,a4paper]{article}
\usepackage{fontspec}
\usepackage{polyglossia}
\usepackage{libertine}
\setdefaultlanguage[babelshorthands=true]{russian}
\setmainlanguage{english}
\usepackage{biblatex} % compiles if commented out
\makeatletter
\define@key{blx@lbx}{fromjapanese}{\blx@defstring{fromjapanese}{#1}}
\define@key{blx@lbx}{langjapanese}{\blx@defstring{langjapanese}{#1}}
\makeatother
\begin{document}
Проверка.
\end{document}