Texmaker 书目问题(目前为止没有文章有帮助......)

Texmaker 书目问题(目前为止没有文章有帮助......)

我目前正在准备我的研究计划。我还剩下三个一般主题。在专注于其中一个主题之前,我想提交一份包含所有三个研究计划(和三个参考书目)的文档,其结构如下:

主题 1

  1. 想法和假设 -> 文本
  2. 文献 -> 参考书目(使用 \nocite(*))
  3. 方法论 -> 文本

主题 2

  1. 想法和假设 -> 文本(一些 \cite(...))
  2. 文献 -> 参考书目(使用 \nocite(*))
  3. 方法论 -> 文本

主题 3

  1. 想法和假设 -> 文本(一些 \cite(...))
  2. 文献 -> 参考书目(使用 \nocite(*))
  3. 方法论 -> 文本

我正在使用 TexMaker 和 JabRef。我还尝试了使用 %Bibliography 下的部分或全部包的所有可能性。以下是我的代码:

\documentclass[10pt,a4paper]{article}

%Layout
\setlength{\parindent}{2em}
\setlength{\parskip}{1em}
\renewcommand{\baselinestretch}{1.5}
\addtolength{\oddsidemargin}{-.875in}
\addtolength{\evensidemargin}{-.875in}
\addtolength{\textwidth}{1.75in}
\addtolength{\topmargin}{-.875in}
\addtolength{\textheight}{1.75in}

%Bibliography
%\usepackage[]{natbib}
\usepackage{cite}
\usepackage[english]{babel}
\usepackage{titlesec}
\usepackage{subfiles}
\usepackage{cleveref}

%Other packages
%\usepackage[utf8]{inputenc}
%\usepackage{amsmath}
%\usepackage{amsfonts}
%\usepackage{amssymb}

%====================================================================
%   RESEARCH PROPOSALS
%====================================================================
\begin{document}
\begin{LARGE}
Research Proposals
\end{LARGE}

\begin{enumerate}
%====================================================================
%   1 - DIVESTITURE STRATEGIES
%====================================================================
\item \textsc{Divestiture strategies}
%================================

\medskip
\begin{large}
\textit{Idea and hypothesis}
\end{large}\\
%================================
text
%================================

\medskip 
\begin{large}
\textit{Literature}
\end{large}\\
%================================
\nocite{*}
\bibliographystyle{apalike} % others are: unsrt / plain / alpha
\bibliography{literature_divestitures}
%================================

\medskip
\begin{large}
\textit{Methodology}
\end{large}\\
%
%====================================================================
%   2 - DEBT RENEGOTIATION
%====================================================================
\bigskip 
\item \textsc{Debt renegotiation}
%================================

\medskip
\begin{large}
\textit{Idea and hypothesis}
\end{large}\\
%================================
Text cite{asonuma2012serial,bai2012duration,bester1994role,favara2014debt,favara2015debt,moraux2014inside,saleh2005earnings,yue2010sovereign}) text
%================================

\medskip
\begin{large}
\textit{Literature}
\end{large}\\
%================================
\nocite{*}
\bibliographystyle{apalike} % others are: unsrt / plain / alpha
\bibliography{literature_debtrenegotiation}
%================================
\begin{large}
\textit{Methodology}
\end{large}\\
%
%====================================================================
%   3 - HEDGE FUND ACTIVISM
%====================================================================
\bigskip 
\item \textsc{Hedge funds activism}
%================================

\medskip
\begin{large}
\textit{Idea and hypothesis}
\end{large}\\
%================================
text
%================================

\medskip
\begin{large}
\textit{Literature}
\end{large}\\

\nocite{*}
\bibliographystyle{apalike} % others are: unsrt / plain / alpha
\bibliography{literature_hedgefunds}
%================================

\medskip
\begin{large}
\textit{Methodology}
\end{large}\\
%
%====================================================================
\end{enumerate}
\end{document}

问题是,即使 bib 文件位于同一文件夹中,并且我运行了通常的快速构建(1x pdflatex、1x bibtex、2x pdflatex),参考书目也不会显示,并且文本中的引用显示为[?]

代码中的错误在哪里?在我的 TexMaker 代码中,\bibliography{...} 保持蓝色,没有变成通常的灰色/红色代码颜色。我永远感激你的帮助。

最好的金

以下是我的 bib 文件(bibtex):

文学_债务谈判.bib

@Article{favara2014debt,
  author  = {Favara, Giovanni and Morellec, Erwan and Schroth, Enrique and Valta, Philip},
  title   = {Debt renegotiation and investment decisions across countries},
  journal = {Unpublished Working Paper},
  year    = {2014},
}

@Article{favara2015debt,
  author = {Favara, Giovanni and Morellec, Erwan and Schroth, Enrique and Valta, Philip},
  title  = {Debt Renegotiation, Investment, and Risk Taking Across Countries},
  year   = {2015},
}

@Article{bai2012duration,
  author    = {Bai, Yan and Zhang, Jing},
  title     = {Duration of sovereign debt renegotiation},
  journal   = {Journal of international Economics},
  year      = {2012},
  volume    = {86},
  number    = {2},
  pages     = {252--268},
  publisher = {Elsevier},
}

@Article{saleh2005earnings,
  author    = {Saleh, Norman Mohd and Ahmed, Kamran},
  title     = {Earnings management of distressed firms during debt renegotiation},
  journal   = {Accounting and Business Research},
  year      = {2005},
  volume    = {35},
  number    = {1},
  pages     = {69--86},
  publisher = {Taylor \& Francis},
}

@Article{moraux2014inside,
  author    = {Moraux, Franck and Silaghi, Florina},
  title     = {Inside debt renegotiation: Optimal debt reduction, timing, and the number of rounds},
  journal   = {Journal of Corporate Finance},
  year      = {2014},
  volume    = {27},
  pages     = {269--295},
  publisher = {Elsevier},
}

@Article{asonuma2012serial,
  author  = {Asonuma, Tamon},
  title   = {Serial default and debt renegotiation},
  journal = {Browser Download This Paper},
  year    = {2012},
}

@Article{yue2010sovereign,
  author    = {Yue, Vivian Z},
  title     = {Sovereign default and debt renegotiation},
  journal   = {Journal of international Economics},
  year      = {2010},
  volume    = {80},
  number    = {2},
  pages     = {176--187},
  publisher = {Elsevier},
}

@Article{bester1994role,
  author    = {Bester, Helmut},
  title     = {The role of collateral in a model of debt renegotiation},
  journal   = {Journal of money, credit and banking},
  year      = {1994},
  volume    = {26},
  number    = {1},
  pages     = {72--86},
  publisher = {JSTOR},
}

文献_资产剥离.bib

@Article{hoskisson1994,
  author    = {Hoskisson, Robert E and Johnson, Richard A and Moesel, Douglas D},
  title     = {Corporate divestiture intensity in restructuring firms: Effects of governance, strategy, and performance},
  journal   = {Academy of Management journal},
  year      = {1994},
  volume    = {37},
  number    = {5},
  pages     = {1207--1251},
  publisher = {Academy of Management},
}

@Article{woo1992spin,
  author    = {Woo, Carolyn Y and Willard, Gary E and Daellenbach, Urs and others},
  title     = {Spin-off performance: A case of overstated expectations?},
  journal   = {Strategic Management Journal},
  year      = {1992},
  volume    = {13},
  number    = {6},
  pages     = {433--447},
  publisher = {Wiley Online Library},
}

@Article{jain1994post,
  author    = {Jain, Bharat A and Kini, Omesh},
  title     = {The post-issue operating performance of IPO firms},
  journal   = {The journal of finance},
  year      = {1994},
  volume    = {49},
  number    = {5},
  pages     = {1699--1726},
  publisher = {Wiley Online Library},
}

@Article{krishnan2011venture,
  author    = {Krishnan, CNV and Ivanov, Vladimir I and Masulis, Ronald W and Singh, Ajai K},
  title     = {Venture capital reputation, post-IPO performance, and corporate governance},
  journal   = {Journal of Financial and Quantitative Analysis},
  year      = {2011},
  volume    = {46},
  number    = {05},
  pages     = {1295--1333},
  publisher = {Cambridge Univ Press},
}

文献_对冲基金.bib

@Article{krishnan2016second,
  author    = {Krishnan, CNV and Partnoy, Frank and Thomas, Randall S},
  title     = {The second wave of hedge fund activism: The importance of reputation, clout, and expertise},
  journal   = {Journal of Corporate Finance},
  year      = {2016},
  volume    = {40},
  pages     = {296--314},
  publisher = {Elsevier},
}

@Article{coffee2016wolf,
  author    = {Coffee Jr, John C and Palia, Darius and others},
  title     = {The Wolf at the Door: The Impact of Hedge Fund Activism on Corporate Governance},
  journal   = {Ann§als of Corporate Governance},
  year      = {2016},
  volume    = {1},
  number    = {1},
  pages     = {1--94},
  publisher = {Now Publishers, Inc.},
}

答案1

我建议你使用biblatex,它更容易定制,有自己的apa风格。最好用 进行编译biber

\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}

%Layout
\setlength{\parindent}{2em}
\setlength{\parskip}{1em}
\renewcommand{\baselinestretch}{1.5}
\addtolength{\oddsidemargin}{-.875in}
\addtolength{\evensidemargin}{-.875in}
\addtolength{\textwidth}{1.75in}
\addtolength{\topmargin}{-.875in}
\addtolength{\textheight}{1.75in}

%Bibliography
\usepackage{csquotes}
\usepackage[style=apa]{biblatex}
\DeclareLanguageMapping{english}{english-apa}

\addbibresource{literature_divestitures.bib}
\addbibresource{literature_debtrenegotiation.bib}%
\addbibresource{literature_hedgefunds.bib}

\DeclareSourcemap{
 \maps[datatype=bibtex, overwrite]{
 \map{
 \perdatasource{literature_divestitures.bib}
 \step[fieldset=KEYWORDS, fieldvalue=DS, append]
 }
 \map{
 \perdatasource{literature_debtrenegotiation.bib}
 \step[fieldset=KEYWORDS, fieldvalue=DR, append]
 }
 \map{
 \perdatasource{literature_hedgefunds.bib}
 \step[fieldset=KEYWORDS, fieldvalue=HF, append]
 }
 }
}

\usepackage[english]{babel}
\addto\captionsenglish{\renewcommand{\bibname}{Literature}}
\usepackage{titlesec}
\usepackage{subfiles}
\usepackage{cleveref}
\titleformat*{\section}{\large\itshape}
%Other packages
%\usepackage{amsmath}
%\usepackage{amsfonts}
%\usepackage{amssymb}

%====================================================================
% RESEARCH PROPOSALS
%====================================================================
\begin{document}
\begin{LARGE}
Research Proposals
\end{LARGE}

\begin{enumerate}
%====================================================================
% 1 - DIVESTITURE STRATEGIES
%====================================================================
\item \textsc{Divestiture strategies}
%================================

\medskip
\begin{large}
\textit{Idea and hypothesis}
\end{large}
%================================
text
%%================================
\nocite{*}
\printbibliography[title=Literature, keyword=DS]
%%================================

\medskip
\begin{large}
\textit{Methodology}
\end{large}
%
%====================================================================
% 2 - DEBT RENEGOTIATION
%====================================================================
\bigskip
\item \textsc{Debt renegotiation}
%================================

\medskip
\begin{large}
\textit{Idea and hypothesis}
\end{large}\\
%================================
Text \cite{asonuma2012serial,bai2012duration,favara2014debt,favara2015debt,moraux2014inside,saleh2005earnings,yue2010sovereign}) text
%================================
\printbibliography[title=Literature, keyword=DR]
%================================
\begin{large}
\textit{Methodology}
\end{large}\\
%
%====================================================================
% 3 - HEDGE FUND ACTIVISM
%====================================================================
\bigskip
\item \textsc{Hedge funds activism}
%================================

\medskip
\begin{large}
\textit{Idea and hypothesis}
\end{large}\\
%================================
text
%================================
\printbibliography[title=Literature, keyword=HF]
%================================

\medskip
\begin{large}
\textit{Methodology}
\end{large}
%
%====================================================================
\end{enumerate}

\end{document} 

在此处输入图片描述

答案2

扩展我之前的评论,您可以使用该multibbl包:

\documentclass[10pt,a4paper]{article}
%Layout
\setlength{\parindent}{2em}
\setlength{\parskip}{1em}
\renewcommand{\baselinestretch}{1.5}
\addtolength{\oddsidemargin}{-.875in}
\addtolength{\evensidemargin}{-.875in}
\addtolength{\textwidth}{1.75in}
\addtolength{\topmargin}{-.875in}
\addtolength{\textheight}{1.75in}

%Bibliography
%\usepackage[]{natbib}
%\usepackage{cite}
\usepackage[english]{babel}
\usepackage{titlesec}
\usepackage{subfiles}
%\usepackage{cleveref}
\usepackage{multibbl}
\newbibliography{divestitures}
\newbibliography{debtrenegotiation}
\newbibliography{hedgefunds}

%====================================================================
%   RESEARCH PROPOSALS
%====================================================================
\begin{document}
\begin{LARGE}
Research Proposalssd
\end{LARGE}

\begin{enumerate}
%====================================================================
%   1 - DIVESTITURE STRATEGIES
%====================================================================
\item \textsc{Divestiture strategies}
%================================

\medskip
\begin{large}
\textit{Idea and hypothesis}
\end{large}\\
%================================
text
%================================
\nocite{divestitures}{*}
\bibliographystyle{divestitures}{apalike}
\bibliography{divestitures}{literature-divestitures}{\large\it Literature}

%================================

\medskip
\begin{large}
\textit{Methodology}
\end{large}\\
%
%====================================================================
%   2 - DEBT RENEGOTIATION
%====================================================================
\bigskip 
\item \textsc{Debt renegotiation}
%================================

\medskip
\begin{large}
\textit{Idea and hypothesis}
\end{large}\\
%================================
Text \cite{hedgefunds}{asonuma2012serial,bai2012duration,bester1994role,favara2014debt,favara2015debt,moraux2014inside,saleh2005earnings,yue2010sovereign}) text

%================================
\nocite{debtrenegotiation}{*}
\bibliographystyle{debtrenegotiation}{apalike} 
\bibliography{debtrenegotiation}{literature-debtrenegotiation}{\large\it Literature}
%================================
\begin{large}
\textit{Methodology}
\end{large}\\
%
%====================================================================
%   3 - HEDGE FUND ACTIVISM
%====================================================================
\bigskip 
\item \textsc{Hedge funds activism}
%================================

\medskip
\begin{large}
\textit{Idea and hypothesis}
\end{large}\\
%================================
text
%================================
\nocite{hedgefunds}{*}
\bibliographystyle{hedgefunds}{apalike} 
\bibliography{hedgefunds}{literature-hedgefunds}{\large\it Literature}
%================================

\medskip
\begin{large}
\textit{Methodology}
\end{large}\\
%
%====================================================================
\end{enumerate}
\end{document}

但是,为了使其工作,我必须删除citecleveref包,因为multibbl重新定义命令需要\cite采用两个参数:其中第一个是您要引用的参考书目。

要编译上述内容,在照常运行latex(或pdflatex)之后,您需要执行bibtex divestituresbibtex debtrenegotiation并对所有三个参考书目bibtex hedgefunds运行bibtex。然后您需要再运行latex(或pdflatex)两次。一些 TeX 编辑器将具有知道在这些不同的辅助文件上运行的构建序列bibtex,而对于其他 TeX 编辑器,您可能只需从命令提示符中执行此操作。

相关内容