
私は LaTeX の参考文献に bibtex を使用しています。URL を使用したいので、引用する必要があります。.bib ファイルに URL を追加するにはどうすればよいでしょうか。また、私は chicago を参考文献スタイルとして使用しています。次のコードを記述しましたが、参考文献に表示されません。どうすれば修正できますか。
\begin{filecontents*}{mybib1.bib}
@misc{bworld,
author = {Ingo Lütkebohle},
title = {{BWorld Robot Control Software}},
howpublished = "\url{http://aiweb.techfak.uni-bielefeld.de/content/bworld-
robot-control-software/}",
year = {2008},
}
\end{filecontents*}
\usepackage{url}
\begin{document}
The information is available in \citep{bworld}.
\bibliographystyle{chicago}
\bibliography{mybib1}
\end{document}
答え1
コメントが長すぎるため、マークアップが必要
次のコード( として保存myfile.tex
)をコンパイルします。
pdflatex myfile
bibtex myfile
pdflatex myfile
pdflatex myfile
の内容myfile.tex
:
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents*}{mybib1.bib}
@misc{bworld,
author = {Ingo Lütkebohle},
title = {{BWorld Robot Control Software}},
howpublished = "\url{http://aiweb.techfak.uni-bielefeld.de/content/bworld-
robot-control-software/}",
year = {2008},
}
\end{filecontents*}
\usepackage{natbib}
\usepackage{url}
\begin{document}
The information is available in \citep{bworld}.
\bibliographystyle{chicago}
\bibliography{mybib1}
\end{document}