KTUG 한국 텍 사용자 그룹

Menu

KTUG :: Q&A 마당 › /bibitem으로 구성된 파일을 \printbibliography와 연계할 수 있을지 궁금합니다.

구름 | 2022.08.03 23:40:26 | 메뉴 건너뛰기 쓰기

안녕하십니까.

 

얼마 전 이 방에 질문을 올리고 답변을 통해 많이 배웠습니다. 다시 한 번 감사합니다. 오늘은 여러 파일을 하나로 묶어 책/논문을 만들 때 bibliography와 연계하는 부분을 여쭈려 합니다. Overleaf에서 다음과 같은 예제를 받아서 공부를 하고 있습니다. (https://www.overleaf.com/project/62ea50e6e425ccc576feddac)

\documentclass[a4paper,11pt]{book}
\usepackage{import}
\usepackage{example}

\usepackage{makeidx}
\makeindex

\begin{document}

\frontmatter
\import{./}{title.tex}

\clearpage
\thispagestyle{empty}

\tableofcontents

\mainmatter
\chapter{First chapter}
\import{sections/}{section1-1.tex}
\import{sections/}{section1-2}

\chapter{Additional chapter}
\input{sections/section2-1.tex}

\chapter{Last chapter}
\include{sections/section3-1}

\backmatter

\import{./}{bibliography.tex}

\end{document}

여기서 bibliography.tex을 보면 다음과 같습니다 (중간을 많이 생략했습니다.)

\clearpage
\addcontentsline{toc}{chapter}{References}
\begin{thebibliography}{25}
 \bibitem{armstrong00}
 Armstrong, M.A. 
 \emph{Basic Topology.} 
 England:
 Editorial Board, 2000.

 \bibitem{coxeter}
 Coxeter, H.S.M.
 \emph{Introduction to Geometry.} 
 Toronto:
 John Wiley and Sons Inc, 1969.

....

 \bibitem{zomorodian}
 Zomorodian, Afra J.
 \emph{Topology for Computing.}
 United States:
 Cambridge University Press, 2005.
\end{thebibliography}

\bibliography{tesis}

이 파일은 \bibitem으로만 구성되어 직관적이지만, 저번에 배운 *.bib 파일 체계보다 불편해 보입니다. 저로서는 \bibitem 보다는 (예컨대) example.bib 식으로 파일을 구성하여 읽어 들인 다음 말미에 \printbibliography로 쓰는 쪽이 훨씬 좋아 보이는군요. 그러려면 저 본문 main.tex와 bibliography.tex를 많이 변경해야 할 것 같습니다. 이런 경우에는 어떻게 해야 좋을지 여러분께 여쭙니다.

 

감사합니다.

댓글 [6]

댓글 쓰기

목록

KTUG 한국 텍 사용자 그룹