我无法找到 babel bugtracker,因此我将在这里发布以寻求帮助。
Babel 3.9k 似乎在 MiKTeX 下无法使用。以下是日志文件的一部分:
("C:/Program Files/MiKTeX/tex/latex/babel-french/frenchb.ldf")
("C:/Program Files/MiKTeX/tex/latex/babel-german/german.ldf"
("C:/Program Files/MiKTeX/tex/latex/babel-german/germanb.ldf"
! Conflicting pattern ignored.
\bbl@ev@luatex@patterns ...}', '\the \language ')}
\fi \fi
l.183 \ldf@finish\CurrentOption
?
这是 MWE:
\documentclass[10pt,a4paper]{article}
\RequirePackage{filecontents}
\RequirePackage[utf8]{inputenc}
\RequirePackage[T1,T2A]{fontenc}
\RequirePackage{hyperref}
\RequirePackage[czech,danish,english,french,german,italian,polish,portuguese,spanish,russian]{babel}
\RequirePackage[bibencoding=utf-8,backend=biber]{biblatex}
\begin{filecontents}{\jobname.bib}
@book(
book,
author = {Joe First | Bob Third},
title = {Book title},
langid = {english},
year = 2013,
url = {http://www.example.com}
)
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\nocite{*}
\printbibliography
\end{document}
我使用 pdflatex 或 lualatex 都没关系。这是 biblatex bugtracker 上的一个问题:https://github.com/plk/biblatex/issues/246
答案1
通过 kpsewhich 发现一个过期的缓存 hyphen.cfg,手动删除。问题已经解决