A document using abnt
style for biblatex
and also including hyperref
packages leads to an error when compiling make4ht
. The following error appears:
[ERROR] htlatex: Compilation errors in the htlatex run
[ERROR] htlatex: Filename Line Message
[ERROR] htlatex: ./article.tex 21 Argument of \@secondoftwo has an extra }.
[ERROR] htlatex: ./article.tex 21 Paragraph ended before \@secondoftwo was complete.
[ERROR] htlatex: ./article.tex 21 Missing number, treated as zero.
[ERROR] htlatex: ./article.tex 21 Missing = inserted for \ifnum.
[ERROR] htlatex: ./article.tex 21 Missing number, treated as zero.
In the .log
file lies the following message:
! Argument of \@secondoftwo has an extra }.
<inserted text>
\par
l.21 Test \cite{knuth1986}.
I've run across a `}' that doesn't seem to match anything.
For example, `\def\a#1{...}' and `\a}' would produce
The .tex
example to reproduce this error is:
\documentclass{article}
\begin{filecontents*}[overwrite]{article.bib}
@book{knuth1986,
address = {Reading, Mass},
series = {Computers \& typesetting},
title = {The {TeXbook}},
isbn = {9780201134476 9780201134483},
number = {A},
publisher = {Addison-Wesley},
author = {Knuth, Donald Ervin and Knuth, Donald Ervin},
year = {1986},
keywords = {TeX (Computer file), Computerized typesetting, Mathematics printing, Computer programs},
}
\end{filecontents*}
\usepackage[backend=biber,style=abnt]{biblatex}
\addbibresource{article.bib}
\usepackage{hyperref}
\begin{document}
Test \cite{knuth1986}.
%\href{https://tex.stackexchange.com/}{TeX StackExchange}
\printbibliography
\end{document}
Removing the option style=abnt
, it compiles without errors.
Versions used:
biblatex version: 2020/12/31 3.16
hyperref version: 2020-05-15 v7.00
make4ht version: v0.3f