参考书目中无年份

参考书目中无年份

enter image description here

enter image description here

图像出现错误。

这是 file.tex 最小示例:

\documentclass[10pt,oneside,openany]{book}

% xelatex file.tex
% bibtex8 file or biber file

\usepackage{fontspec}
\usepackage{xltxtra}
\usepackage{xunicode}
\usepackage{libertine}
\usepackage{polyglossia}
\setmainlanguage[Script=Latin]{serbian}
\setotherlanguages{latin,greek,russian,english,german}

\usepackage[style=numeric-verb,autopunct=false,babel=none,defernumbers=true,language=english,backend=biber,texencoding=utf8,bibencoding=utf8,sorting=none]{biblatex}
\addbibresource{file.bib}

\begin{document}

This is first \cite{k:10}, second \cite{k:11}, third \cite{s:15}, fourth \cite{z:09}, fifth \cite{o:02} and sixth \cite{o:03} citation. 

\printbibliography

\end{document}

这是文件.bib:

%% Biblio %%

@manual{k:10,
    editor    = {Morgan J. Hurley},
    title     = {SFPE Handbook of Fire Protection Engineering},
 organization = {Society of Fire Protection Engineers},
    publisher = {Springer-Verlag},
    ISBN      = {978-1-4939-2564-3},
    edition   = {V},
    year      = {2016}
}

@Report{s:15,
title       = {Склады  нефти  и  нефтепродуктов - Противопожарные  нормы},
institution     = {Строительные Нормы и Правила},
number      = {СНиП 2.11.03-93},
year        = {1993}
}

@Report{z:09,
title       = {Pravilnik o izgradnji postrojenja za zapaljive tečnosti i o uskladištavanju i pretakanju zapaljivih tečnosti},
institution     = {Službeni list SFRJ},
year        = {{20/1971 i 23/1971}}
}

@report{o:02,
title       = {The 100 Largest Losses 1974 - 2015: Large property damage losses in the hydrocarbon industry},
institution     = {Marsh \& McLennan},
date        = {{2016}}
}

@report{o:03,
title       = {Report on Indian Oil Terminal Fire at Jaipur on 29. October, 2009.},
institution     = {Independent Inquiry Committee, Committee Constituted by MoPNG Goverment of India},
year        = {{29. January, 2010.}}
}

@incollection{k:11,
    author    = {D. M. Johnson},
    title     = {Vapour Cloud Explosion at the IOC Terminal in Jaipur},
    booktitle = {Hazards XXIII - Symposium Series 158},
    publisher = {IChemE},
    ISBN      = {978-0-8529-5557-4},
    year      = {2013},
}

答案1

这是你想要的结果吗?

  • 如果在英语语言环境中调用参考书目,则会插入年份
  • 除此之外,我csquotes还按照警告中的建议添加了软件包
  • 为了获取手册中的年份,我将其改为book输入
  • 该选项babel=none已弃用

\begin{filecontents}{file.bib}
    %% Biblio %%

    @book{k:10,
        editor    = {Morgan J. Hurley},
        title     = {SFPE Handbook of Fire Protection Engineering},
        organization = {Society of Fire Protection Engineers},
        publisher = {Springer-Verlag},
        ISBN      = {978-1-4939-2564-3},
        edition   = {V},
        year      = {{2016}}
    }

    @Report{s:15,
        title       = {Склады  нефти  и  нефтепродуктов - Противопожарные  нормы},
        institution     = {Строительные Нормы и Правила},
        number      = {СНиП 2.11.03-93},
        year        = {1993}
    }

    @Report{z:09,
        title       = {Pravilnik o izgradnji postrojenja za zapaljive tečnosti i o uskladištavanju i pretakanju zapaljivih tečnosti},
        institution     = {Službeni list SFRJ},
        year        = {{20/1971 i 23/1971}}
    }

    @report{o:02,
        title       = {The 100 Largest Losses 1974 - 2015: Large property damage losses in the hydrocarbon industry},
        institution = {Marsh \& McLennan},
        year        = {{2016}}
    }

    @report{o:03,
        title       = {Report on Indian Oil Terminal Fire at Jaipur on 29. October, 2009.},
        institution     = {Independent Inquiry Committee, Committee Constituted by MoPNG Goverment of India},
        year        = {{29. January, 2010.}}
    }

    @incollection{k:11,
        author    = {D. M. Johnson},
        title     = {Vapour Cloud Explosion at the IOC Terminal in Jaipur},
        booktitle = {Hazards XXIII - Symposium Series 158},
        publisher = {IChemE},
        ISBN      = {978-0-8529-5557-4},
        year      = {2013}
    }
\end{filecontents}

\documentclass[10pt,oneside,openany]{book}

\usepackage{fontspec}
\usepackage{xltxtra}
\usepackage{xunicode}
\usepackage{libertine}
\usepackage{polyglossia}
\setmainlanguage[Script=Latin]{serbian}
\setotherlanguages{latin,greek,russian,english,german}

\usepackage{csquotes}

\usepackage[style=numeric-verb,autopunct=false,autolang=none,defernumbers=true,language=english,backend=biber,texencoding=utf8,bibencoding=utf8,sorting=none]{biblatex}
\addbibresource{file.bib}

\begin{document}

\nocite{*} 

\begin{english}
\printbibliography[title=Literatura]
\end{english}

\end{document}

enter image description here

相关内容