Skip to content

参考文献分章(群里消息汇编) #435

Discussion options

You must be logged in to vote

biblatex提供了refsection=chapter选项自动实现,但模板间接使用了titletoc,会冲突,无效。于是暂时只能手动实现。

手动方法

  1. 编辑main.tex,给每一章套个refsection环境,并将原来的2_reference.tex移动、复制到每个refsection内:
 \mainmatter

 % 请根据论文内容,按照顺序添加章节。
+\begin{refsection}
 \input{./chapters/chapter1.tex}
+\input{./misc/2_reference.tex}
+\end{refsection}
+
+\begin{refsection}
 \input{./chapters/chapter2.tex}
+\input{./misc/2_reference.tex}
+\end{refsection}

 \backmatter

 % 结论
 \input{./misc/1_conclusion.tex}
-% 参考文献
-\input{./misc/2_reference.tex}

解释:biblatex会在每个refsection中单独统计参考文献,现在人为每章设置一个refsection

  1. 编辑bithesis.cls,搜索bibprint,往下十几行,把\chapter改为\section
    \__bithesis_if_thesis_english:TF {
-     \chapter{\c__bithesis_label_reference_en_tl}
+     \s…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by YDX-2147483647
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant