This question is a narrowing of one of the questions I asked in this question. html4.4t contains this statement:

   {\ifOption{refcaption}{}{\csname par\endcsname\ShowPar \leavevmode}}
   {\:xhtml{\IgnorePar\EndP}\HCode{<hr class="float"\xml:empty><div
   {\ifvmode \IgnorePar \fi\EndP
        class="endfloat" />}\csname par\endcsname\ShowPar}

I tried copying this code into my .cfg file, removing the hr tags. This created an error "Missing $ inserted" right before the \begin{center} when I run tex4t. I then just pasted this verbatim into my .cfg file, but still get the error.

Here's all it takes to see this problem:

\chapter{Simple Example}
entry4&entry5&entry6\\ \hline
\caption{a caption}

How do I override this Configure statement to remove the hr tag?


The question is answered here.

The key point is that colon has the wrong catcode to allow :xhtml to be recognized as a command. See the referenced solution for the details and exact code to make it work.

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.