>
> In preparation of my book patch, I would like to let TexFormat output
> LaTeX code.
>
> My patch is at https://github.com/hemmecke/fricas/commits/tex-latex .
>
> Perhaps the most important changes are
>
> Instead of := you will get \coloneqq. ---> \usepackage{mathtools}
>
> Matrices are done via \begin{pmatrix} ... \end{pmatrix} ---> amsmath
>
> The math is encapsulated into \begin{LaTeXMath} .. \end{LaTeXMath}
> instead of $$ ... $$. Since there are nowadays several packages that can
> be uses like amsmath, mathtool or even breqn (\begin{dmath}), a user
> should define
>
> \newenvironment{LaTeXMath}{\begin{gather}}{\end{gather}}
>
> or whatever he/she likes.
>
> Can I commit?
I have impression that you make several changes which go beyond
generating LaTeX. In particular, AFAICS 'array' works fine
LaTeX and I do not see why you replace it by 'pmatrix'.
Also, have you checked that 'ungroup' handles each case correctly?
In partucluar, are you sure that no construct will generate empty
group (AFAICS 'ungroup' would colapse empty group to nothing which
changes semantics).
--
Waldek Hebisch
[email protected]
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.