簡體   English   中英

latex 參考書目問題,它與 natbib 一起工作正常,不適用於 biblatex

[英]latex bibliography problem, it was working fine with natbib, not working with biblatex

下午好,

我的參考書目有問題,它可以與 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-bit) 頂級輔助文件:Thesis-Nicola.aux 一級輔助文件:Abstract.aux 一級輔助文件:Intro/Chapter1.aux一級輔助文件:chapter2/Chapter2.aux 一級輔助文件:chapter3/Chapter3.aux 一級輔助文件:chapter4/Chapter4.aux 一級輔助文件:chapter5/Chapter5.aux 一級-1 輔助文件:Conclusions.aux 1 級輔助文件:ChapterPublications.aux 1 級輔助文件:ChapterAcknowledgements.aux 我沒有找到 \citation 命令---在讀取文件 Thesis-Nicola.aux 時我沒有找到 \bibdata命令---在讀取文件 Thesis-Nicola.aux 時我發現沒有 \bibstyle 命令---在讀取文件 Thesis-Nicola.aux 時(有 3 條錯誤消息)

進程因錯誤而退出

有人知道我做錯了什么嗎? 非常感謝你,尼古拉。

您收到的錯誤消息表明您正在使用bibtex來編譯您的參考書目。

但是,您將biblatexbiber后端一起使用。 這意味着您需要使用biber編譯而不是bibtex

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM