Prof. Dr. Johannes Grabmeier wrote
> 
> I would like to see some cleaning/clarification what is going on here - after
> this question to latex was raised.  What is the relation (if at all) between
> the function latex vom SetCategory and the system function output tex on?
>
> To my opinion there should be a relation, or even better, can we not put all
> code into the algebra to have hands on it? Or is there reason to have it
> somewhere else?
> 
> At least I want to have a "latex on", e.g. \[\frac{3}{4}\] and not
> $$
> 3 \over 4
> \leqno(1)
> $$
>
 
ATM there is no relation between latex$SetCategory and 'output tex on'.
The source contain comment:

++   09/09/92   RSS   added latex and hash

so its seems that original developers want to replace the current
TeX output with new one.

OTOH almost all code relevant to TeX output already is in the algebra.
Try:

q2 := (x+y)/(x+1)
of2 := q2::OutputForm
of2::TexFormat()
tex(of2::TexFormat())

The last command gives a list of strings, the low level output routives
will print each string on separate line.  So one could implement
'latex$SetCategory' in terms of 'tex$TexFormat()'.

Concerning plain TeX versus LaTeX: I think ability to output plain
TeX is valuable and I woul like to keep it.  Given that now LaTeX
is more important we should be able to output idiomatic LaTeX too.
So we should have switches in TexFormat to choose between TeX
and LaTeX.

-- 
                              Waldek Hebisch
[email protected] 

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/fricas-devel?hl=en.

Reply via email to