
我不太確定如何解釋我的問題。如果您需要更多信息,請告知。我的文檔很大,有很多設定。我將 TeXnicCenter 與 BibTex-Compiler 2.8 一起使用。當我建立 PDF(LaTeX->DviPS->PS2PDF)時,我得到以下資訊:
BibTex 條目:
@incollection{Agrawal.2008,
author = {Agrawal, Motilal and Konolige, Kurt and Blas, Morten Rufus},
title = {{C}en{S}ur{E}: {C}enter {S}urround {E}xtremas for {R}ealtime {F}eature {D}etection and {M}atching},
pages = {102--115},
volume = {5305},
publisher = {Springer},
isbn = {978-3-540-88692-1},
series = {Lecture Notes in Computer Science},
editor = {Forsyth, David and Torr, Philip and Zisserman, Andrew},
booktitle = {{C}omputer {V}ision -- {E}{C}{C}{V} 2008},
year = {2008},
address = {Berlin und Heidelberg},
doi = {10.1007/978-3-540-88693-8\_8}
}
我的問題是什麼? DOI 顯示兩次。我只想要最後一個符號(DOI.10.1007 ...)。我已經嘗試過 doi-package 但這會給我的 tex 檔案帶來很多麻煩。請你幫助我好嗎?我將嘗試提供更多資訊。
最小的例子:
\documentclass[a4paper,11pt]{scrreprt}
\usepackage[komastyle,automark]{scrpage2}
\usepackage[latin1]{inputenc}
\usepackage{graphicx}
\usepackage[a4paper,left=2.5cm,top=2.5cm,bottom=2.5cm,includeheadfoot,width=16cm]{geometry}
\bibliographystyle{alphadin2}
\usepackage[hyphens]{url}
\begin{document}
\chapter{TEST}
This is a test \cite{Agrawal.2008}.
\newpage
\addcontentsline{toc}{chapter}{Bib}
\bibliography{minimalbib} %Add the entry i this file
\end{document}
答案1
此行為是 的一個錯誤alphadin.bst
。在 comp.tex.tex 的前一個問題中alphadin 中的 DOI(德語)顯示了解決問題的方法。然而,每個條目類型都必須重新定義。
在我看來,該包biblatex
是一個非常好的選擇。