[tex4ht] [bug #441] tex4ht+fontspec+textbf produces incorrectly nested html
Michal Hoftich
michal.h21 at gmail.com
Wed Oct 16 19:48:08 CEST 2019
Follow-up Comment #1, bug #441 (project tex4ht):
Hi Alex,
you are right, there is tag mismatch. Try the following .cfg file:
\Preamble{xhtml}
\Configure{textit}{\HCode{<i>}\NoFonts}{\EndNoFonts\Tg</i>}
\Configure{textbf}{\HCode{<strong>}\NoFonts}{\EndNoFonts\Tg</strong>}
\Configure{textsc}{\HCode{<span
class="small-caps">}\NoFonts}{\EndNoFonts\Tg</span>}
\begin{document}
\EndPreamble
I've added the fix to tex4ht sources.
Best,
Michal
_______________________________________________________
Reply to this item at:
<http://puszcza.gnu.org.ua/bugs/?441>
_______________________________________________
Message sent via/by Puszcza
http://puszcza.gnu.org.ua/
More information about the tex4ht
mailing list