因此,最近将我的一台电脑换成 Windows 后,我发现自己出于上课原因需要 MLA :(
然后有趣的事情就开始了。我举的这个极其简单的示例:
\documentclass[10pt,letterpaper]{report}
\author{Author}
\title{Title}
\usepackage[style=mla]{biblatex}
\begin{document}
\maketitle
\end{document}
结果是
Package biblatex Warning: No "backend" specified, using Biber backend.
(biblatex) To use BibTeX, load biblatex with
(biblatex) the "backend=bibtex" option.
(/usr/share/texmf-dist/tex/latex/biblatex/biblatex_.sty
(/usr/share/texmf-dist/tex/latex/etoolbox/etoolbox.sty)
(/usr/share/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(/usr/share/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)
(/usr/share/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(/usr/share/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/share/texmf-dist/tex/generic/oberdiek/etexcmds.sty
(/usr/share/texmf-dist/tex/generic/oberdiek/ifluatex.sty))))
(/usr/share/texmf-dist/tex/latex/logreq/logreq.sty
(/usr/share/texmf-dist/tex/latex/logreq/logreq.def))
(/usr/share/texmf-dist/tex/latex/base/ifthen.sty)
(/usr/share/texmf-dist/tex/latex/url/url.sty)
(/usr/share/texmf-dist/tex/latex/biblatex/blx-dm.def)
(/usr/share/texmf-dist/tex/latex/biblatex/blx-compat.def)
(/usr/share/texmf-dist/tex/latex/biblatex/biblatex_.def)
(/usr/share/texmf-dist/tex/latex/biblatex-mla/mla.bbx
(/usr/share/texmf-dist/tex/latex/biblatex/bbx/standard.bbx)
! Illegal parameter number in definition of \blx@defformat@d.
<to be read again>
4
l.56 {\usebibmacro{name:first-last}{#1}{#4
}{#5}{#7}}
! Illegal parameter number in definition of \blx@defformat@d.
<to be read again>
5
l.56 {\usebibmacro{name:first-last}{#1}{#4}{#5
}{#7}}
! Illegal parameter number in definition of \blx@defformat@d.
<to be read again>
7
l.56 ...sebibmacro{name:first-last}{#1}{#4}{#5}{#7
}}
! Illegal parameter number in definition of \blx@defformat@d.
<to be read again>
3
l.57 {\usebibmacro{name:first-last}{#1}{#3
}{#5}{#7}}%
! Illegal parameter number in definition of \blx@defformat@d.
<to be read again>
5
l.57 {\usebibmacro{name:first-last}{#1}{#3}{#5
}{#7}}%
! Illegal parameter number in definition of \blx@defformat@d.
<to be read again>
7
l.57 ...sebibmacro{name:first-last}{#1}{#3}{#5}{#7
}}%
) (/usr/share/texmf-dist/tex/latex/biblatex-mla/mla.cbx
! Illegal parameter number in definition of \blx@defformat@d.
<to be read again>
3
l.682 \usebibmacro{name:first-last}{#1}{#3
}{#5}{#7}%
! Illegal parameter number in definition of \blx@defformat@d.
<to be read again>
5
l.682 \usebibmacro{name:first-last}{#1}{#3}{#5
}{#7}%
! Illegal parameter number in definition of \blx@defformat@d.
<to be read again>
7
l.682 ...ebibmacro{name:first-last}{#1}{#3}{#5}{#7
}%
! Illegal parameter number in definition of \blx@defformat@d.
<to be read again>
3
l.685 \usebibmacro{name:first-last}{#1}{#3
}{#5}{#7}%
! Illegal parameter number in definition of \blx@defformat@d.
<to be read again>
5
l.685 \usebibmacro{name:first-last}{#1}{#3}{#5
}{#7}%
! Illegal parameter number in definition of \blx@defformat@d.
<to be read again>
7
l.685 ...ebibmacro{name:first-last}{#1}{#3}{#5}{#7
}%
) (/usr/share/texmf-dist/tex/latex/biblatex/biblatex.cfg)))
(/usr/share/texmf-dist/tex/latex/biblatex-mla/english-mla.lbx
(/usr/share/texmf-dist/tex/latex/biblatex/lbx/english.lbx))
现在,举一个简单的例子,它似乎是 tex 的问题,但它在 MikTeX、Texlive Windows 本机和 Cygwin Texlive 中是一致的
先感谢您!
答案1
您被最近的更新所困扰biblatex
。他们更改了名称表示的命令,并且绝大多数非标准 biblatex 样式尚未切换到新命令。一个简单的解决方案是将其backend=bibtex
作为选项添加到biblatex
:
\usepackage[backend=bibtex,style=mla]{biblatex}