There is a known issue with tex4ht, where it fails due to missing file nameref.4ht.
https://tex.stackexchange.com/questions/345689/paragraph-ended-before-tempc-was-complete-tex4ht-error Strange thing, it is missing in TL. I just did fresh install-tl on new cygwin system (under windows) and found this one file is missing, but should it have been in TL source tree? Since the above post is from 2016. Error I got is (/usr/local/texlive/2017/texmf-dist/tex/generic/tex4ht/html4.4ht) (/usr/local/texlive/2017/texmf-dist/tex/generic/tex4ht/html4-math.4ht)) (/usr/local/texlive/2017/texmf-dist/tex/generic/tex4ht/hyperref.4ht (/usr/local/texlive/2017/texmf-dist/tex/latex/hyperref/nameref.sty (/usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/gettitlestring.sty)) ! I can't find file `nameref.4ht'. <argument> ...meref}\let \label \sv:label \input nameref.4ht l.29 } So I put a copy I had of nameref.4ht in this folder (cygwin) /usr/local/texlive/2017/texmf-dist/tex/generic/tex4ht/ to make tex4ht happy. And now it compiled OK. Is it possible to check that this file should be there? I do not know how to search sources in tug database. Thanks --Nasser
