
출판물을 좀 더 추가해야 합니다. 이전 참조 번호를 변경하고 싶지 않아서 [p1], [p2] 등과 같은 참조 번호를 달리하여 새 인용을 만들어야 합니다. LaTeX가 그렇게 할 수 있나요?
답변1
나는 최근에 참고문헌의 하위 집합, 즉 자체 출판물을 추가하기 위해 이런 유형의 작업을 수행했습니다. 눈에 띄도록 접두사를 붙였습니다.
biblatex
제가 사용한 방법의 핵심입니다. bibfile의 속성 을 사용하여 keywords=
특정 항목을 식별한 다음 문서 끝에 참고문헌을 나열할 때 키워드를 사용하여 참조를 필터링할 수 있습니다.
실제 예는 다음과 같습니다. 컴파일하려면 LaTeX -> BibTeX -> LaTeX -> LaTeX가 필요하다는 점을 기억하세요.
\documentclass[titlepage,11pt]{article}
\usepackage{filecontents} % Used only to create the bibfile
\begin{filecontents*}{\jobname.bib}
@article{greenwade93,
author = "George D. Greenwade",
title = "The {C}omprehensive {T}ex {A}rchive {N}etwork ({CTAN})",
year = "1993",
journal = "TUGBoat",
volume = "14",
number = "3",
pages = "342--351"
}
@book{goossens93,
author = "Michel Goossens and Frank Mittelbach and Alexander Samarin",
title = "The LaTeX Companion",
year = "1993",
publisher = "Addison-Wesley",
address = "Reading, Massachusetts"
}
@article{blackholes,
author="My Self",
title="Black Holes and Their Relation to Hiding Eggs",
journal="Theoretical Easter Physics",
publisher="Eggs Ltd.",
year="2010",
note="(to appear)",
keywords="self"
}
\end{filecontents*}
% NOTE: Last entry has a _keywords="self"_ attribute. This keyword is used to
% sort out specific entries when the bibliographies are made
% biblatex is used with a few of my preferred options
% -- style = ieee gives [1] format
% -- backend = bibtex - can also use 'biber'
% -- sorting = ynt sorts all entries in each bibliography by Year, Name, then Title
% -- defernumbers = true required to get the resetnumbers=true option to work down below
\usepackage[style=ieee,backend=bibtex,sorting=ynt,defernumbers=true]{biblatex}
\addbibresource{\jobname.bib} % Peculiar to biblatex
\begin{document}
This document references \cite{greenwade93}, and my own publication
(\cite{blackholes}). And I also used \cite{goossens93}.
% References split out into self publications and regular references
% This makes use of biblatex (still needs a _bibtex_ run to finalize)
\section{Publications and References}
\printbibliography[heading=subbibliography, notkeyword=self, title={References}, resetnumbers=true]
\printbibliography[heading=subbibliography, keyword=self, title={Publications}, resetnumbers=true, prefixnumbers={P}]
\end{document}