\begin{array} is the "native" LaTeX book invocation of an "array" environment; if somebody has added a "pmatrix" environment, I personally would avoid using it in anything I wrote unless it is in the current LaTeX2e (or beyond) standard.
It is a combinatorial impossibility for you, me, or anyone else to support every major package out there. Base level Latex is going to be hard enough. It is impossible to guess the preference of every individual and supply parameters and switches to have Axiom/FriCAS/OpenAxiom anticipate the wishlists of the world. PanAxiom is deaf, dumb, blind, and stupid; there is no way code a TeX/LaTeX/package-list crystal ball into it. The only reason that I would ever use ")set output tex/latex on" would be to cut-and-paste into a document which in turn would be edited to suit; there is no way to guess what will be done to the generated output at that point. All of which means that package assumptions should not be made at this time, repeat: at this time. Get basic stuff correct first. The same goes for private ".sty" files Cheers, Gene On 6/27/2014 9:33 AM, Ralf Hemmecke wrote: > On 06/27/2014 02:39 PM, Eugene Surowitz wrote: >> LaTeX is what is being generated when ")set output tex on" is issued. >> This is a bug. The appropriate command should be ")set output latex on". > > Thanks Eugene. > > Yes, you are right. That is, what is written in section 4.5 of the AXIOM > book. http://fricas.github.io/book.pdf > > So what is your opinion about \begin{pmatrix} vs. \begin{array}? > > It seems to boil down to the question whether one can assume > \usepackage{amsmath} > or not. > > Maybe we should generate totally different LaTeX commands and provide > some .sty file that can be adapted by the user if needed. What about > this idea? In fact all that can be local, because > \begin{LaTeXMath} could switch the definitions on and \end{LaTeXMath} > could switch them off. > > I'd like to hear opinions from everyone who is interested. > > Ralf > ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ open-axiom-devel mailing list open-axiom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open-axiom-devel