| Download | State | Description |
|---|---|---|
| html4tex.tex |
|
general input file for plainTeX and LaTeX (fundamental but unstable). |
| htmlgraf.tex |
|
paragraph processor (fundamental but unstable). |
| htmlinux.tex |
|
system dependent commands, checked on a linux based system (only) (optional but rather stable). |
| TeXscape |
|
poor TeXnician's html browser. It is still limited to local
files and I still love it. The Gnu wget command
is experimented... Put it in some bin directory and type
texscape -h for help...
|
xdvi -allowshell foo.dvi »
or
« dvips foo.dvi -o; gv foo.ps ».
Shell's scripts embedded in the dvi output will then be processed.
Be aware of the risk of such processing! If one wants to check
the safeness of the output, one has to edit the dvi file and search
for the string
« psfile="`..." »
which anounces shell's scripts.
Netpbm package ».xanim » program as
external objects (displayed outside the xdvi window).<bgsound>
is fully supported (with loop) via the
« play »
and « mpeg123 »
command as internal event.wget » is experimented
for downloading distant material.
<foo
attribute="value">content</foo>
<td width=100 align="left">.
Here the value of width will be
"left" which will cause an error.
<tex>...</tex> which allows TeX
text within HTML documents (please ask W3C to do the same!).
The former tag is equivalent to
<script language="TeX">...</script>.
For now TeX' scripts are the only ones which are supported.
Well, the syntax of in-TeX html-text is now a little bit different.
One must surround the html text with opening and closing HTML tag:
\HTML<html>...</html>,
or \HTML<html>...</html>\endHTML,
or even \beginHTML<html>...</html>\endHTML.
<!ENTITY entity
"replacement text"> is experimented.
XML compliance is a very strange question because XML
rules for that element are not clear because they are
incompatible with SGML ones. What is done is the following:
the replacement text may contain anything (elements or entities)
but "'s are absolutely forbidden.
If one has to give attributes to embedded elements, one has
to do it this way:
<!ENTITY author "<div align="right">
<b>Anthony Phan &amp; Co</b><br>
D&eacute;partement de Math&eacute;matiques, SP2MI,<br>
Boulevard Marie et Pierre Curie, T&eacute;l&eacute;port 2,<br>
BP 30179, F-86962 Futuroscope-Chasseneuil cedex</div>">
&
and " are replaced by &
and " while processing the entity's definition...
<table>...</table>,
<font>...</font>,
<img>, paragraph processing... We've
rewritten the font selection scheme and the paragraf processor.
It's now much more powerfull and easier to change. However,
general font selection scheme has to be improved in order
to be more versatile.
%
% Just define some settings (page format)
%
\magnification=\magstep1
\voffset=0.12 true cm
\hoffset=0.31 true cm
\vsize=24.2 true cm
\hsize=15.3 true cm
\parindent=1.5em
%
% Optional. If \HTMLproofmode is setted,
% one gets an enormous list of messages
% (with errors report and debugging infos)
%
\let\HTMLproofmode=!
%
% Input files
%
\input html4tex
% \input htmlinux
%
% \noHTMLcolors (or) \HTMLcolors
%
% \noHTMLmultimedia (or) \HTMLmultimedia
%
% for htmlinux, I hope you know what you're doing...
%
% include a HTML file from the current directory,
% else write something like:
%
% \HTMLbase{/home/user/public_html/}
%
\includeHTML{main.html}
%
% One can write HTML directly
%
\HTML
<html>
(...HTML stuff...)
</html>
\bye
\par, \par\noindent,
\medbreak and so on, mean. With HTML,
typographical conventions are not well rendered. What is
the exact meaning of <br>? is it similar
to \par\noindent? and is
<p> similar to some break? I've chosen
the following rules:
plainTeX HTML
\par\noindent <---> <br>
\par\noindent <---> <div>
\par <---> no equivalent
\smallbreak\noindent <---> <p>
and common breaks
between vertical lists
<unsupported>
in html4tex.tex and also </unsupported>,
<unsupp@rted>, <inactive>,
</inactive>, <in@ctive>)
\special{html:<a name="foo">}foo\special{html:</a>}