Chapterbib 출현 순서대로 정렬

Chapterbib 출현 순서대로 정렬

spbasic 스타일을 사용하여 Springer svmono 클래스의 참고문헌을 정렬하려고 합니다. Springer는 장별 참고문헌에 대해 Chapterbib을 권장합니다. 참고문헌을 나타나는 순서대로 정렬해야 합니다.

다른 답변은 spbasic 스타일 파일 편집을 제안합니다. 그렇게 했는데 그것도 안되네요. 실제로 다음 예제에서는 spbasic 대신 unsrtnat를 사용하여 알파벳순으로 정렬된 참조를 얻을 수 있습니다.

다음은 최소 작업 예제(test.tex)입니다.

\documentclass[english,graybox,envcountchap,sectrefs]{svmono}

\usepackage{filecontents}
\begin{filecontents}{ref.bib}
@Article{Schauer2005,
  author    = {T. Schauer and N. O. Neg{\aa}rd and F. Previdi and K. J. Hunt and M. H. Fraser and E. Ferchland and J. Raisch},
  title     = {Online identification and nonlinear control of the electrically stimulated quadriceps muscle},
  journal   = {Control Eng. Pract.},
  year      = {2005},
  volume    = {13},
  number    = {9},
  pages     = {1207--1219},
  month     = sep,
  timestamp = {2017-07-12},
}
@Article{Seel.Werner.ea2016,
  author    = {Thomas Seel and Cordula Wener and J{\"{o}}rg Raisch and Thomas Schauer},
  title     = {Iterative Learning Control of a Drop Foot Neuroprosthesis - Generating Physiological Foot Motion in Paretic Gait by Automatic Feedback Control},
  journal   = {Control Eng. Pract.},
  year      = {2016},
  volume    = {48},
  pages     = {87--97},
  month     = mar,
  timestamp = {2017-07-12},
}
@Article{Wang.Saberi.ea2013,
  Title      = {Consensus in the network with uniform constant communication delay},
  Author     = {Xu Wang and Ali Saberi and Anton A. Stoorvogel and H{\r{a}}vard Fj{\ae}r Grip and Tao Yang},
  Journal    = {Automatica},
  Year       = {2013},
  Pages      = {2461--2467},
  Volume     = {49},
  Timestamp  = {2014.08.25}
}
\end{filecontents}

\begin{filecontents}{Chapter1.tex}
\chapter{Chapter1}
Some claim (see, e.g., \cite{Wang.Saberi.ea2013}, \cite{Seel.Werner.ea2016}, and \cite{Schauer2005})
\begin{btSect}[spbasic]{ref}
\btPrintCited
\end{btSect}
\end{filecontents}

\begin{filecontents}{Chapter2.tex}
\chapter{Chapter2}
Some claim (see, e.g., \cite{Seel.Werner.ea2016,Schauer2005,Wang.Saberi.ea2013})
\begin{btSect}[spbasic]{ref}
\btPrintCited
\end{btSect}
\end{filecontents}


\usepackage[numbers,sort&compress,sectionbib]{natbib}
\usepackage[dot]{bibtopic}
\usepackage{chapterbib}

\begin{document}

\author{Author name(s)}

\title{Book title}

\maketitle
\include{Chapter1}
\include{Chapter2}
\end{document}

Windows에서 이것을 컴파일하면, 즉,

pdflatex test
bibtex test.1
bibtex test.2
pdflatex test
pdflatex test

나는 얻다

일부 주장(예: [3], [2] 및 [1] 참조)

1장에서. 나는 기대하고 있다

일부 주장(예: [1], [2] 및 [3] 참조)

대신에. 참조가 나타나는 순서대로 정렬되도록 하려면 어떻게 해야 합니까?

다음 코드가 예상대로 작동하기 때문에 spbasic에 대한 수정 사항이 정확하다고 확신합니다(위와 같은 ref.bib).

\begin{filecontents}{Chapter1.tex}
\chapter{Chapter1}
Some claim (see, e.g., \cite{Wang.Saberi.ea2013}, \cite{Seel.Werner.ea2016}, and \cite{Schauer2005})
\end{filecontents}

\begin{filecontents}{Chapter2.tex}
\chapter{Chapter2}
Some claim (see, e.g., \cite{Seel.Werner.ea2016,Schauer2005,Wang.Saberi.ea2013})
\end{filecontents}

\usepackage[numbers,sort&compress,sectionbib]{natbib}

\begin{document}

\author{Author name(s)}

\title{Book title}

\maketitle
\include{Chapter1}
\include{Chapter2}
\bibliographystyle{spbasic-unsrt}
\bibliography{ref}
\end{document}

즉, 내 spbasic-unsrt.bst는 참고문헌이 전역적이라면 나타나는 순서대로 참조를 정렬합니다. 장별 참고문헌을 얻기 위해 bibtopic 및 Chapterbib를 추가하자마자 정렬이 다시 알파벳순으로 되돌아갑니다.

이 문제를 해결할 아이디어가 있나요?

답변1

알았어, 알아냈어. bibtopic 패키지는 정렬되지 않은 참고문헌을 지원하지 않습니다. 또한, 장별 참고문헌을 얻기 위해 bibtopic이 필요하지 않습니다. Chapterbib은 잘 작동합니다. 다음 코드는 예상되는 동작을 생성합니다.

\documentclass[english,graybox,envcountchap,sectrefs]{svmono}
\usepackage{filecontents}
\begin{filecontents}{ref.bib}
@Article{Schauer2005,
  author    = {T. Schauer and N. O. Neg{\aa}rd and F. Previdi and K. J. Hunt and M. H. Fraser and E. Ferchland and J. Raisch},
  title     = {Online identification and nonlinear control of the electrically stimulated quadriceps muscle},
  journal   = {Control Eng. Pract.},
  year      = {2005},
  volume    = {13},
  number    = {9},
  pages     = {1207--1219},
  month     = sep,
  timestamp = {2017-07-12},
}
@Article{Seel.Werner.ea2016,
  author    = {Thomas Seel and Cordula Wener and J{\"{o}}rg Raisch and Thomas Schauer},
  title     = {Iterative Learning Control of a Drop Foot Neuroprosthesis - Generating Physiological Foot Motion in Paretic Gait by Automatic Feedback Control},
  journal   = {Control Eng. Pract.},
  year      = {2016},
  volume    = {48},
  pages     = {87--97},
  month     = mar,
  timestamp = {2017-07-12},
}
@Article{Wang.Saberi.ea2013,
  Title      = {Consensus in the network with uniform constant communication delay},
  Author     = {Xu Wang and Ali Saberi and Anton A. Stoorvogel and H{\r{a}}vard Fj{\ae}r Grip and Tao Yang},
  Journal    = {Automatica},
  Year       = {2013},
  Pages      = {2461--2467},
  Volume     = {49},
  Timestamp  = {2014.08.25}
}
\end{filecontents}

\begin{filecontents}{Chapter1.tex}
\chapter{Chapter1}
Some claim (see, e.g., \cite{Wang.Saberi.ea2013}, \cite{Seel.Werner.ea2016}, and \cite{Schauer2005})
\bibliographystyle{unsrtnat}
\bibliography{ref}
\end{filecontents}

\begin{filecontents}{Chapter2.tex}
\chapter{Chapter2}
Some claim (see, e.g., \cite{Seel.Werner.ea2016,Schauer2005,Wang.Saberi.ea2013})
\bibliographystyle{unsrtnat}
\bibliography{ref}
\end{filecontents}


\usepackage[numbers,sort&compress,sectionbib]{natbib}
\usepackage{chapterbib}

\begin{document}

\author{Author name(s)}

\title{Book title}

\maketitle
\include{Chapter1}
\include{Chapter2}
\end{document}

관련 정보