参考书目中缺少标题

参考书目中缺少标题

我正在使用 biber,并用 xelatex 进行编译。

我对一些参考文献 (@inproceedings) 有疑问:它们出现在参考书目中,但没有标题。这是我的标题。

\documentclass[letterpaper, 10pt]{article}

\usepackage{fontspec}
\setmainfont{Times New Roman}
\usepackage[backend=biber, style=chem-biochem]{biblatex}
\addbibresource{d:/bib/my_bib.bib}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{eurosym}
\usepackage{array}
\usepackage[pagewise]{lineno}

以下是错误引用之一

@inproceedings{beziat_launay_typo_Metrans_2015,
title = {A Comprehensive View of Goods Transport Systems. Typology and Analysis of Delivery Tours in the Paris Region},
author = {Beziat, Adrien and Launay, Pierre and Toilier, Florence},
booktitle = {6th Metrans International Urban Freight Conference},
address = {Long Beach, CA, USA},
year = {2015}
}

以下是我得到的结果: 截屏

如果你有建议,我将不胜感激!提前致谢

答案1

这似乎是设计使然。inproceedings驱动程序不会以该chem-biochem样式打印标题。

它提供了articletitle(默认为 true) 和chaptertitle(默认为 false) 的切换,但没有提供inproceedingstitle。很高兴我们可以修补一些东西来让它工作。

\documentclass{article}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@inproceedings{beziat_launay_typo_Metrans_2015,
  title = {A Comprehensive View of Goods Transport Systems. Typology and Analysis of Delivery Tours in the Paris Region},
  author = {Beziat, Adrien and Launay, Pierre and Toilier, Florence},
  booktitle = {6th Metrans International Urban Freight Conference},
  address = {Long Beach, CA, USA},
  year = {2015}
}
\end{filecontents}
\usepackage[style=chem-biochem]{biblatex}
\addbibresource{\jobname.bib}
% create a new toggle to control printing of titles in inproceedings entry
% type (this is optional, you could just make it always print; but fits the
% default behaviour of the style better)
\newtoggle{bbx:inproceedingstitle}
\DeclareBibliographyOption{inproceedingstitle}[true]{%
  \settoggle{bbx:inproceedingstitle}{#1}%
}
% pathch inproceedings driver to print title if the inproceedingstitle toggle
% is true
\usepackage{xpatch}
\xpatchbibdriver{inproceedings}
  {\usebibmacro{byauthor}}
  {\usebibmacro{byauthor}%
   \newunit
   \iftoggle{bbx:inproceedingstitle}
     {\usebibmacro{title}}
     {}}
  {}
  {}
% set the inproceedingstitle toggle to true
\ExecuteBibliographyOptions{inproceedingstitle=true}
\begin{document}
\nocite{*}
\printbibliography
\end{document}

在此处输入图片描述

相关内容