我有以下biblatex
数据库。book
发布者和位置无法打印在 PDF 中。而且直接utf8
字符(如 Δ)也无法打印在 PDF 中。如何解决这个问题?
\documentclass[british]{article}
\usepackage{babel,hyperref,fontspec}
\usepackage{csquotes,microtype}%International Handling of Quotes
\usepackage[natbib=true,bibencoding=utf8,style=numeric,sorting=none,maxbibnames=4]{biblatex}
\DeclareFieldFormat{volume}{{#1}}% Remove vol text
\begin{filecontents}{\jobname.bib}
@article{ipab730bbib1,
author ={James Gates S Jr and Jellal A and Hassan Saidi E L and Schreiber M},
year={2004},
title ={The expansion of arbitrary functions in terms of eigenfunctions of the operator\textit{−} Δ\textit{u} + \textit{cu}},
journaltitle ={J. High Energy Phys.},
note={JHEP11(2004)075},
}
@book{ipab730bbib2,
author ={Borcea L and Druskin V and Guevara Vasquez F and Mamonov A},
year ={2011},
location={Cambridge},
publisher={Cambridge University Press},
chapter ={Resistor network approaches to electrical impedance tomography},
title={Inverse Problems and Applications: Inside Out II},
volume={vol 60},
pages={55−118},
}
\end{filecontents}
\hypersetup{
colorlinks = true,
pdfencoding=auto
}
\setmainfont{TimesLTStd}
\addbibresource{\jobname.bib}
\begin{document}
\printbibliography
\nocite{*}
\end{document}
我已经在命令/终端中使用了latexmk -lualatex -f filename.tex
。
答案1
我的机器上没有TimesLTStd
,但如果我将字体更改为
\setmainfont{TimesNewRoman}
这是我使用biblatex
v3.16 和 Biber 2.16得到的结果
请注意,条目 [1] 中有一个大写的 Delta,并且publisher
[ location
2] 中有一个数据。
是否出现 Delta 取决于您的字体。只有您的字体确实包含 Delta 时才会出现。如果没有,它可能不会出现,只会引起警告。
请注意,在这种情况下,我认为对\textit{−} Δ\textit{u} + \textit{cu}
应该采用数学模式的内容进行编码是一种糟糕的方法。标题ipab730bbib1
应该是
title = {The expansion of arbitrary functions in terms of
eigenfunctions of the operator~{\(-\Delta u +cu\)}},
我还想根据你的输入修改一些其他细节。以下是我会做的
\documentclass[british]{article}
\usepackage{fontspec}
\usepackage{babel}
\usepackage{microtype}
\usepackage{csquotes}
\usepackage[style=numeric, sorting=none, maxbibnames=4]{biblatex}
\usepackage{hyperref}
\DeclareFieldFormat{volume}{#1}
\hypersetup{
colorlinks = true,
pdfencoding=auto
}
\setmainfont{TimesNewRoman}
\begin{filecontents}{\jobname.bib}
@article{ipab730bbib1,
author = {Gates, Jr., James S. and Jellal, A. and Hassan Saidi, E. L.
and Schreiber, M.},
year = {2004},
title = {The expansion of arbitrary functions in terms of
eigenfunctions of the operator~{\(-\Delta u +cu\)}},
journal = {J. High Energy Phys.},
volume = {2004},
number = {11},
eid = {75},
}
@incollection{ipab730bbib2,
author = {Liliana Borcea and Vladimir Druskin
and Guevara Vasquez, Fernando and Alexander V. Mamonov},
title = {Resistor Network Approaches to Electrical Impedance Tomography},
booktitle = {Inverse Problems and Applications: Inside Out~{II}},
editor = {Gunther Uhlmann},
year = {2011},
location = {Cambridge},
publisher = {Cambridge University Press},
series = {MSRI Publications},
number = {60},
pages = {55-118},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\printbibliography
\nocite{*}
\end{document}