Finely Typeset Print
Consistent, Valid HTML
No Need for Intervention Beyond Source
The Possibility of Other Translations
Almost Impossible
Good Structure a Help
May Require Human Intervention
Need to Proof Read Twice
Reliable
But:
No Math in HTML
HTML Generally Less Rich Than LaTeX
Nuisances: # $ % & ~ _ ^ \ { } < >
Data Under a Template for Translation
Originated by
Universal Exchange
Many Templates
Synonym for XML Template:
Two worlds
Classical Documents:
Examples: HTML, Docbook, TEI, …
Electronic Data Interchange (EDI)
Example: Graham William's TeX Catalogue found on CTAN
help/Catalogue/catalogue.html
Generalized Extensible LaTeX-Like MarkUp |
A markup interface for writing (SGML or) XML.
LaTeX-like notation more succinct than that of XML.
Extensible using GELLMU's \newcommand with arguments. (SGML has no analogue of macros with arguments.)
Other metacommand facilities including:
(1) \documenttype (2) \macro
|
source markup XML or SGML |
|
Command names (element names) may contain numbers.
Example: \frac23 is a command name.
Arguments must be delimited with braces or brackets.
No white space between command name and first argument delimiter.
No white space between delimiters of successive arguments.
Bracketed arguments may not be optional.
Miscellaneous Rules |
Escaping in Basic Mode |
Special character | % | \ | { | } | # |
Escaped form | \% | \\ | \{ | \} | \# |
Anchors |
Write:
for generating the XML:
to produce:
the WWW Consortium site |
Multiple Argument/Option Syntax
Example instance: \frac{2}{3} for if
the name frac is provided as an element with two
required sub-elements in the document type.
Various Short Reference Features
Example: The use of blank lines, as appropriate in context,
for new paragraphs if provided.
Concept of advanced GELLMU is not fully developed.
Main Instance: Regular GELLMU, represented by GELLMU's own didactic article document type.
Intended as a first XML document type for LaTeX authors
Sits in the middle between
What LaTeX authors are accustomed to.
What high end XML people think is needed.
Room to adjust and expand.
|
(not by automatic translation) |
Viewing support for MathML in web pages is not yet widely available. The above item can be rendered by:
W3C's Amaya: wprod.html or wprod.xml.
With special plugin for MSIE: wprod.html (only).
Ad hoc wprod.html was made from GELLMU source:
wprod.glm.
The short article form (slide 21) of GELLMU source above could be given automatic translation to MathML.
An automatic translation should go through content MathML and from there to presentation MathML.
An automatic translation would not be under the umbrella of general XML processing.
Reliable translation will require:
Source markup labeling of math symbols.
Source markup typing of math symbols.
There were two sets of slides and, correspondingly, two formatters, one for transparencies formatted by the regular program latex and the other for PP4/PDF web slides formatted by the program pdflatex using a number of packages including ppower4 by Klaus Guntermann of Darmstadt University of Technology. Actually I used a small modification of “pp4slide.sty” named gpp4slide.sty to make things work with the standard slides document class. Both of these work with GELLMU article, and there are slightly different definitions of slide with newcommand in the two.