KTUG 한국 텍 사용자 그룹

Menu

KTUG :: Q&A 마당 › 초보자가 bib에 대해서 질문드립니다.

고꼬 | 2016.07.01 14:28:55 | 메뉴 건너뛰기 쓰기

사용한지 일주일도 안된 초보자  LaTex 사용자 입니다. 


어찌어찌 본문은 완성했고 이제 reference 만 작성하면 되는데, 


제가 평소 사용하던 mendenley를 이용해 reference를 작성할 수 있다는 말을 듣고 


인터넷에서 나온데로 따라해 보았는데 계속 오류가 납니다. 


저는 제가 제출한 저널 LaTex 템플릿이 잘못되었나 생각했는데


제가 새창을 열고 bib를 이용해 reference만 작성하려 해도 오류가 납니다. 


제가 작성한 것은 이것과 같습니다. 


\documentclass[a4paper,10pt]{article}

\usepackage[utf8]{inputenc}

\usepackage[english]{babel}

\usepackage[nottoc]{tocbibind}


\begin{document}

\tableofcontents

\section{First Section}

hs document is an example of BibTeX using in bibliography management. Three items

are cited: \textit{The \LaTeX\ Companion} book \cite{latexcompanion}, the Einstein

journal paper \cite{einstein}, and the Donald Knuth's website \cite{knuthwebsite}.

The \LaTeX\ related items are \cite{latexcompanion,knuthwebsite}.


\bibliographystyle{unsrt}

\bibliography{sample.bib}


\end{document}



이고 sample.bib 파일 내용은 


@article{einstein,

author = "Albert Einstein",

title = "{Zur Elektrodynamik bewegter K{\"o}rper}. ({German})

[{On} the electrodynamics of moving bodies]",

journal = "Annalen der Physik",

volume = "322",

number = "10",

pages = "891--921",

year = "1905",

DOI = "http://dx.doi/10.1002/andp.19053221004"

}

@book{latexcompanion,

author = "Michel Goossens and Frank Mittelbach and Alexander Samarin",

title = "The \LaTeX\ Companion",

year = "1993",

publisher = "Addison-Wesley",

address = "Reading, Massachusetts"

}

@misc{knuthwebsite,

author = "Donald Knuth",

title = "Knuth: Computers and Typesetting",

url = "http://www-cs-facultyanford/\~{}uno/abcde.html"

}


입니다. 이렇게 Latex를 실행시키면 인용표시가 들어가야 할 곳에 [?] 라고 생기기만 합니다. 

지금 제가 작성하고 있는 논문 템플릿이랑 똑같은 증상입니다. 

그리고 예제들을 보면 reference 와 인용된 논문들도 보이는데 저는 아예 reference 가 보이지도 않습니다. 

같은 폴더 안에 sample.bib 파일이 있으면 안되는건가요? 혹시 다른 것을 지정해 줘야 하나요?


고수 여러분께서 알려주시면 감사하겠습니다. ㅠㅠ

댓글 [1]

댓글 쓰기

목록 삭제

KTUG 한국 텍 사용자 그룹