On Thu, 30 Sep 1999, Caolan McNamara wrote:
> Basically when converting automatically a wordprocessor format to
> html we cannot practically convert usages of tabstops to
> tables or paragraph indent values. It is just not viable, so it
> would be wonderful if html had a concept of placing components
> at fixed horizonal positions.
Seems to me that WP text using tabs is not placing text absolutely since
it is dependent on font spacing. I cannot see how you can replicate this
without knowing the original character spacing. A table seemed a
reasonable choice to allow columns but you've rejected this. My next
choice would be <TT></TT> with a fixed font and tabs padded to
spaces.
No method will be perfect though because generic tab stops are
inherently ugly since they are font and pitch dependant. As a rule,
niether multiple spaces nor generic tabs should be used with
variable pitch fonts!
This isn't a short-coming in HTML, its a deficiency in WP programs
that allow it to happen; all the proper text layout systems like
TeX, HTML, DTP and probably SGML only allow tabs in <TT>-like
constructs for this reason. Then again, how many WP programs do you
know that pretend to be document layout systems? Another source of
this problem is man pages which include multiple spaces as well; try
ghostscript.1 in TkMan for an example.
yes, this is a pet hate....
Andy Ferguson
~~~~~~~~~~~~~
Sysop MOIL BBS +44-1247-273357
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!