下午好
我有一个关于书目的问题,用natbib工作得很好,但不幸的是,现在我需要用''phys''风格的biblatex,我得到了一些错误,它不能工作了。这就是代码,抱歉,前言很长......
\documentclass[12pt,twoside,openright]{book} % default square logo
\usepackage[english]{babel}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{breqn}
\usepackage[section]{placeins}
\usepackage{graphicx}
\usepackage{caption}
\usepackage[utopia]{quotchap}
\usepackage{fancyhdr}
\setlength{\headheight}{15.2pt}
\usepackage{lipsum}
\usepackage[svgnames]{xcolor}
\usepackage{hyperref}
\usepackage{chemformula}
\usepackage{physics}
\usepackage{siunitx}
\usepackage[
backend=biber,
style=phys,
]{biblatex}
\addbibresource{References}
\hypersetup{colorlinks=true, pdfstartview=foo, linkcolor=black, citecolor=black, plainpages=false, pdfpagelabels=true, urlcolor=blue}
\usepackage[all]{hypcap}
\captionsetup[figure]{font=small,labelfont=bf}
\title{Manipulation of SPEs} %note \\[1ex] is a line break in the title
\author{Nicola} %your name
\usepackage{titlesec}
\newcommand{\chapfnt}{\fontsize{25}{19}}
\newcommand{\secfnt}{\fontsize{12}{17}}
\newcommand{\ssecfnt}{\fontsize{12}{14}}
\titleformat{\chapter}[display]
{\normalfont\chapfnt\bfseries}
{\Large\chaptertitlename\ \thechapter}{10pt}{\chapfnt}
\titlespacing*{\chapter}{0pt}{0pt}{10pt}
\def\baselinestretch{2}
\titleformat{\section}
{\normalfont\fontsize{15pt}{14pt}\selectfont\bfseries}{\thesection}{1em}{}
\titleformat{\subsection}
{\normalfont\fontsize{13pt}{14pt}\selectfont\bfseries}{\thesection}{1em}{}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[RO]{{\fontsize{8}{20} \selectfont\rightmark}}
\fancyhead[LE]{{\fontsize{8}{20} \selectfont\leftmark}}
\cfoot{\thepage}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.0pt}
\addtolength{\oddsidemargin}{-0.5cm}
\addtolength{\evensidemargin}{-0.5cm}
\addtolength{\textwidth}{1cm}
\addtolength{\topmargin}{-0.5cm}
\addtolength{\textheight}{1cm}
\begin{document}
\baselineskip=18pt plus1pt
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\maketitle
\include{Abstract}
\tableofcontents
\include{Intro/Chapter1}
\include{chapter2/Chapter2}
\include{chapter3/Chapter3}
\include{chapter4/Chapter4}
\include{chapter5/Chapter5}
\include{Conclusions}
\include{ChapterPublications}
\include{ChapterAcknowledgements}
\addcontentsline{toc}{chapter}{Bibliography}
\printbibliography
\end{document}
当我用bibtex编译文件时,我得到以下错误。
进程开始
这是BibTeX,0.99d版(MiKTeX 2.9.7250 64位)的顶层辅助文件。Thesis-Nicola.aux 一个一级辅助文件: Abstract.aux 一个一级辅助文件。IntroChapter1.aux A level-1辅助文件:Chapter2Chapter2.aux A level-1辅助文件:Chapter3Chapter3.aux A level-1辅助文件:Chapter4Chapter4.aux A level-1辅助文件:Chapter5Chapter5.aux A level-1辅助文件。Conclusions.aux A级辅助文件。ChapterPublications.aux一个1级辅助文件。ChapterAcknowledgements.aux 我在阅读文件Thesis-Nicola.aux时没有发现任何引用命令 我在阅读文件Thesis-Nicola.aux时没有发现任何bibdata命令 (有3条错误信息)
进程因错误而退出
有谁知道我做错了什么吗?非常感谢你,Nicola。
你得到的错误信息显示你使用的是 bibtex
来编制你的书目。
无论您是如何使用 biblatex
随着 biber
后端。这意味着你需要用 biber
而如果 bibtex