I'm using newtxtext and biblatex with biber backend for my project. But I note that in the bibiliography some accents (like Erd\H{o}s) are missing. Here is a minimal example with screenshots. (Use XeLaTeX and TeXLive 2020 or 2021)
\documentclass{article}
\usepackage{newtxtext}
\usepackage[backend=biber, style=alphabetic, defernumbers=true, hyperref=auto, backref=true, giveninits=true]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{erdos1983greatest,
title={The greatest angle among $n$ points in the $d$-dimensional Euclidean space},
author={Erd\H{o}s, P. and F{"u}redi, Z.},
journal={Annals of Discrete Mathematics},
volume={17},
pages={275--283},
year={1983},
publisher={Citeseer}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
Paul Erd\H{o}s published the paper \cite{erdos1983greatest}.
\printbibliography
\end{document}
Note that the accent in the main body is correctly displayed.
I'm almost sure that it's newtxtext's problem because once I bump its version from 1.64 to 1.70/71 (the newest version), the problem disappears. However, due to some other compatibility issues I don't want to do that (the new version breaks my other font setups and I also have some pst-xxx pacakges in usage which does not work in TeXLive 2021). Is there any work-around for this?


newtxtext.sty 2022/01/11 v1.705for me. (I checked with both pdfLaTeX and XeLaTeX, even though I'm not sure if one should usenewtxtextwith XeLaTeX [many older font packages load fonts in a way that is not best for Unicode engines, not sure aboutnextxtextin particular].) – moewe Mar 17 '22 at 16:27fontspec. I note that the 1.70+ version seems to usefontspecmacros differently from before) badly. – Jeffrey Wang Mar 17 '22 at 16:28.texdocuments with all current LaTeX engines, addingfontspecbased macros as replacements for macros and options formerly defined for non-unicode latex processing as needed for unicode latex processing." which suggests that previously the package did not officially support Unicode engines. If you don't want to upgrade your whole TeX distribution maybe you can look into updating onlynewtx? – moewe Mar 17 '22 at 16:32newtx. It still breaks my code. Is there a way to updatenewtxwhile staying at TeXLive 2020? I remembertlmgrprevents me to do this. – Jeffrey Wang Mar 17 '22 at 16:36tlmgr. You'd have to install the package manually (e.g. https://tex.stackexchange.com/q/73016/35864), which might be a bit painful especially for font packages. – moewe Mar 17 '22 at 16:38newtx. Thanks all you guys! – Jeffrey Wang Mar 17 '22 at 16:45