
次の BibTex 参照出力を検討してください (ソースは以下にあります)。
\bibliographystyle{plain}
出力が、私が書いている論文の要件に合うため、を使用しています。 を試しましたnatbib
が、 スタイルを使用する場合でも、すべての参考文献スタイルが変更されたため、 は使用できませんでしたplainnat
。うまく機能しないのは、アクセスされた日付を含める必要がある参照 URL の引用です。他のすべての引用 (書籍、論文なども引用します) は、期待どおりに機能します。
1) 日付の前に「アクセス日:」という接頭辞を追加する方法はありますか(日付が存在する場合のみ)。最初のエントリは次のようになります。
[1] Wikipedia, https://en.wikipedia.org, Accessed: March 2014
2) URL の分割を制御して、分割しないようにする方法はありますか (例 [3] と [4] では、URL の前に改行を挿入しても URL はそのまま残りますが、例 [5] の URL は 1 行に収まるには長すぎます)。
3) 私が行った方法よりも簡単な方法で URL エントリを定義することはできますか (下記参照)?
以下は LaTex ソースです:
\documentclass[a4paper]{scrartcl}
\bibliographystyle{plain}
\usepackage{url}
\usepackage{cite}
\begin{document}
\nocite{wiki-web1,wiki-web2,wiki-web3,wiki-web4,wiki-web5}
\bibliography{bibtex}
\end{document}
そしてBibTexソース:
@Other{wiki-web1,
Title = {Wikipedia},
HowPublished = {\url{https://en.wikipedia.org}},
Month = mar,
Timestamp = {2014.03.16},
Year = {2014}
},
@Other{wiki-web2,
Title = {Wikipedia},
Author = {Wikipedia Foundation},
HowPublished = {\url{https://en.wikipedia.org/wiki/Main_Page}},
Month = mar,
Year = {2014}
},
@Other{wiki-web3,
Title = {Wikipedia},
Author = {Wikipedia Foundation (SF)},
HowPublished = {\url{https://en.wikipedia.org/wiki/Main_Page}},
Month = mar,
Year = {2014}
},
@Other{wiki-web4,
Title = {Wikipedia},
Author = {Wikipedia Foundation (SF)},
HowPublished = {\url{https://en.wikipedia.org/wiki/Main_Page}},
Month = mar,
Year = {2014}
},
@Other{wiki-web5,
Title = {Wikipedia},
Author = {Wikipedia Foundation (SF)},
HowPublished = {\url{https://en.wikipedia.org/wiki/File:Camborne_Redruth_Community_Hospital_-_geograph.org.uk_-_716833.jpg#filehistory}},
Month = mar,
Year = {2014}
}
答え1
ウェブ文書に関連付けられた日付には2つの役割があります。フィールドyear
とmonth
フィールドは通常、いつ文書が作成または公開された日時。文書に(最後に)アクセスした日時に関する情報を提供するには、note
各エントリに次のようなフィールドを設定できます。
note = "Last accessed 16 March 2014",
フィールドを追加する完全な MWE では、note
次の出力が生成されます。
\RequirePackage{filecontents}
\documentclass[a4paper]{scrartcl}
\bibliographystyle{plainnat}
\usepackage[hyphens]{url}
\usepackage[numbers]{natbib}
\begin{filecontents*}{\jobname.bib}
@misc{wiki-web1,
Title = {Wikipedia},
howpublished = "\url{https://en.wikipedia.org}",
Month = mar,
Timestamp = {2014.03.16},
Year = {2014},
note = "Last accessed 16 March 2014",
}
@misc{wiki-web2,
Title = {Wikipedia},
Author = {Wikipedia Foundation},
howpublished = "\url{https://en.wikipedia.org/wiki/Main_Page}",
Month = mar,
Year = {2014},
note = "Last accessed 16 March 2014",
}
@misc{wiki-web3,
Title = {Wikipedia},
Author = {Wikipedia Foundation (SF)},
howpublished = "\url{https://en.wikipedia.org/wiki/Main_Page}",
Month = mar,
Year = {2014},
note = "Last accessed 16 March 2014",
}
@misc{wiki-web4,
Title = {Wikipedia},
Author = {Wikipedia Foundation (SF)},
howpublished = "\url{https://en.wikipedia.org/wiki/Main_Page}",
Month = mar,
Year = {2014},
note = "Last accessed 16 March 2014",
}
@misc{wiki-web5,
Title = {Wikipedia},
Author = {Wikipedia Foundation (SF)},
howpublished = "\url{https://en.wikipedia.org/wiki/File:Camborne_Redruth_Community_Hospital_-_geograph.org.uk_-_716833.jpg#filehistory}",
Month = mar,
Year = {2014},
note = "Last accessed 16 March 2014",
}
\end{filecontents*}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\begin{document}
\nocite{wiki-web1,wiki-web2,wiki-web3,wiki-web4,wiki-web5}
\bibliography{\jobname}
\end{document}
その他の質問にもお答えします。はい、フィールドの前に自動的に改行を挿入する参考文献スタイルがいくつかありますurl
。ただし、エントリには というフィールドは提供されておらずurl
、 だけですhowpublished
。