NAME

tex.cam - a CAMILA abstract syntax for a LaTeX subset


SYNOPSYS

 texDef(m:STR,l:TeX):TeXCmd
 texNDef(n:INT,m:STR,l:TeX):TeXCmd
 texGdef(m:STR,l:TeX):TeXCmd
 texLdef(m:STR,l:TeX):TeXCmd
 texCons(c:STR):TeXCmd
 texDefMap(ff:STR->STR):TeX
 texTeX2txt(l:TeX): txt
 texTeXTabRow2txt(x:TeXTabRow): txt
 texTeXArg2txt(x:TeXArg): txt
 texTeXCmd2txt(c:TeXCmd): txt


DESCRIPTION

This library provides for LaTeX outputs, which can be written to

files via txt.cam.

Only a (very!) tiny subset of LaTeX is considered.

Last Update: 1999.11.11

The informal semantics of the operators are as follows:

texDef(m:STR,l:TeX):TeXCmd
texDef(m,l) emulates the TeX def command.

texNDef(n:INT,m:STR,l:TeX):TeXCmd
texDef(n,m,l) emulates the TeX def command with n-parameters

texGdef(m:STR,l:TeX):TeXCmd
texGdef(m,l) emulates the TeX global def command.

texLdef(m:STR,l:TeX):TeXCmd
texLdef(m,l) emulates the TeX long def command.

texCons(c:STR):TeXCmd
texCons(c) generates TeX constant macro c.

texDefMap(ff:STR->STR):TeX
texDefMap(ff) scales texDef up to collection of macro definitions.

texTeX2txt(l:TeX): txt
texTeX2txt(l:TeX) converts TeX object l into txt-embedded concrete syntax.

texTeXTabRow2txt(x:TeXTabRow): txt
texTeXTabRow2txt(x) converts TeXTabRow object x into txt-embedded concrete syntax.

texTeXArg2txt(x:TeXArg): txt
texTeXArg2txt(x) converts TeXArg object x into txt embedded concrete syntax.

texTeXCmd2txt(c:TeXCmd): txt
texTeXCmd2txt(c) converts TeXCmd object c into txt embedded concrete syntax.


SEE ALSO

Manual(s) of txt.cam seq.cam.


AUTHOR

J.N. Oliveira (jno@di.uminho.pt)