引用 unsrtdin 風格的書會導致書目中出現雙 DOI

引用 unsrtdin 風格的書會導致書目中出現雙 DOI

我目前正在撰寫論文,但 DOI 號碼和我喜歡的引文風格有問題unsrtdin

問題是每本帶有 DOI 的書都會在書目中產生雙重連結。當我使用時,article我會得到一個連結和單獨印刷的 DOI。

我也很欣賞這本書的「文章」行為。

我可以做什麼來避免這種情況?這似乎是這種風格的普遍問題。它不依賴機器、文件或任何東西。

這裡:https://www.ctan.org/tex-archive/biblio/bibtex/contrib/german/din1505

希望你能幫我!

祝愿,邁克

微量元素:

\documentclass[
    a4paper,                                                                                             
    12pt,                                                                                                                                   
]{article}

\usepackage[utf8x]{inputenc}                                                  
\usepackage[T1]{fontenc}                                                      
\usepackage[ngerman,english]{babel}                                           
\usepackage{amsmath}                                                          
\usepackage{blindtext}

\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    \cleardoublepage
    \bibliography{literatur}
    \bibliographystyle{unsrtdin}

\blindtext
\cite{chemie-basiswissen}
\cite{euv-tomie-tin}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}

圍兜:

@BOOK{chemie-basiswissen,
    author = {H. P. Latscha and M. Mutz},
    title = {Chemie der Elemente, Chemie-Basiswissen IV},
    edition = {},
    editor = {},
    publisher = {Springer Verlag},
    howpublished = {},
    organization = {},
    year = {2011},
    pages = {188-190},
    note = {},
    isbn = {978-3-642-16914-4},
    doi = {10.1007/978-3-642-16915-1}
},


@ARTICLE{euv-tomie-tin,
    author = {T. Tomie},
    title = {Tin laser-produced plasma as the light source for extreme ultraviolet lithography high-volume manufacturing: history, ideal plasma, present status, and prospects},
    journal = {Journal of Micro/Nanolithography, MEMS, and MOEMS},
    volume = {11},
    organization = {},
    year = {2012},
    number = {2},
    pages = {021109-1-021109-9},
    url = {http://stacks.iop.org/0741-3335/46/i=12B/a=047},
    issn = {1932-5150},
    doi = {10.1117/1.JMM.11.2.021109}
},

我所說的「DOI 資料庫的雙重連結」是指以下圖片所示的內容。 DOI 連結和 DOI 號碼單獨顯示 DOI 連結顯示兩次

我希望至少能得到與書籍文章相同的行為。如果不可能或太複雜,我希望只顯示書籍的一個 DOI 連結。有誰能夠幫助我?

答案1

經參考unsrtdin.bst文件來自這個連結,我在 function 下找到了類似的URL&定義。DOIBOOK

的定義book

FUNCTION {book}
{ output.bibitem
  ...
  format.doi output
  format.url output
  ...
}

format.doi&format.url的定義都轉換為\URL.下面將format.doi&進行擴充:format.url

FUNCTION {format.doi}
{ doi empty$
    { "" }
    { new.block "\url{http://dx.doi.org/" doi * "}" * }
  if$
}

FUNCTION {format.url}
{ urn missing$
     { doi missing$
          { url empty$
             { "" }
             { type empty$ NOT
                 { type #-1 #4 substring$ "mail" =
                   type #1 #4 substring$ "Mail" =
                   OR
                      { type$ "incollection" =
                          { "" }
                          { "\,Absenderadresse: \url{" url * "}" * }
                        if$ }
                      { "\url{" url * "}" * }%%   evtl. "URL" oder "<...>"
                    if$ }
                  { "\url{" url * "}" * }   %%   evtl. "URL" oder "<...>"
                if$ }
           if$ }
          { format.doi }
        if$ }
      { "\url{http://nbn-resolving.de/urn/resolver.pl?urn=" urn * "}" *}
    if$
}

由於這個原因,您將獲得雙倍的URL價格book

希望booklet類型能滿足您的要求。

修改後的BIB:

@BOOKLET{chemie-basiswissen,
    author = {H. P. Latscha and M. Mutz},
    title = {Chemie der Elemente, Chemie-Basiswissen IV},
    edition = {},
    editor = {},
    publisher = {Springer Verlag},
    howpublished = {},
    organization = {},
    year = {2011},
    pages = {188-190},
    note = {},
    isbn = {978-3-642-16914-4},
    doi = {10.1007/978-3-642-16915-1}
},

BBL輸出:

\bibitem[2]{chemie-basiswissen}
\textsc{Latscha}, H.~P. ; \textsc{Mutz}, M.:
\newblock \emph{Chemie der Elemente, Chemie-Basiswissen IV}.
\newblock \,Version:\,2011.
\newblock \url{http://dx.doi.org/10.1007/978-3-642-16915-1}. --
\newblock  188--190 S. --
\newblock DOI 10.1007/978--3--642--16915--1.
\newblock ISBN 978--3--642--16914--4

編輯2017 年 7 月 14 日:

FUNCTION {book}
{ output.bibitem
...
  %%format.doi output%%Commented
  format.doi.urn output%%Modified to bring the requested DOI for Reference BOOK.
  format.url output
...
}

編輯2017 年 7 月 17 日:

FUNCTION {book}
{ output.bibitem
  ...
  format.url output
  format.doi.urn output
  ...
}

希望這可以幫助。

相關內容