引用調查報告類型的文件時出現問題

引用調查報告類型的文件時出現問題

我在引用 LaTeX 文件時遇到問題。正確的參考是:

收穫選擇,2006 年。國際糧食政策研究所,華盛頓特區,和明尼蘇達大學,聖保羅,明尼蘇達州。線上提供: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 個問題:

  1. 它無法引用“Harvest Choice”,我只有:“Harvest,C”,就像是一個作者一樣

  2. 我不知道如何插入網頁連結。

  3. 參考文獻指出它是技術報告,但它不是

答案1

我最近遇到了同樣的問題,所以也許這會有所幫助。但與通常一樣,這取決於您的參考書目風格

1 - 使用雙大括號 author = {{Harvest Choice}}以避免透過 bibtex 重新格式化內容

2 - 我使用了該url = {}欄位和其中的 Latex url 命令:url = {\url{yadayada}}

3 - 您可以嘗試其他參考書目樣式或編輯您目前使用的.bst 檔案。但首先,您可以嘗試@Misc具有相同欄位的 bibtex 條目類型,也許它會建立所需的結果。

答案2

HarvestChoice 組織建議對相關出版物進行以下引用:

HarvestChoice,2006 年。國際糧食政策研究所,華盛頓特區,和明尼蘇達大學,聖保羅,明尼蘇達州。線上提供:http://harvestchoice.org/publications/tanzania-national-sample-census-agriculture-20022003-small-holder-agriculture-volume-ii

觀察有沒有空間作者姓名的兩部分之間。另請注意“坦尚尼亞”一詞周圍的方括號。

將其轉換為圍兜條目,您可能需要使用包羅萬象的@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。這可以防止該字段中的單字轉換為小寫。另請注意\slashin的使用2002\slash 2003;這通知 LaTeX 允許在斜線後面插入換行符。

更新,2019 年 6 月:在過去一年左右的時間裡,該xurl軟體包已發布。該套件允許在 URL 字串中任意換行,因此比舊url套件更靈活(從排版上來說)。

假設您使用plainnat參考書目樣式和包natbibxurl、 和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} 

相關內容