【发布时间】:2020-06-07 10:16:04
【问题描述】:
几天来,我一直在尝试解决以下我无法找到解决方案的问题。非常感谢您的帮助。
我正在写一个长文档,对于某些部分,我想打印总书目中的一部分项目,这些项目将包含在附录之前的最后。
有没有办法做到这一点?我正在玩反射并想象类似的东西:
\documentclass[ twoside,openright,titlepage,numbers=noenddot,
headinclude,footinclude,
cleardoublepage=empty,abstract=on,
BCOR=5mm,paper=a4,fontsize=11pt
]{scrreprt}
\usepackage{biblatex}
\addbibresource[label=ownpubs]{ownpubs.bib}
\addbibresource[label=refs]{references.bib}
\begin{document}
%here I want to print a selection of the complete bibliography
%References are required to be consistent throughout the whole document
\chapter*{Related Publications}
\begin{refsection}[references.bib]
\nocite{*}
\printbibliography[heading=none]
\end{refsection}
%here goes all the other stuff: chapters, sections, whatever
%print complete bibliography
\nocite{*}
\printbibliography
\end{document}
ownpubs.bib:
@article{einstein1935can,
title={Can quantum-mechanical description of physical reality be considered complete?},
author={Einstein, Albert and Podolsky, Boris and Rosen, Nathan},
journal={Physical review},
volume={47},
number={10},
pages={777},
year={1935},
publisher={APS}
}
@article{einstein1905movement,
title={On the movement of small particles suspended in stationary liquids required by the molecularkinetic theory of heat},
author={Einstein, A},
journal={Ann. d. Phys},
volume={17},
number={549-560},
pages={1},
year={1905}
}
references.bib:
@article{schrodinger1935gegenwartige,
title={Die gegenw{\"a}rtige Situation in der Quantenmechanik},
author={Schr{\"o}dinger, Erwin},
journal={Naturwissenschaften},
volume={23},
number={50},
pages={844--849},
year={1935},
publisher={Springer-Verlag}
}
使用上面的代码,我打印了参考书目,但参考文献(数字)不一致。
有人知道解决这个问题的方法吗?我绝不限于拆分文件。这只是我能想出的唯一解决方案。
感谢您的帮助和热情的问候!
【问题讨论】:
-
请使您的代码可编译。您正在使用 biblatex 包中的命令,但不要加载它。此外,我们没有必要的 bib 文件来编译您的代码。
-
感谢您的反馈。我更新了一个为我编译的工作示例。
标签: latex bibliography biblatex