Subject: Re: Dvi->HTML
I attach the list of specials in TeX4ht. As you probably noticed, the
\special{t4ht=...} is the most prominnet one. The other specials are
rarely needed; I strongly propose you postpone using them until latter
stages of your work. I normally refer to such instructions indirectly
through low-level \HCode instructions, and high-level
\Configue... instructions. The web pages
http://www.cse.ohio-state.edu/~gurari/tug97/
illustrate such usages.
> My problem is -- glacing through the documentation --
Very little documentation is out, in particular for people that want
to change the system. Please don’t hasitate to ask for help when you
need it.
> I tried to find a way to use \special{t4ht=...} direct.
> Unfortunally do I fail, due to the missing comments in the *.sty and
> *.c files. Moreover the use of several macros makes the .c quite
> illegible :-(
Agree. I can’t read these files either. They are outputs of
literate programs.
> Could you tell me which commands the .c program needs?
> It wouldd be sufficent if you would give the neccessary commands allown
> (a simple \special{t4ht=<HTML><HEAD></HEAD><BODY>...} does not work.)
Try the following.
1. Prepare a file x.tex having the following content.
\special{t4ht=<HTML><HEAD></HEAD><BODY>}
Just trying.
\special{t4ht=</BODY></HTML>}
\bye
2. Compile the file with tex (‘tex x.tex’).
3. Compile the outcome with tex4ht (‘tex4ht x’).
4. Visit the file x.html