我的論文有補充文件,我想將其提交到 arXiv 上。我首先嘗試使用 Adobe 軟體將它們轉換為 PDF 並合併它們。然而 arXiv 強制我發送實際的源代碼。回到問題,如果我簡單地使用
...
\bibliographystyle{ieeetr}
{ \scriptsize
\bibliography{refs}
}
\newpage
\input{SuppMaterial}
我沒有得到我想要的,我的意思是 refs 區塊被重複,因為我的 SuppMaterial 也有引用,我也在 SuppMaterial 的末尾得到了整個引用。
如何合併這兩個文件,以便每個文件都有自己的引用區塊?
更準確地說,這是這兩個文件的範例:
main.tex
看起來像這樣:
\documentclass[journal]{IEEEtran}
\usepackage{subcaption} % for subfigures
\usepackage[utf8]{inputenc} % allow utf-8 input
\usepackage[T1]{fontenc} % use 8-bit T1 fonts
\usepackage{hyperref} % hyperlinks
\usepackage{url} % simple URL typesetting
\usepackage{booktabs} % professional-quality tables
\usepackage{amsfonts} % blackboard math symbols
\usepackage{nicefrac} % compact symbols for 1/2, etc.
\usepackage{microtype} % microtypography
\usepackage{epsfig}
\usepackage{graphicx}
\hypersetup{colorlinks=true, linkcolor=red}
\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{amsmath}
\usepackage{sci}
\usepackage{xfrac}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\usepackage{filecontents,pgfplots}
\usepackage{tikz}
\usetikzlibrary{arrows,calc,shapes,snakes,positioning,matrix,arrows,decorations.pathmorphing,decorations.text}
\usepackage[sort&compress,square,comma,numbers]{natbib}
\makeatletter
\renewcommand\bibsection%
{
\section*{\refname
\@mkboth{\MakeUppercase{\refname}}{\MakeUppercase{\refname}}}
}
\makeatother
% correct bad hyphenation here
\hyphenation{op-tical net-works semi-conduc-tor}
\begin{document}
%
% paper title
\title{Title}
%
%\author{XXX, YYY,ZZZ%,~\IEEEmembership{Member,~IEEE,}% <-this % stops a space
}
% use for special paper notices
%\IEEEspecialpapernotice{(Invited Paper)}
% make the title area
\maketitle
\begin{abstract}
Here is the abstract
\end{abstract}
% Note that keywords are not normally used for peerreview papers.
\begin{IEEEkeywords}
Deep Learning, Convolutional Neural Networks (CNNS), Efficiency.
\end{IEEEkeywords}
\section{Introduction}
...
\bibliographystyle{ieeetr}
{ \scriptsize
\bibliography{refs}
}
\end{document}
supp.tex
看起來像這樣:
\documentclass[journal]{IEEEtran}
\usepackage{subcaption} % for subfigures
\usepackage[utf8]{inputenc} % allow utf-8 input
\usepackage[T1]{fontenc} % use 8-bit T1 fonts
\usepackage{hyperref} % hyperlinks
\usepackage{url} % simple URL typesetting
\usepackage{booktabs} % professional-quality tables
\usepackage{amsfonts} % blackboard math symbols
\usepackage{nicefrac} % compact symbols for 1/2, etc.
\usepackage{microtype} % microtypography
\usepackage{epsfig}
\usepackage{graphicx}
\hypersetup{colorlinks=true, linkcolor=red}
\usepackage{tabulary}
\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{amsmath}
\usepackage{sci}
\usepackage{xfrac}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\usepackage{filecontents,pgfplots}
\usepackage{tikz}
\usetikzlibrary{arrows,calc,shapes,snakes,positioning,matrix,arrows,decorations.pathmorphing,decorations.text}
% To number supplemental material with 'S':
\renewcommand{\thepage}{S\arabic{page}}
\renewcommand{\thesection}{S\arabic{section}}
\renewcommand{\thetable}{S\arabic{table}}
\renewcommand{\thefigure}{S\arabic{figure}}
\begin{document}
\title{Title}
%\author{X, Y, Z,%,~\IEEEmembership{Member,~IEEE,}% <-this % stops a space
\maketitle
% \begin{abstract}
% \end{abstract}
\section{Discussions}
\subsection{Subject 1}
...
\ifCLASSOPTIONcaptionsoff
\newpage
\fi
\bibliographystyle{ieeetr}
{ \scriptsize
\bibliography{refs}
}
% \begin{thebibliography}{10}
% \end{thebibliography}
\end{document}
他們兩個使用的 ref.bib 如下:
@inproceedings{AlexKrizhevsky_imgnet_2012,
author = {Alex, Krizhevsky and Sutskever, Ilya and Geoffrey, E. Hinton},
title = {ImageNet Classification with Deep Convolutional Neural Networks},
pages = {1097--1105},
booktitle = {NIPS},
year = {2012},
}
@inproceedings{Ba_DoDeepNets_nd_B_Deep_2014,
author = {Ba, Jimmy and Caruana, Rich},
title = {Do deep nets really need to be deep?},
booktitle = {NIPS},
pages = {2654-2662},
type = {Conference Proceedings}
}
@inproceedings{Bucilua_Model_compression_2006,
author = {Buciluǎ, Cristian and Caruana, Rich and Niculescu-Mizil, Alexandru},
title = {Model compression},
booktitle = {SIGKDD},
publisher = {ACM},
pages = {535-541},
ISBN = {1595933395},
type = {Conference Proceedings}
}