在主文件的序言中
\usepackage[square, numbers, comma, sort&compress]{natbib}
\usepackage{chapterbib}
在 tex 文件“A”中 - 第 A 章
aaaaaa \cite{bibtexkey1}
\bibliographystyle{unsrtnat}
\bibliography{bib file A}
在 tex 文件“B”中 - 第 B 章
aaaaaa \cite{bibtexkey2}
\bibliographystyle{unsrtnat}
\bibliography{bib file B}
在 tex 文件“C”中 - 第 C 章
aaaaaa \cite{bibtexkey13}
\bibliographystyle{unsrtnat}
\bibliography{bib file C}
编译结果:
- 第 A 章结束完整显示引用参考文献
bib file A
- 在 pdf 中,在正文和第 B 章末尾显示问号,在正文中完整显示引用参考文献
bib file A
- 引用结果显示与B章相同
问题:您能帮我解决这个问题吗?非常感谢
P/s:我尝试了几种方法,但仍然不起作用。
答案1
参照您的评论,我假设您希望使用 biblatex 和 biber 在每章末尾列出参考书目。重要的是将选项与每章命令中的refsection=chapter
标题相结合。subbibliography
\printbibliography
您可以通过以下方式编译下面的示例代码:
- pdflatex 文档.tex
- 比伯文件
- pdflatex 文档.tex
- pdflatex 文档.tex
\documentclass{scrreprt}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{lipsum}
\usepackage{filecontents}
\begin{filecontents*}{bibch1.bib}
@article{hamid2011potential,
title={Potential risk factors associated with human encephalitis: application of canonical correlation analysis},
author={Hamid, Jemila S and Meaney, Christopher and Crowcroft, Natasha S and Granerod, Julia and Beyene, Joseph},
journal={BMC medical research methodology},
volume={11},
number={1},
pages={120},
year={2011},
publisher={BioMed Central}
}
@article{hattie1985methodology,
title={Methodology review: assessing unidimensionality of tests and ltenls},
author={Hattie, John},
journal={Applied psychological measurement},
volume={9},
number={2},
pages={139--164},
year={1985},
publisher={Sage Publications Sage CA: Thousand Oaks, CA}
}
@article{kirk1973numerical,
title={On the numerical approximation of the bivariate normal (tetrachoric) correlation coefficient},
author={Kirk, David B},
journal={Psychometrika},
volume={38},
number={2},
pages={259--268},
year={1973},
publisher={Springer}
}
@article{lee2015access,
title={Access to finance for innovative SMEs since the financial crisis},
author={Lee, Neil and Sameen, Hiba and Cowling, Marc},
journal={Research policy},
volume={44},
number={2},
pages={370--380},
year={2015},
publisher={Elsevier}
}
\end{filecontents*}
\begin{filecontents*}{bibch2.bib}
@article{samuel2015effect,
title={The effect of credit risk on the performance of commercial banks in Nigeria},
author={Samuel, Olawale Luqman},
journal={African Journal of Accounting, Auditing and Finance},
volume={4},
number={1},
pages={29--52},
year={2015},
publisher={Inderscience Publishers (IEL)}
}
@article{froot1998risk,
title={Risk management, capital budgeting, and capital structure policy for financial institutions: an integrated approach},
author={Froot, Kenneth A and Stein, Jeremy C},
journal={Journal of Financial Economics},
volume={47},
number={1},
pages={55--82},
year={1998},
publisher={Elsevier}
}
@article{salas2002credit,
title={Credit risk in two institutional regimes: Spanish commercial and savings banks},
author={Salas, Vicente and Saurina, Jesus},
journal={Journal of Financial Services Research},
volume={22},
number={3},
pages={203--224},
year={2002},
publisher={Springer}
}
@article{cornett2011liquidity,
title={Liquidity risk management and credit supply in the financial crisis},
author={Cornett, Marcia Millon and McNutt, Jamie John and Strahan, Philip E and Tehranian, Hassan},
journal={Journal of Financial Economics},
volume={101},
number={2},
pages={297--312},
year={2011},
publisher={Elsevier}
}
@article{aebi2012risk,
title={Risk management, corporate governance, and bank performance in the financial crisis},
author={Aebi, Vincent and Sabato, Gabriele and Schmid, Markus},
journal={Journal of Banking \& Finance},
volume={36},
number={12},
pages={3213--3226},
year={2012},
publisher={Elsevier}
}
%%%%%%%%%%%%%%%%%
\end{filecontents*}
\begin{filecontents*}{texch1.tex}
\chapter{First Chapter}
\lipsum[2-3]
\nocite{hamid2011potential, hattie1985methodology, kirk1973numerical,%
lee2015access}
\printbibliography[heading=subbibliography]
\end{filecontents*}
\begin{filecontents*}{texch2.tex}
\chapter{Second Chapter}
\lipsum[2-3]
\nocite{samuel2015effect, froot1998risk, salas2002credit, cornett2011liquidity,%
aebi2012risk}
\printbibliography[heading=subbibliography]
\end{filecontents*}
\usepackage[babel]{csquotes}
\usepackage{xpatch}
\usepackage[backend=biber, style=alphabetic, refsection=chapter]{biblatex}
\addbibresource{bibch1.bib}
\addbibresource{bibch2.bib}
\begin{document}
\include{texch1}
\include{texch2}
\end{document}
您将获得以下内容: