This is a followup of this question.
sample.tex:
\documentclass[ebook,12pt,oneside,openany]{memoir}
\begin{filecontents}{test.bib}
@book{Hiemenz,
author={Hiemenz},
title={Polymer Chemistry}
}
\end{filecontents}
\usepackage{biblatex}
\bibliography{test}
\title{Book}
\author{Author}
\date{}
\begin{document}
\maketitle
\tableofcontents \newpage
\chapter{C1}
Here comes a quotation \cite{Hiemenz}.
\printbibliography
\end{document}
mybuild.mk4:
Make:add("biber","biber ${input}")
Make:htlatex {}
Make:biber {}
Make:htlatex {}
Make:htlatex {}
Make:htlatex {}
command:
tex4ebook -e mybuild.mk4 sample.tex
This gives two entries for the bibliography in the table of contents (see picture).
It used to work in previous versions like Texlive 2019.
How can this be fixed thanks.
Update:
Using the config file suggested by @michal.h21 still has a problem with the contents since the bibliography doesn't show on the contents :
Running on texlive 2019 (without the config file) is fine:
Update 2:
Here is what I get with the new build file.
The bibliography is gone. Also a minor error - 1 C1 is shown as 1C1 in TOC.
Also for my information, does the fix have to be in the build file and not the tex4ebook source. I think it would be easier for the user if he doesn't have to add things to the build file.
Thanks again.
\bibliography
use\addbibresource