将各节合并为一章。每节为一个单独的 .tex 文件

将各节合并为一章。每节为一个单独的 .tex 文件

我正在整理证据组合。我已将所有单独的证据写成单独的乳胶文档。其中一些文档在章节末尾有参考文献,而有些则没有。所有参考文献都存储在一个文件中references.bib

这是一个独立证据的示例(我删除了正文)

 \documentclass[a4paper,10pt]{article}
\usepackage[utf8x]{inputenc}
\usepackage[margin=0.7in]{geometry}
\usepackage{amsmath}
\usepackage{graphicx}
\makeatletter
\renewcommand\fps@figure{!htb}
\setlength\@fptop{0pt} 
\makeatother
\renewcommand{\floatpagefraction}{.6}% before: .5 
\renewcommand{\textfraction}{.15} % before: .2 
\renewcommand{\topfraction}{.8}     % before: .7 
\renewcommand{\bottomfraction}{.5}  % before: .3 
\setcounter{topnumber}{3} % before: 2 
\setcounter{bottomnumber}{1} % before: 1 
\setcounter{totalnumber}{5} % before: 3 
%opening

\begin{document}

\section*{Assessing Progression in Whole Body Bone Scans}


\bibliography{/path_to/references.bib}
\bibliographystyle{ieeetr}

\end{document}

然而,当我尝试将证据合并到单个章节中时,我遇到了几个问题。我采取了以下方法。我的 Portfolio.tex

\documentclass[a4paper,12pt]{dmathesis}
%% uncommand the following line to print equation labels next to
%% equation numbers. 

%% The following is to control the format of your thesis
\input{format}

%% File to be included while running latex.
\includeonly{CoveringReport,EvidenceA-D,EvidenceE}
\begin{document}

%% Front page of thesis
%\input{frontpage}

%% Main text
% set page number starts from 1
\pagenumbering{arabic}
\setcounter{page}{1}
\include{CoveringReport}
\include{EvidenceA-D}
\include{EvidenceE}
\end{document}

证据A-D

\setcounter{equation}{0}
\chapter{Supplementary Evidence}

\section*{Evidence A: MSci Degree Certificate - Physics}

\begin{figure}[!h]
\centering
\includegraphics[page=3,scale=0.65,angle=0]{Images/Degrees.pdf}
\caption{MSci Physics Degree Certificate}
\end{figure}
\newpage

\section*{Evidence B: PhD Degree Certificate - Physics}

\begin{figure}[!h]
\centering
\includegraphics[page=2,scale=0.65, angle=0]{Images/Degrees.pdf}
\caption{PhD Degree Certificate}
\end{figure}
\newpage

\section*{Evidence C: MSc Degree Certificate - Medical Physics}

\begin{figure}[!h]
\centering
\includegraphics[page=1,scale=0.7]{Images/Degrees.pdf}
\caption{MSc Medical Physics: Degree Certificate}
\end{figure}

\section*{Evidence D: IPEM Postgraduate Diploma}

Evidence E
\section*{Evidence E: Assessing Progression in Whole Body Bone Scans}


\bibliography{/path_to/references.bib}
\bibliographystyle{ieeetr}

我希望将参考文献放在每节的末尾。每节中的第一个参考文献应从 [1] 开始。

我遇到了以下问题 (1) 每一条新证据都从新页面开始。我的页面限制非常严格,希望下一节从下一个可用空间开始 (2) 我收到错误消息 Citation on page .. undefined[这在独立文档中没有问题] No Portfolio.bbl There were undefined references

我该如何解决这些问题?

我曾看到过一个使用 biblatex 和一个大型证据章节的解决方案。

\usepackage{biblatex}
\begin{refsection}
\printbibliography
\end{refsection}

但是,我的操作系统是 CentOS 6,无法成功实施这样的解决方案,因为我无法安装 biblatex 及其所有依赖项

编辑


\input我已经通过使用代替解决了第一个问题include

相关内容