簡體   English   中英

引文未顯示

[英]Citation not showing

我有問題,我的引文沒有顯示,但乳膠文件可能正在運行。

我使用jabref創建了一個名為thesis的bib文件,我使用了texmaker,並且生成的pdf文件沒有錯誤,但是引用沒有出現,只有按鍵以粗體顯示。

\documentclass[12pt]{report}
\usepackage[utf8]{inputenc}
\usepackage[backend=biber,citestyle=numeric, natbib=true,sorting=anyt]{biblatex}
\usepackage{csquotes}
\usepackage{amsmath}
\usepackage[nottoc,numbib]{tocbibind}
\usepackage[T1,T2A]{fontenc}
%\usepackage[titletoc,toc]{appendix}
\usepackage{float}
\usepackage{tabulary}
\usepackage{longtable}            
\usepackage{rotating}
%\bibliography{thesis} % or
\addbibresource{thesis.bib}
\usepackage{array}
\newenvironment{conditions}
  {\par\vspace{\abovedisplayskip}\noindent\begin{tabular}{>{$}l<{$} @{${}={}$} l}}
  {\end{tabular}\par\vspace{\belowdisplayskip}}
\makeatletter
\def\blx@maxline{77}
\makeatother

\newrobustcmd*{\parentexttrack}[1]{%
  \begingroup
  \blx@blxinit
  \blx@setsfcodes
  \blx@bibopenparen#1\blx@bibcloseparen
  \endgroup}

\AtEveryCite{%
  \let\parentext=\parentexttrack%
  \let\bibopenparen=\bibopenbracket%
  \let\bibcloseparen=\bibclosebracket}

\makeatother
\usepackage[usenames,dvipsnames]{color}
\usepackage[hyperfootnotes=false]{hyperref}
\usepackage{float}
\hypersetup{
 colorlinks=true,
 citecolor=Blue,
 linkcolor=Blue,
 urlcolor=Red
}
\hypersetup{ 
citebordercolor=.1 1 .1, 
linkbordercolor=1 0 0, 
 urlbordercolor=1 0 0, }
\renewcommand\nameyeardelim{, }
\renewcommand{\baselinestretch}{1.5}
\usepackage[margin=1in]{geometry}
\usepackage[margin=1in]{geometry}  % set the margins to 1in on all sides
\usepackage{graphicx}              % to include figures
%\usepackage[dvipdfm]{graphicx} \usepackage{bmpsize}
\usepackage{caption}
\usepackage{amsmath}               % great math stuff
\usepackage{amsfonts}              % for blackboard bold, etc
\usepackage{amsthm}                % better theorem \usepackage[utf8]{inputenc}
\usepackage[UKenglish]{babel}
\usepackage{comment}

\usepackage[toc,page]{appendix}
\usepackage[numbered,framed]{mcode}
%\usepackage[titletoc]{appendix}
% various theorems, numbered by section
\setcounter{secnumdepth}{4}
\newtheorem{thm}{Theorem}[section]
\newtheorem{lem}[thm]{Lemma}
\newtheorem{prop}[thm]{Proposition}
\newtheorem{cor}[thm]{Corollary}
\newtheorem{conj}[thm]{Conjecture}
\newtheorem{definition}{Definition}[section]
% numbers
\newtheorem{exmp}[thm]{Example} % same for example numbers
\DeclareMathOperator{\id}{id}
\newcommand{\bd}[1]{\mathbf{#1}}  % for bolding symbols
\newcommand{\RR}{\mathbb{R}}      % for Real numbers
\newcommand{\ZZ}{\mathbb{Z}}      % for Integers
\newcommand{\col}[1]{\left[\begin{matrix} #1 \end{matrix} \right]}
\newcommand{\comb}[2]{\binom{#1^2 + #2^2}{#1+#2}}
\renewcommand\appendix{\par
  \setcounter{section}{0}
  \setcounter{subsection}{0}
  \setcounter{figure}{0}
  \setcounter{table}{0}
  \renewcommand\thesection{Appendix \Alph{section}}
  \renewcommand\thefigure{\Alph{section}\arabic{figure}}
  \renewcommand\thetable{\Alph{section}\arabic{table}}
}
\begin{document}



\addtolength{\topmargin}{-1cm}
\addtolength{\textheight}{2cm}
\thispagestyle{empty}
\includegraphics{UPlogo.jpg}
\vspace{.4in}
\begin{center}
{\Large {\bf DEPARTMENT OF MATHEMATICS}} \\
\vspace{.1in}
{\Large {\bf AND }} \\
\vspace{.1in}
{\Large {\bf APPLIED MATHEMATICS}}
\end{center}
\vspace{.4in}

{\large {\bf \begin{center} \begin{tabular}{|c|} 
\hline CHAPTER 2\\ 2017\\ \hline
\end{tabular} \end{center} }}
\vspace{.5in}
\begin{center}
 {\LARGE\bf 
Computation of Regulatory Capital Charge for Counterparty Credit Risk Under Basel III\medskip\par
}
\end{center}
%\end{figure}
\vspace{0.5in}
\begin{center}
{\bf {\large Erasmus Tyapa\\ (27307612)}}
\end{center}
\vspace{0.2in}
\begin{center}
{\bf {\Large DECEMBER 2017}} 
\end{center} 
\newpage
\tableofcontents
\setcounter{page}{1}
\pagenumbering{roman}
\newpage
\setcounter{page}{1}
\pagenumbering{arabic}


\section{Basel I: the Basel Capital Accord}
In 1988, the BCBS intervene to set up first accord on banking regulations.
The accord set rules on capital requirements for banks called  the Basel I for measuring capital adequacy against exposures from credit risk \cite{baselI1988}. 
Under Basel I, assets of banks were categorised and grouped into five groups according to their credit risk, carrying risk weights and no ratings \cite{hull2015risk}. 
The capital adequacy measurements resulted in a broad consensus on a weighted approach to the measurement of risk for both on and off-balance-sheet  assets \cite{baselhistory}. 
Basel I, require banks with international presence to hold at least 8\% capital of the their total credit exposure, called Risk-Weighted Assets (RWA), expressed mathematically  as 
\begin{equation} \label{equa1}
    CAR = \frac{C}{RWA_{c}} \geq  8\%
\end{equation}
where:

\begin{conditions}
C  & is capital required to be reserved for regulatory purpose\\
RWA_c & risk-weighted asset for credit risk\\
CAR  & Capital Adequacy Ratio \\
\end{conditions}  
\newpage
\printbibliography
\end{document}

我希望引文以數字形式出現,並在文件末尾列出使用的參考文獻。 這是一些參考

@Manual{baselI1988,
  author      = {Basel Committee on Banking Supervision},
  title       = {International convergence of capital measurement and capital standards},
  year        = {1988},
  note        = {Accessed: 2017-02-21},
  publisher   = {Bank for International Settlements},
  url         = {http://www.bis.org/publ/bcbs04a.pdf},
  shortauthor = {BCBS},
  sortname    = {BCBS},
}
@Book{hull2015risk,
  author    = {Hull, John C.},
  title     = {Risk Management and Financial Institutions},
  year      = {2015},
  edition   = {4},
  publisher = {John Wiley \& Sons},
  chapter   = {15},
  pages     = {325-349},
}
@Manual{baselhistory,
  author      = {Basel Committee on Banking Supervision},
  title       = {A brief history of the {B}asel {C}ommittee},
  year        = {2014},
  note        = {Accessed: 2017-02-21},
  publisher   = {Bank for International Settlements},
  url         = {http://www.bis.org/bcbs/history.pdf},
  shortauthor = {BCBS},
  sortname    = {BCBS},
}

這是我的Texmaker圖片,請在此處輸入圖片說明

問題是在texmaker首選項中使用了build subdirectory 這使配置更加困難,因為需要調整每個單獨的工具才能使用它。

簡單的解決方案:

不要使用此選項,它只會使事情更加復雜

進階解決方案:

如果您確實希望保持目錄整潔,並將所有輔助文件放在單獨的目錄中,則可以使用某些乳膠自動化工具。 例如, ltx2any將自動編譯您的文檔(包括創建書目,索引等的所有其他步驟),同時保持文件夾的清潔

暫無
暫無

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

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