
Я использую bibtex для своей библиографии в LaTeX. Я хотел бы использовать URL-адреса и мне нужно цитировать. Как мне добавить URL-адреса в файл .bib. Кроме того, я использую 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}