The below file compile fine with pdflatex
and showing error in make4ht
. How to rectify this?
\documentclass{book}
\usepackage{lipsum,hyperref}
\begin{document}
\chapter{Chapter Title}
\section{Introduction}\label{sec:1}
Nominal data are usually used with count and frequencies, such as to find out the total number of left-handed participants in a study. Figure~\hyperref[fig-001]{1.1} illustrates an excerpt from a questionnaire that collected nominal data.
\subsection{Background}\label{subsec:1-1}
\lipsum[3]
\begin{figure*}
\caption{Excerpt 95\% from a questionnaire used in an actual user study of Section~\ref{sec:1} and Subsection~\ref{subsec:1-1} to collect nominal \index{demographics} data [\protect\hyperlink{ch2-ref48}{Shang et\,\,al. 2020}].\label{fig-001}}
\end{figure*}
With this approach, the lowest, the middle, and the highest points of the actual scale are anchored to the lowest, the middle, and the highest points of the target scale, respectively, then the intervening scale points are inserted at equal numerical intervals.
The European Union-wide framework known as the General Data Protection Regulation \footnote{{\href{https://ec.europa.eu/commission/priorities/justice-and-fundamental-rights/data-protection/2018-reform-eu-data-protection-rules_en}{https://ec.europa.eu/commission/priorities/justice-and-fundamental-rights/data-protection/2018-reform-eu-data-protection-rules{\_}en}.}} EU approach data privacy.
\end{document}
UPDATE1:
UPDATE2:
Figure 1.1
questionnaire should be Figure <a href='#fig1.1'>1.1</a>
questionnaire. It means caption
cross-links
are missing.
make4ht
? If you can, please paste the error as text in a code block and not an an image.[ERROR] htlatex: ./test1.tex 862 File ended while scanning use of \newlabel.
LaTeX2 Compile Error is:[ERROR] htlatex: ./test1.tex 862 File ended while scanning use of \n:wlbl. [ERROR] htlatex: ./test1.tex 3 File ended while scanning use of \:testdef.
figure caption
in the\listoffigures
also. How to avoid this error usingduplicate
. could you please provide the command?aux
file. But when usingmake4ht
without-m draft
option it's running 3 times and showing error. But the output HTML is havingcross link
is working fine.