我无法biblatex
使用res.cls
我已成功使用 biblatex 和该类article
创建了我想要的漂亮书目。但是,当我尝试在类中使用它时res
,我得到了
! Package keyval Error: revisers undefined.
信息。
事实上,只需添加
\usepackage[firstinits=true, isbn=false, url=false, doi=false, style=ieee, defernumbers=true, sorting=ydnt]{biblatex}
在序言中。
有任何想法吗?
这是一个简单的例子:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[overlapped,line,letterpaper]{res}
\usepackage{ifpdf}
\ifpdf
\usepackage[pdftex]{hyperref}
\else
\usepackage[hypertex]{hyperref}
\fi
\hypersetup{
letterpaper,
colorlinks,
urlcolor=black,
pdfpagemode=none,
pdftitle={Curriculum Vitae},
pdfauthor={Daniel L. Zelazo},
pdfcreator={$ $Id: cv-us.tex,v 1.28 2006/12/12 22:53:52 jrblevin Exp $ $},
pdfsubject={Curriculum Vitae},
pdfkeywords={networked dynamic systems control optimization}
}
%%===========================================================================%%
\usepackage[T1]{fontenc}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[firstinits=true, isbn=false, url=false, doi=false, style=ieee, defernumbers=true, sorting=ydnt]{biblatex}
\usepackage{hyperref}
\usepackage{nameref}
\addbibresource{dz_pubs_2011.bib}
\usepackage{eurosym}
\renewcommand{\labelitemiv}{$-$}
%%===========================================================================%%
\begin{document}
%---------------------------------------------------------------------------
% Document Specific Customizations
% Make lists without bullets and with no indentation
\setlength{\leftmargini}{0em}
\renewcommand{\labelitemi}{}
% Use large bold font for printed name at top of pages
\renewcommand{\namefont}{\large\textbf}
%---------------------------------------------------------------------------
\name{Daniel L. Zelazo}
\begin{resume}
\hspace{-37pt}\begin{ncolumn}{2}
{\bf Research Associate \& Lecturer} & \\
{\small Institute for Systems Theory \& Automatic Control} &\hfill {\small Phone: +49 711 685 67747} \\
{\small University of Stuttgart } &\hfill {\small Fax: +49 711 685 67735} \\
{\small Pfaffenwaldring 9 } &\hfill {\small {\tt [email protected]}} \\
{\small 70550 Stuttgart, Germany } &\hfill {\small {\tt \verb+http://www.ist.uni-stuttgart.de/~zelazo/+} }\end{ncolumn}
%---------------------------------------------------------------------------
\section{\bf {\large Education}}
\begin{ncolumn}{1}
{\bf University of Washington} \hfill Seattle, WA \\
{\bf PhD} \hfill September 2004 - September 2009 \\
\\
Department of Aeronautics \& Astronautics Engineering \\
Thesis: \emph{Graph-theoretic Methods for the Analysis and} \\\emph{Synthesis of Networked Dynamic Systems} \\
Advisor: Prof. Mehran Mesbahi \\
\end{ncolumn}
%---------------------------------------------------------------------------
\section{\bf {\large Publications \& Patents}}
See attached list.
\nocite{*}
\printbibheading
\printbibliography[heading=subbibliography,title={Letters},keyword=letter, prefixnumbers={L}]
\end{resume}
\end{document}
%%===========================================================================%%
对于 dz_pubs_2011.bib 文件,以下内容应该足够:
@misc{Holland2011,
author = {Holland, Alex and Zelazo, Daniel},
title = {{Sensitivity Analysis in Control Versus Biology}},
howpublished = {Letter to the Editor of PLoS Biology regarding the 2009 PLoS Biol 7(1) e10000015 and e1000021 articles},
year = {2011},
keywords={letter}
}
答案1
您应该避免使用这些旧的和过时的课程。
这个问题基于\nofiles
使用的宏res.cls
。这个宏告诉 LaTeX 不需要.aux
文件。要处理参考书目,您需要一个aux
文件。
我建议更改文档类别。否则,您必须编辑文档类别并注释该命令\nofiles
。
我使用以下示例进行测试:
\listfiles
%\let\nofiles\relax
\documentclass{res}
\usepackage[firstinits=true, isbn=false, url=false, doi=false, style=ieee, defernumbers=true, sorting=ydnt]{biblatex}
\addbibresource{biblatex-examples.bib}
\begin{document}
\cite{ctan} and \cite{companion}
\printbibliography
\end{document}