[tex4ht] [bug #242] Spurious semicolon produced by \textregistered command
michal.h21 at gmail.com
Fri Jan 23 09:33:53 CET 2015
2015-01-23 1:42 GMT+01:00 Karl Berry <karl at freefriends.org>:
> Cool, though it seems to me something simpler should be possible -- to
> write a declaration for luatex at the beginning of the file that "this
> file is in encoding xxx". (Of course that won't help when it contains
> both Latin1 and Latin2, but that's a different issue.)
maybe there could be something like
% !4ht encoding = latin1
as first line of such files. if we had to read just first line of each
file from Lua callback, it shouldn't be big overhead.
we can check for LuaTeX and install callback in tex4ht.sty, which will
ensure that each .4ht file is processed.
> > Another idea is to move that chunk of input to a separate file, which
> > only gets read when that option is in effect.
> that might be perhaps the best solution?
> Anything that works is fine with me, of course. I thought ^^ would be
> the least invasive thing to try.
I've tried to replace some characters with ^^ notation, but the
conversion haven't worked.
More information about the tex4ht