# [links-list] Re: Rendering of SGML and super/subscripts

Josef 'Jupp' Schugt jupp at gmx.de
Thu Aug 8 10:13:59 PDT 2002

* On 2002-08-08 00:28
* Steve White <swhite at zipcon.net> wrote:
> 2) sub and sup are ignored.
>
> This is quite bad. Often, the meaning of the text is lost.

Indeed. If 10¹² becomes 1012 that ain't funny :-(

> There is more than one alternative. Lynx does a good job, by
> putting subscripts in square brackets,

Confirm this

> and prefixing superscripts with a carat.

Incorrect statement, caret is only used if superscripts are numbers.
I'm running "Lynx Version 2.8.4rel.1"

> Another option would be to put two blank lines over any line of
> text that contains a superscript, and draw the superscript in the
> second blank line, while leaving horizontal space in the line of
> text. This would take more work, but it would be prettier.

Oh no, please not. That slows down rendering and looks awful (did you
ever take a look at old Diploma and Ph.D. theses that were written
using a mechanical typewriter?) Here comes a tiny bit of special
relativity (in German, I don't want to search for English
translations of the original terms):

\mu
Sei a    ein Vierervektor. In Abhängigkeit von

\mu         \mu           \nu
a    a    = a     g       a    unterscheiden wir drei Arten von
\mu          \mu\nu

\mu                                  \mu
Vierervektoren. Ist a    a    positiv, so bezeichnen wir a    als
\mu

\mu
einen zeitartigen Vierervektor. Ist a    a    negativ, so bezeichnen
\mu

\mu                                            \mu
wir a    als einen raumartigen Vierervektor. Nimmt a    a    den Wert
\mu

\mu
Null an, so nennen wir a    einen lichtartigen Vektor.

As we all can see, there is an intrinsic problem to display such
formulae in text mode. BTW: Problems get worse if we are dealing with
texts by Lev Landau (which additionally require cyrillic letters).

Josef 'Jupp' Schugt
--
Unsubscribe: send email to links-list-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message