[tex4ht] [bug #512] \href undefined after hyperref included in class file; Unicode nbsp
Michal Hoftich
puszcza-hackers at gnu.org.ua
Mon May 31 12:31:27 CEST 2021
Follow-up Comment #1, bug #512 (project tex4ht):
Hi Karl, this is because you don't load hyperref in ltnews.cls with TeX4ht. In
particular, the branch \ifcase\pdfoutput\else is not executed. It works if I
put \Require{hyperref} before \else.
Regarding non-breaking space, you can try the following configuration that
replaces it with <span> element that contains regular space, but it acts as a
non-breaking space thanks to CSS:
\Preamble{xhtml}
\begin{document}
\Configure{ }{\HCode{<span class="nbsp"> </span>}}
\Css{span.nbsp{white-space:pre;}}
\EndPreamble
_______________________________________________________
Reply to this item at:
<http://puszcza.gnu.org.ua/bugs/?512>
_______________________________________________
Message sent via/by Puszcza
http://puszcza.gnu.org.ua/
More information about the tex4ht
mailing list.