# [tex4ht] \usepackage{niceverb} conflicts with tex4ht

Nasser M. Abbasi nma at 12000.org
Mon Jan 15 22:12:33 CET 2018

On 1/15/2018 2:42 PM, Michal Hoftich wrote:
> Hi Nasser,
>
>
>> I found another strange problem that only shows in
>> tex4ht.
>>
>
> I cannot reproduce your issue,

Ok, thanks for trying. I do not know why you can't
reproduce it. There must be some differences in some
files in installation we are using.

This made think of some idea: It will be nice if we
can have place on the internet, which has the current
"official" unmodified texlive installation running, where
one can go to web page, and paste a file and compile it
there.

This eliminates any issue where one could have
possibly changed a local installation file on their
system and forgot about it.  For example, I just changed
lm-ts1.htf. I remember changing some other files to
fix known problems such as fix algorithm2e.sty so
that lualatex can use and many another.

It is also eliminates possibility of some one installing
some package manually and not part of texlive.

So this official installation web site can be used
to test a file on it to make sure one can reproduce
the error on it.

>but I think that the cause may be that
> niceverb package makes some characters active. The apostrophe might be
> among them. This happens at the beginning of the document, after the
> preamble has been processed. The code which is in the config file placed
> after \begin{document} is executed after these activations took place,
> so it is not surprising that it breaks.
>
> Anyway, I don't really think we can fix that, you need to adapt your config
> file.
>
> Best regards,
> Michal
>

I am not going to use this package any way now. niceverb
package is not even part of miktex. I was just
trying the solution posted, but it causes more
problems than it is worth it.

Best,
--Nasser