정의되지 않은 인용

정의되지 않은 인용

처음으로 참고문헌을 작성하고 있는데 한 시간 동안 오류가 발생합니다. .tex 파일:

\documentclass[francais,10pt,twosides,a4paper]{report}

\usepackage[francais,polutonikogreek]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{url}
\usepackage{textgreek}

\begin{document}
\begin{quotation}
 notre âme. \cite{ref1}
 \end{quotation}
 \end{document}

그리고 턱받이 :

@book
{ref1,
  title = {Manuel d’Épictète}
  author = {Arrien}
  publisher = {Wikisource \url{https://fr.wikisource.org/wiki/Manuel_d>%E2%80>>%99%C3%89pict%C3%A8te_(trad._Thurot)#I._Distinction_entre_ce_qui_d.C3.A9pend_de_nous_et_ce_
 qui_ne_d.C3.A9pend_pas_de_nous}},
  note = {Traduit par Jean-François Thurot} 
  year = {1889}
}

이 문제를 해결하는 데 도움을 주실 수 있나요? 감사합니다.

답변1

코드에 몇 가지 오류가 있습니다.

  1. LaTeX에는 인용된 책, 기사 등을 기반으로 참고문헌을 어디에 인쇄해야 하는지 아는 명령이 필요합니다.
  2. 턱받이 파일에 오류가 있습니다. 다음 MWE에서 이를 수정했습니다(추가된 쉼표와 field 사용법을 참조하세요 url).
  3. utf-8 인코딩을 사용하고 있습니다. 이것이 제가 참고문헌을 작성하기 위해 패키지 biblatex와 프로그램을 사용한 이유입니다. 왜냐하면 biber는 utf-8을 처리할 수 있기 때문 입니다.biberbibtex

MWE, 오류 없이 컴파일:

\RequirePackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@Book{goossens,
  author    = {Goossens, Michel and Mittelbach, Frank and 
               Samarin, Alexander},
  title     = {The LaTeX Companion},
  edition   = {1},
  publisher = {Addison-Wesley},
  location  = {Reading, Mass.},
  year      = {1994},
}
@Book{adams,
  title     = {The Restaurant at the End of the Universe},
  author    = {Douglas Adams},
  series    = {The Hitchhiker's Guide to the Galaxy},
  publisher = {Pan Macmillan},
  year      = {1980},
}
@article{einstein,
  author  = {Albert Einstein},
  title   = {{Zur Elektrodynamik bewegter Kö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.org/10.1002/andp.19053221004},
}
@book{ref1,
  title     = {Manuel d’Épictète},
  author    = {Arrien},
  publisher = {Wikisource},
  url       = {https://fr.wikisource.org/wiki/Manuel_d>%E2%80>>%99%C3%89pict%C3%A8te_(trad._Thurot)#I._Distinction_entre_ce_qui_d.C3.A9pend_de_nous_et_ce_
 qui_ne_d.C3.A9pend_pas_de_nous},
  note      = {Traduit par Jean-François Thurot}, 
  year      = {1889},
}
\end{filecontents*}


\documentclass[francais,10pt,twosides,a4paper]{report}

\usepackage[francais,polutonikogreek]{babel}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}    %

\usepackage{lmodern}
\usepackage[hyphens]{url} %  <==========================================
\usepackage{textgreek}

\usepackage[
  backend=biber, % bibtex  % bibtex or biber (prefered)
  natbib=true,
  style=numeric,
  sorting=none  % none, nty % no sorting or standard sorting
]{biblatex} %  <========================================================
\addbibresource{\jobname.bib} % calls bib file to create the bibliography

\begin{document}
We first cite Albert Einstein~\cite{einstein}, second~\cite{adams} and 
third the \LaTeX{} Companian~\cite{goossens}.

\begin{quotation}
 notre âme. \cite{ref1}
\end{quotation}

\printbibliography
\end{document}

결과 참고문헌은 다음과 같습니다.

결과 참고문헌

관련 정보