
LaTeX에서 문서를 참조하는 데 문제가 있습니다. 올바른 참조는 다음과 같습니다.
Harvest Choice, 2006. "2002/2003년 탄자니아 국가 농업 표본 조사: 소규모 자작농 농업, 제2권: 작물 부문 - 국가 보고서." 국제식량정책연구소(워싱턴 DC), 미네소타대학교(미네소타주 세인트폴). 다음에서 온라인으로 구매 가능http://harvestchoice.org/publications/tanzania-national-sample-census-agriculture-20022003-small-holder-agriculture-volume-ii.
나는 많은 조합을 시도했고 내가 생각해 낼 수 있는 최선의 방법은 bibtex에서 다음을 사용하는 것이었습니다.
@TechReport{TN,
author = {Harvest Choice},
title = {Tanzania National Sample Census of Agriculture 2002/2003: Small Holder Agriculture, Volume 2: Crop Sector National Report},
institution = {International Food Policy Research Institute, Washington, DC., and University of Minnesota, St. Paul, MN},
year = {2006}
}
그러나 이로 인해 3가지 문제가 발생합니다.
"Harvest Choice"를 참조할 수 없습니다. 저자인 것처럼 "Harvest, C"만 있습니다.
웹 링크를 삽입하는 방법을 모르겠습니다.
참조에는 기술 보고서라고 명시되어 있지만 그렇지 않습니다.
답변1
최근에 같은 문제가 있었으므로 이것이 도움이 될 것입니다. 하지만 일반적으로 이것은 참고문헌 스타일에 따라 다릅니다.
author = {{Harvest Choice}}
1 - bibtex를 통해 사물을 다시 포맷하는 것을 방지하려면 이중 중괄호를 사용하세요.
url = {}
2 - 필드와 그 안에 라텍스 URL 명령을 사용했습니다 .url = {\url{yadayada}}
3 - 다른 참고문헌 스타일을 시도하거나 현재 사용하는 스타일의 .bst 파일을 편집할 수 있습니다. 하지만 먼저 @Misc
동일한 필드를 사용하여 bibtex 항목 유형을 사용해 볼 수 있습니다 . 그러면 원하는 결과가 나올 수도 있습니다.
답변2
HarvestChoice 조직은 문제의 간행물에 대해 다음과 같은 인용을 제안합니다.
HarvestChoice, 2006. "[탄자니아] 2002/2003년 전국 농업 표본 인구조사: 소규모 자작농업, 제2권: 작물 부문 - 국가 보고서." 국제식량정책연구소(워싱턴 DC), 미네소타대학교(미네소타주 세인트폴). 다음에서 온라인으로 구매 가능http://harvestchoice.org/publications/tanzania-national-sample-census-agriculture-20022003-small-holder-agriculture-volume-ii.
있다는 것을 관찰하세요.공간 없음저자 이름의 두 부분 사이. "Tanzania"라는 단어 주위의 대괄호도 확인하세요.
이것을 턱받이 항목으로 변환하면 포괄적인 항목 유형을 사용할 수 있습니다 @misc
.
@misc{hc:2006,
author = "HarvestChoice",
title = "{[Tanzania] National Sample Census of
Agriculture 2002\slash 2003: Small Holder
Agriculture, Volume~II: Crop Sector~--
National Report}",
year = 2006,
howpublished = "International Food Policy Research Institute,
Washington, DC., and University of Minnesota,
St.~Paul, MN",
url = "http://harvestchoice.org/publications/tanzania-national-sample-census-agriculture-20022003-small-holder-agriculture-volume-ii",
}
필드 주위에 일치하는 중괄호 쌍이 삽입되는 것을 관찰하십시오 title
. 이렇게 하면 해당 필드의 단어가 소문자로 변환되지 않습니다. \slash
in 의 사용도 참고하세요 2002\slash 2003
. 이는 슬래시 뒤에 줄바꿈을 삽입하는 것이 허용된다는 것을 LaTeX에 알립니다.
업데이트, 2019년 6월: 지난 1년 정도 안에 패키지 xurl
가 출시되었습니다. 이 패키지는 URL 문자열에서 임의의 줄 바꿈을 허용하므로 이전 패키지보다 더 유연합니다(인쇄상으로 말하면) url
.
plainnat
참고 문헌 스타일과 패키지 natbib
, xurl
, 및 를 사용한다고 가정하면 hyperref
다음과 같은 MWE를 얻을 수 있습니다.
\RequirePackage{filecontents}
\begin{filecontents}{\jobname.bib}
@misc{hc:2006,
author = "HarvestChoice",
title = "{[Tanzania] National Sample Census of
Agriculture 2002\slash 2003: Small Holder
Agriculture, Volume~II: Crop Sector~--
National Report}",
year = 2006,
howpublished = "International Food Policy Research Institute,
Washington, DC., and University of Minnesota,
St.~Paul, MN",
url = "http://harvestchoice.org/publications/tanzania-national-sample-census-agriculture-20022003-small-holder-agriculture-volume-ii",
}
\end{filecontents}
\documentclass{article}
\usepackage[authoryear,round]{natbib}
\bibliographystyle{plainnat}
\usepackage{xurl} % 'xurl' generalizes the 'url' package
\usepackage[colorlinks=true,allcolors=blue]{hyperref}
\begin{document}
\noindent
\citet{hc:2006}
\bibliography{\jobname}
\end{document}