\documentclass[ebook,12pt,oneside,openany]{memoir}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{xurl}
\usepackage[hyperindex=true]{hyperref}
\hypersetup{
colorlinks = true, %Colours links instead of ugly boxes
urlcolor = blue, %Colour for external hyperlinks
linkcolor = blue, %Colour of internal links
citecolor = red %Colour of citations
}
\title{Test}
\author{Author}
\date{}
\begin{document}
\maketitle
\frontmatter
\tableofcontents \newpage
\mainmatter
\pagenumbering{arabic}
\chapter{New Chapter}
I am citing a book \footnote{sample footnote}.
\backmatter
\end{document}
I get following error message.
! LaTeX Error: No counter 'Hfootnote' defined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
My .mk4
file is as follows:
Make:htlatex {}
Make:htlatex {}
biblatex
or can you reproduce the same error withoutbiblatex
? (If the latter is the case, please simplify your MWE further.)biblatex
I recommend you remove the code for the bibliography (and thebiblatex
tag) to streamline the question and provide only the code necessary to reproduce the issue and nothing more.